diff --git a/content/actions/reference/limits.md b/content/actions/reference/limits.md index a06a730dcd57..cc6bcb2572c6 100644 --- a/content/actions/reference/limits.md +++ b/content/actions/reference/limits.md @@ -83,3 +83,9 @@ When using larger runners with vnet injection, you need to determine the appropr * **OAuth apps \-** {% data reusables.rest-api.primary-rate-limit-oauth-apps %} * **GITHUB TOKEN** \- {% data reusables.rest-api.primary-rate-limit-github-token-in-actions %} * **Secondary rate limits** \- In addition to primary rate limits, {% data variables.product.github %} enforces secondary rate limits in order to prevent abuse and keep the API available for all users, these are not configurable with GHEC. For more information, see [AUTOTITLE](/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#about-secondary-rate-limits). + +### Docker Hub's rate limit for {% data variables.product.prodname_actions %} + +* **{% data variables.product.github %}-hosted runners pulling public images:** Docker Hub's rate limit is not applied. +* **{% data variables.product.github %}-hosted runners pulling private images:** Pulling private images from Docker Hub is subject to the rate limit. +* **Self-hosted runners pulling public or private images:** Pulling images from Docker Hub is always subject to the rate limit. \ No newline at end of file diff --git a/content/code-security/secret-scanning/introduction/about-secret-scanning-for-partners.md b/content/code-security/secret-scanning/introduction/about-secret-scanning-for-partners.md index 132774ff2f1a..d69f24a76854 100644 --- a/content/code-security/secret-scanning/introduction/about-secret-scanning-for-partners.md +++ b/content/code-security/secret-scanning/introduction/about-secret-scanning-for-partners.md @@ -18,6 +18,10 @@ shortTitle: Secret scanning for partners > [!NOTE]You cannot change the configuration of {% data variables.product.prodname_secret_scanning %} for partner patterns on public repositories. +{% data variables.secret-scanning.partner_alerts_caps %} scans: + +{% data reusables.secret-scanning.what-is-scanned %} + The reason partner alerts are directly sent to the secret providers whenever a leak is detected for one of their secrets is that this enables the provider to take immediate action to protect you and protect their resources. The notification process for regular alerts is different. Regular alerts are displayed on the repository's **Security** tab on {% data variables.product.prodname_dotcom %} for you to resolve. {% data reusables.secret-scanning.secret-scanning-pattern-pair-matches %} diff --git a/content/code-security/secret-scanning/introduction/about-secret-scanning.md b/content/code-security/secret-scanning/introduction/about-secret-scanning.md index 5cf865533d2d..2bbc52e356d1 100644 --- a/content/code-security/secret-scanning/introduction/about-secret-scanning.md +++ b/content/code-security/secret-scanning/introduction/about-secret-scanning.md @@ -29,8 +29,14 @@ shortTitle: Secret scanning {% data variables.product.prodname_secret_scanning_caps %} scans your entire Git history on all branches present in your {% data variables.product.prodname_dotcom %} repository for secrets, even if the repository is archived. {% data variables.product.prodname_dotcom %} will also periodically run a full Git history scan for new secret types in existing content in {% ifversion fpt or ghec %}public repositories{% else %}repositories with {% data variables.product.prodname_GH_secret_protection %} enabled{% endif %} where {% data variables.product.prodname_secret_scanning %} is enabled when new supported secret types are added. +Additionally, {% data variables.product.prodname_secret_scanning %} scans: + {% data reusables.secret-scanning.what-is-scanned %} +{% ifversion fpt or ghec %} +This additional scanning is free for public repositories. +{% endif %} + {% ifversion ghas-products %}{% ifversion secret-risk-assessment %} > [!TIP] > Regardless of the enablement status of {% data variables.product.prodname_AS %} features, organizations on {% data variables.product.prodname_team %} and {% data variables.product.prodname_enterprise %} can run a free report to scan the code in the organization for leaked secrets. diff --git a/content/copilot/concepts/tools/ai-tools.md b/content/copilot/concepts/tools/ai-tools.md index bcd5f544dce1..5748e82c6bdd 100644 --- a/content/copilot/concepts/tools/ai-tools.md +++ b/content/copilot/concepts/tools/ai-tools.md @@ -37,7 +37,7 @@ The use of AI tools is increasingly becoming a standard part of a software devel * **Deployment**: * **{% data variables.copilot.copilot_chat_short %}** can help you configure continuous integration and continuous deployment (CI/CD) pipelines. * **Operation**: - * **{% data variables.copilot.copilot_coding_agent %}** ({% data variables.release-phases.public_preview %}) can raise pull requests for open issues. + * **{% data variables.copilot.copilot_coding_agent %}** can raise pull requests for open issues. * **{% data variables.copilot.copilot_chat_short %}** can help with tasks you're working on yourself. ## Planning @@ -125,7 +125,7 @@ The deployment phase involves preparing your code for production and ensuring a During the operation phase, the focus is on maintaining and monitoring your application in production to ensure it runs smoothly and meets user expectations. This phase often involves tasks like debugging production issues, optimizing performance, and ensuring system reliability. -You can use the **{% data variables.copilot.copilot_coding_agent %}** ({% data variables.release-phases.public_preview %}) as an autonomous agent that can help maintain and improve your application in production. Assign a {% data variables.product.github %} issue to {% data variables.product.prodname_copilot_short %}, and it will autonomously explore the repository, identify potential fixes, and create a pull request with the proposed changes. Then it will automatically request a review from you. +You can use the **{% data variables.copilot.copilot_coding_agent %}** as an autonomous agent that can help maintain and improve your application in production. Assign a {% data variables.product.github %} issue to {% data variables.product.prodname_copilot_short %}, and it will autonomously explore the repository, identify potential fixes, and create a pull request with the proposed changes. Then it will automatically request a review from you. For issues you're tackling yourself, use **{% data variables.copilot.copilot_chat_short %}** for help analyzing logs, debugging issues, and suggesting optimizations. For example: diff --git a/content/copilot/tutorials/roll-out-at-scale/enable-developers/integrate-ai-agents.md b/content/copilot/tutorials/roll-out-at-scale/enable-developers/integrate-ai-agents.md index b2fa2691be2a..a7963243e40f 100644 --- a/content/copilot/tutorials/roll-out-at-scale/enable-developers/integrate-ai-agents.md +++ b/content/copilot/tutorials/roll-out-at-scale/enable-developers/integrate-ai-agents.md @@ -158,7 +158,7 @@ To integrate agentic AI features effectively into your workstreams, you'll need | Custom instructions | [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot?tool=vscode) | | {% data variables.copilot.copilot_code-review_short %} | [AUTOTITLE](/copilot/how-tos/agents/copilot-code-review/automatic-code-review) | | {% data variables.copilot.copilot_custom_agents %} | [AUTOTITLE](/copilot/concepts/agents/coding-agent/about-custom-agents) | -| {% data variables.copilot.copilot_coding_agent %} ({% data variables.release-phases.public_preview %}) | [AUTOTITLE](/copilot/rolling-out-github-copilot-at-scale/enabling-developers/using-copilot-coding-agent-in-org) | +| {% data variables.copilot.copilot_coding_agent %} | [AUTOTITLE](/copilot/rolling-out-github-copilot-at-scale/enabling-developers/using-copilot-coding-agent-in-org) | | {% data variables.copilot.copilot_autofix_short %} | [AUTOTITLE](/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning) | {% endrowheaders %} diff --git a/content/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists.md b/content/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists.md index f0058cb90e65..e0db2628e907 100644 --- a/content/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists.md +++ b/content/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists.md @@ -22,6 +22,8 @@ Gists can be public or secret. Public gists show up in {% data variables.gists.d Secret gists don't show up in {% data variables.gists.discover_url %} and are not searchable unless you are logged in and are the author of the secret gist. Secret gists aren't private. If you send the URL of a secret gist to a friend, they'll be able to see it. However, if someone you don't know discovers the URL, they'll also be able to see your gist. If you need to keep your code away from prying eyes, you may want to [create a private repository](/repositories/creating-and-managing-repositories/creating-a-new-repository) instead. +For {% data variables.product.prodname_dotcom_the_website %} and {% data variables.product.prodname_ghe_cloud %}, {% data variables.product.github %} automatically scans _secret gists_ for partner secrets and informs the relevant partner whenever one of their secrets is leaked.{% ifversion fpt or ghec %} See [AUTOTITLE](/code-security/secret-scanning/introduction/about-secret-scanning-for-partners).{% endif %} + {% data reusables.gist.cannot-convert-public-gists-to-secret %} However, a secret gist can be made public by editing the gist and updating the visibility to public. {% ifversion ghes %} diff --git a/data/reusables/copilot/differences-cfi-cfb-table.md b/data/reusables/copilot/differences-cfi-cfb-table.md index a025a0a3f708..dba95f7a3c94 100644 --- a/data/reusables/copilot/differences-cfi-cfb-table.md +++ b/data/reusables/copilot/differences-cfi-cfb-table.md @@ -14,7 +14,7 @@ | Agents | {% data variables.copilot.copilot_free_short %} | {% data variables.copilot.copilot_pro_short %} | {% data variables.copilot.copilot_pro_plus_short %} | {% data variables.copilot.copilot_business_short %} | {% data variables.copilot.copilot_enterprise_short %} | | --- | --- | --- | --- | --- | --- | -| {% data variables.copilot.copilot_coding_agent %} ({% data variables.release-phases.public_preview %}) | {% octicon "x" aria-label="Not included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | +| {% data variables.copilot.copilot_coding_agent %} | {% octicon "x" aria-label="Not included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | | Agent mode | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | | {% data variables.product.prodname_copilot_short %} code review | Only "Review selection" in {% data variables.product.prodname_vscode_shortname %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | | Model Context Protocol (MCP) | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | {% octicon "check" aria-label="Included" %} | diff --git a/data/reusables/secret-scanning/what-is-scanned.md b/data/reusables/secret-scanning/what-is-scanned.md index f19c5b340cdb..bbc061ef39ff 100644 --- a/data/reusables/secret-scanning/what-is-scanned.md +++ b/data/reusables/secret-scanning/what-is-scanned.md @@ -1,12 +1,8 @@ -Additionally, {% data variables.product.prodname_secret_scanning %} scans: * Descriptions and comments in issues * Titles, descriptions, and comments, in open and closed _historical_ issues{% ifversion fpt or ghec %}. A notification is sent to the relevant partner when a historical partner pattern is detected.{% endif %} * Titles, descriptions, and comments in pull requests * Titles, descriptions, and comments in {% data variables.product.prodname_discussions %}{% ifversion secret-scanning-enhancements-wikis %} * Wikis{% endif %} - -{% ifversion fpt or ghec %} -This additional scanning is free for public repositories. -{% endif %} +* Secret gists. A notification is sent to the relevant partner when a partner pattern is detected in a secret gist. {% data reusables.secret-scanning.beta-prs-discussions-wikis-scanned %} diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 0ae892d0365e..5735597dbfef 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,26 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "
Type SuggestedReviewerActor was added
Type SuggestedReviewerActorConnection was added
Type SuggestedReviewerActorEdge was added
Enum value 'ISSUE_FIELD_ADDED_EVENTwas added to enumIssueTimelineItemsItemType'
Enum value 'ISSUE_FIELD_CHANGED_EVENTwas added to enumIssueTimelineItemsItemType'
Enum value 'ISSUE_FIELD_REMOVED_EVENTwas added to enumIssueTimelineItemsItemType'
Field suggestedReviewerActors was added to object type PullRequest
Enum value 'ISSUE_FIELD_ADDED_EVENTwas added to enumPullRequestTimelineItemsItemType'
Enum value 'ISSUE_FIELD_CHANGED_EVENTwas added to enumPullRequestTimelineItemsItemType'
Enum value 'ISSUE_FIELD_REMOVED_EVENTwas added to enumPullRequestTimelineItemsItemType'
Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
", + "description": "Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.
", "fields": [ { "name": "reviewDraftPullRequests", @@ -55187,6 +55187,56 @@ } ] }, + { + "name": "suggestedReviewerActors", + "description": "Reviewer actor suggestions based on commit history, past review comments, and integrations.
", + "type": "SuggestedReviewerActorConnection!", + "id": "suggestedrevieweractorconnection", + "kind": "objects", + "href": "/graphql/reference/objects#suggestedrevieweractorconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, { "name": "suggestedReviewers", "description": "A list of reviewer suggestions based on commit history and past review comments.
", @@ -56134,7 +56184,7 @@ }, { "name": "automaticCopilotCodeReviewEnabled", - "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
", + "description": "Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.
", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -75054,6 +75104,105 @@ } ] }, + { + "name": "SuggestedReviewerActor", + "kind": "objects", + "id": "suggestedrevieweractor", + "href": "/graphql/reference/objects#suggestedrevieweractor", + "description": "A suggestion to review a pull request based on an actor's commit history, review comments, and integrations.
", + "fields": [ + { + "name": "isAuthor", + "description": "Is this suggestion based on past commits?.
", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "isCommenter", + "description": "Is this suggestion based on past review comments?.
", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "reviewer", + "description": "Identifies the actor suggested to review the pull request.
", + "type": "Actor!", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + } + ] + }, + { + "name": "SuggestedReviewerActorConnection", + "kind": "objects", + "id": "suggestedrevieweractorconnection", + "href": "/graphql/reference/objects#suggestedrevieweractorconnection", + "description": "A suggestion to review a pull request based on an actor's commit history, review comments, and integrations.
", + "fields": [ + { + "name": "edges", + "description": "A list of edges.
", + "type": "[SuggestedReviewerActorEdge]", + "id": "suggestedrevieweractoredge", + "kind": "objects", + "href": "/graphql/reference/objects#suggestedrevieweractoredge" + }, + { + "name": "nodes", + "description": "A list of nodes.
", + "type": "[SuggestedReviewerActor]", + "id": "suggestedrevieweractor", + "kind": "objects", + "href": "/graphql/reference/objects#suggestedrevieweractor" + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.
", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "Identifies the total count of items in the connection.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "SuggestedReviewerActorEdge", + "kind": "objects", + "id": "suggestedrevieweractoredge", + "href": "/graphql/reference/objects#suggestedrevieweractoredge", + "description": "An edge in a connection.
", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "The item at the end of the edge.
", + "type": "SuggestedReviewerActor", + "id": "suggestedrevieweractor", + "kind": "objects", + "href": "/graphql/reference/objects#suggestedrevieweractor" + } + ] + }, { "name": "Tag", "kind": "objects", @@ -90453,6 +90602,18 @@ "name": "ISSUE_COMMENT", "description": "Represents a comment on an Issue.
" }, + { + "name": "ISSUE_FIELD_ADDED_EVENT", + "description": "Represents aissue_field_addedevent on a given issue.
Represents aissue_field_changedevent on a given issue.
Represents aissue_field_removedevent on a given issue.
Represents aissue_type_addedevent on a given issue.
Represents a comment on an Issue.
" }, + { + "name": "ISSUE_FIELD_ADDED_EVENT", + "description": "Represents aissue_field_addedevent on a given issue.
Represents aissue_field_changedevent on a given issue.
Represents aissue_field_removedevent on a given issue.
Represents aissue_type_addedevent on a given issue.
Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
" + "description": "Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.
" }, { "name": "CREATION", @@ -100474,7 +100647,7 @@ "kind": "inputObjects", "id": "copilotcodereviewparametersinput", "href": "/graphql/reference/input-objects#copilotcodereviewparametersinput", - "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
", + "description": "Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.
", "inputFields": [ { "name": "reviewDraftPullRequests", @@ -106190,7 +106363,7 @@ }, { "name": "automaticCopilotCodeReviewEnabled", - "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
", + "description": "Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.
", "type": "Boolean", "id": "boolean", "kind": "scalars", @@ -106499,7 +106672,7 @@ }, { "name": "assigneeIds", - "description": "The id of users to remove as assignees.
", + "description": "The ids of actors to remove as assignees.
", "type": "[ID!]!", "id": "id", "kind": "scalars", @@ -110782,7 +110955,7 @@ "inputFields": [ { "name": "assigneeIds", - "description": "An array of Node IDs of users for this issue.
", + "description": "An array of Node IDs of users or bots for this issue.
", "type": "[ID!]", "id": "id", "kind": "scalars", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 9a9a6d015156..a052abfcbb8a 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -7335,7 +7335,9 @@ type ConvertedToDiscussionEvent implements Node { } """ -Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. +Request Copilot code review for new pull requests automatically if the author +has access to Copilot code review and their premium requests quota has not +reached the limit. """ type CopilotCodeReviewParameters { """ @@ -7350,7 +7352,9 @@ type CopilotCodeReviewParameters { } """ -Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. +Request Copilot code review for new pull requests automatically if the author +has access to Copilot code review and their premium requests quota has not +reached the limit. """ input CopilotCodeReviewParametersInput { """ @@ -20648,6 +20652,21 @@ enum IssueTimelineItemsItemType { """ ISSUE_COMMENT + """ + Represents a 'issue_field_added' event on a given issue. + """ + ISSUE_FIELD_ADDED_EVENT + + """ + Represents a 'issue_field_changed' event on a given issue. + """ + ISSUE_FIELD_CHANGED_EVENT + + """ + Represents a 'issue_field_removed' event on a given issue. + """ + ISSUE_FIELD_REMOVED_EVENT + """ Represents a 'issue_type_added' event on a given issue. """ @@ -41291,6 +41310,31 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab query: String ): AssigneeConnection! + """ + Reviewer actor suggestions based on commit history, past review comments, and integrations. + """ + suggestedReviewerActors( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): SuggestedReviewerActorConnection! + """ A list of reviewer suggestions based on commit history and past review comments. """ @@ -41905,7 +41949,9 @@ type PullRequestParameters { allowedMergeMethods: [PullRequestAllowedMergeMethods!] """ - Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. + Request Copilot code review for new pull requests automatically if the author + has access to Copilot code review and their premium requests quota has not + reached the limit. """ automaticCopilotCodeReviewEnabled: Boolean! @@ -41953,7 +41999,9 @@ input PullRequestParametersInput { allowedMergeMethods: [PullRequestAllowedMergeMethods!] """ - Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. + Request Copilot code review for new pull requests automatically if the author + has access to Copilot code review and their premium requests quota has not + reached the limit. """ automaticCopilotCodeReviewEnabled: Boolean @@ -43519,6 +43567,21 @@ enum PullRequestTimelineItemsItemType { """ ISSUE_COMMENT + """ + Represents a 'issue_field_added' event on a given issue. + """ + ISSUE_FIELD_ADDED_EVENT + + """ + Represents a 'issue_field_changed' event on a given issue. + """ + ISSUE_FIELD_CHANGED_EVENT + + """ + Represents a 'issue_field_removed' event on a given issue. + """ + ISSUE_FIELD_REMOVED_EVENT + """ Represents a 'issue_type_added' event on a given issue. """ @@ -45719,9 +45782,13 @@ input RemoveAssigneesFromAssignableInput { assignableId: ID! @possibleTypes(concreteTypes: ["Issue", "PullRequest"], abstractType: "Assignable") """ - The id of users to remove as assignees. + The ids of actors to remove as assignees. """ - assigneeIds: [ID!]! @possibleTypes(concreteTypes: ["User"]) + assigneeIds: [ID!]! + @possibleTypes( + concreteTypes: ["Bot", "EnterpriseUserAccount", "Mannequin", "Organization", "User"] + abstractType: "Actor" + ) """ A unique identifier for the client performing the mutation. @@ -53261,7 +53328,9 @@ enum RepositoryRuleType { COMMIT_MESSAGE_PATTERN """ - Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. + Request Copilot code review for new pull requests automatically if the author + has access to Copilot code review and their premium requests quota has not + reached the limit. """ COPILOT_CODE_REVIEW @@ -60390,6 +60459,66 @@ type SuggestedReviewer { reviewer: User! } +""" +A suggestion to review a pull request based on an actor's commit history, review comments, and integrations. +""" +type SuggestedReviewerActor { + """ + Is this suggestion based on past commits? + """ + isAuthor: Boolean! + + """ + Is this suggestion based on past review comments? + """ + isCommenter: Boolean! + + """ + Identifies the actor suggested to review the pull request. + """ + reviewer: Actor! +} + +""" +A suggestion to review a pull request based on an actor's commit history, review comments, and integrations. +""" +type SuggestedReviewerActorConnection { + """ + A list of edges. + """ + edges: [SuggestedReviewerActorEdge] + + """ + A list of nodes. + """ + nodes: [SuggestedReviewerActor] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type SuggestedReviewerActorEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: SuggestedReviewerActor +} + """ Represents a Git tag. """ @@ -65626,9 +65755,13 @@ Autogenerated input type of UpdateIssue """ input UpdateIssueInput { """ - An array of Node IDs of users for this issue. + An array of Node IDs of users or bots for this issue. """ - assigneeIds: [ID!] @possibleTypes(concreteTypes: ["User"]) + assigneeIds: [ID!] + @possibleTypes( + concreteTypes: ["Bot", "EnterpriseUserAccount", "Mannequin", "Organization", "User"] + abstractType: "Actor" + ) """ The body for the issue description. diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 534ae6d97d30..4766206c9fcc 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -17559,7 +17559,7 @@ "kind": "objects", "id": "copilotcodereviewparameters", "href": "/graphql/reference/objects#copilotcodereviewparameters", - "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
", + "description": "Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.
", "fields": [ { "name": "reviewDraftPullRequests", @@ -55187,6 +55187,56 @@ } ] }, + { + "name": "suggestedReviewerActors", + "description": "Reviewer actor suggestions based on commit history, past review comments, and integrations.
", + "type": "SuggestedReviewerActorConnection!", + "id": "suggestedrevieweractorconnection", + "kind": "objects", + "href": "/graphql/reference/objects#suggestedrevieweractorconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, { "name": "suggestedReviewers", "description": "A list of reviewer suggestions based on commit history and past review comments.
", @@ -56134,7 +56184,7 @@ }, { "name": "automaticCopilotCodeReviewEnabled", - "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
", + "description": "Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.
", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -75054,6 +75104,105 @@ } ] }, + { + "name": "SuggestedReviewerActor", + "kind": "objects", + "id": "suggestedrevieweractor", + "href": "/graphql/reference/objects#suggestedrevieweractor", + "description": "A suggestion to review a pull request based on an actor's commit history, review comments, and integrations.
", + "fields": [ + { + "name": "isAuthor", + "description": "Is this suggestion based on past commits?.
", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "isCommenter", + "description": "Is this suggestion based on past review comments?.
", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "reviewer", + "description": "Identifies the actor suggested to review the pull request.
", + "type": "Actor!", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + } + ] + }, + { + "name": "SuggestedReviewerActorConnection", + "kind": "objects", + "id": "suggestedrevieweractorconnection", + "href": "/graphql/reference/objects#suggestedrevieweractorconnection", + "description": "A suggestion to review a pull request based on an actor's commit history, review comments, and integrations.
", + "fields": [ + { + "name": "edges", + "description": "A list of edges.
", + "type": "[SuggestedReviewerActorEdge]", + "id": "suggestedrevieweractoredge", + "kind": "objects", + "href": "/graphql/reference/objects#suggestedrevieweractoredge" + }, + { + "name": "nodes", + "description": "A list of nodes.
", + "type": "[SuggestedReviewerActor]", + "id": "suggestedrevieweractor", + "kind": "objects", + "href": "/graphql/reference/objects#suggestedrevieweractor" + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.
", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "Identifies the total count of items in the connection.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "SuggestedReviewerActorEdge", + "kind": "objects", + "id": "suggestedrevieweractoredge", + "href": "/graphql/reference/objects#suggestedrevieweractoredge", + "description": "An edge in a connection.
", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "The item at the end of the edge.
", + "type": "SuggestedReviewerActor", + "id": "suggestedrevieweractor", + "kind": "objects", + "href": "/graphql/reference/objects#suggestedrevieweractor" + } + ] + }, { "name": "Tag", "kind": "objects", @@ -90453,6 +90602,18 @@ "name": "ISSUE_COMMENT", "description": "Represents a comment on an Issue.
" }, + { + "name": "ISSUE_FIELD_ADDED_EVENT", + "description": "Represents aissue_field_addedevent on a given issue.
Represents aissue_field_changedevent on a given issue.
Represents aissue_field_removedevent on a given issue.
Represents aissue_type_addedevent on a given issue.
Represents a comment on an Issue.
" }, + { + "name": "ISSUE_FIELD_ADDED_EVENT", + "description": "Represents aissue_field_addedevent on a given issue.
Represents aissue_field_changedevent on a given issue.
Represents aissue_field_removedevent on a given issue.
Represents aissue_type_addedevent on a given issue.
Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
" + "description": "Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.
" }, { "name": "CREATION", @@ -100474,7 +100647,7 @@ "kind": "inputObjects", "id": "copilotcodereviewparametersinput", "href": "/graphql/reference/input-objects#copilotcodereviewparametersinput", - "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
", + "description": "Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.
", "inputFields": [ { "name": "reviewDraftPullRequests", @@ -106190,7 +106363,7 @@ }, { "name": "automaticCopilotCodeReviewEnabled", - "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
", + "description": "Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.
", "type": "Boolean", "id": "boolean", "kind": "scalars", @@ -106499,7 +106672,7 @@ }, { "name": "assigneeIds", - "description": "The id of users to remove as assignees.
", + "description": "The ids of actors to remove as assignees.
", "type": "[ID!]!", "id": "id", "kind": "scalars", @@ -110782,7 +110955,7 @@ "inputFields": [ { "name": "assigneeIds", - "description": "An array of Node IDs of users for this issue.
", + "description": "An array of Node IDs of users or bots for this issue.
", "type": "[ID!]", "id": "id", "kind": "scalars",