From 3586aa28fc2fda2ab76714fb5d7ce2fdb32d783c Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Mon, 2 Dec 2024 13:44:43 -0800 Subject: [PATCH 1/5] Update audit log event data (#53405) Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com> --- src/audit-logs/lib/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audit-logs/lib/config.json b/src/audit-logs/lib/config.json index 09cf10a4757a..3e7ec1299334 100644 --- a/src/audit-logs/lib/config.json +++ b/src/audit-logs/lib/config.json @@ -3,5 +3,5 @@ "apiOnlyEvents": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.", "apiRequestEvent": "This event is only available via audit log streaming." }, - "sha": "ef080778a1c60b08685a0c0ecda03fe301de67fc" + "sha": "747e4cd3acd3a1e7ee9d7f122264cef706eaadee" } \ No newline at end of file From 37290216d85d427490369c79ce415c907b51ca9b Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Mon, 2 Dec 2024 13:45:29 -0800 Subject: [PATCH 2/5] Delete orphaned features (2024-12-02-16-29) (#53403) Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com> --- data/features/enforce-security-configurations-beta.yml | 3 --- data/features/enforce-security-configurations.yml | 5 ----- data/features/ghas-for-azure-devops.yml | 6 ------ data/features/github-models-cli.yml | 5 ----- .../projects-v2-migration-behind-feature-preview.yml | 4 ---- 5 files changed, 23 deletions(-) delete mode 100644 data/features/enforce-security-configurations-beta.yml delete mode 100644 data/features/enforce-security-configurations.yml delete mode 100644 data/features/ghas-for-azure-devops.yml delete mode 100644 data/features/github-models-cli.yml delete mode 100644 data/features/projects-v2-migration-behind-feature-preview.yml diff --git a/data/features/enforce-security-configurations-beta.yml b/data/features/enforce-security-configurations-beta.yml deleted file mode 100644 index 0f0b33176816..000000000000 --- a/data/features/enforce-security-configurations-beta.yml +++ /dev/null @@ -1,3 +0,0 @@ -# Reference: #13288 -versions: - ghes: '3.14' diff --git a/data/features/enforce-security-configurations.yml b/data/features/enforce-security-configurations.yml deleted file mode 100644 index 3652d0eb79c6..000000000000 --- a/data/features/enforce-security-configurations.yml +++ /dev/null @@ -1,5 +0,0 @@ -# Reference: #13289 -versions: - fpt: '*' - ghec: '*' - ghes: '>= 3.15' diff --git a/data/features/ghas-for-azure-devops.yml b/data/features/ghas-for-azure-devops.yml deleted file mode 100644 index 716d73e1082e..000000000000 --- a/data/features/ghas-for-azure-devops.yml +++ /dev/null @@ -1,6 +0,0 @@ -# Reference: #9903 -# GitHub Advanced Security for Azure DevOps -versions: - fpt: '*' - ghec: '*' - ghes: '*' diff --git a/data/features/github-models-cli.yml b/data/features/github-models-cli.yml deleted file mode 100644 index 04ada090696a..000000000000 --- a/data/features/github-models-cli.yml +++ /dev/null @@ -1,5 +0,0 @@ -# Reference: #16198 -# Documentation for the GitHub Models CLI extension -versions: - fpt: '*' - ghec: '*' diff --git a/data/features/projects-v2-migration-behind-feature-preview.yml b/data/features/projects-v2-migration-behind-feature-preview.yml deleted file mode 100644 index a8e004e3b7fc..000000000000 --- a/data/features/projects-v2-migration-behind-feature-preview.yml +++ /dev/null @@ -1,4 +0,0 @@ -# Migrating from projects (classic) requires enabling the option via feature preview -versions: - fpt: '*' - ghec: '*' From 89b5de92c804d26b047a02348b2a140c7926cd5b Mon Sep 17 00:00:00 2001 From: Yoann Chaudet Date: Mon, 2 Dec 2024 15:02:26 -0800 Subject: [PATCH 3/5] Pages bump samples (#53190) Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com> --- ...sing-custom-workflows-with-github-pages.md | 52 +++++++++++++++---- .../pages-custom-workflow-ghes3-9.yml | 5 ++ 2 files changed, 47 insertions(+), 10 deletions(-) create mode 100644 data/features/pages-custom-workflow-ghes3-9.yml diff --git a/content/pages/getting-started-with-github-pages/using-custom-workflows-with-github-pages.md b/content/pages/getting-started-with-github-pages/using-custom-workflows-with-github-pages.md index fced62f59682..ecd8101b3b8c 100644 --- a/content/pages/getting-started-with-github-pages/using-custom-workflows-with-github-pages.md +++ b/content/pages/getting-started-with-github-pages/using-custom-workflows-with-github-pages.md @@ -23,7 +23,7 @@ To use the action place this snippet under your `jobs` in the desired workflow. ```yaml - name: Configure GitHub Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 ``` This action helps support deployment from any static site generator to {% data variables.product.prodname_pages %}. To make this process less repetitive you can use workflow templates for some of the most widely used static site generators. For more information, see "[AUTOTITLE](/actions/learn-github-actions/using-starter-workflows)." @@ -36,7 +36,13 @@ To use the action in your current workflow place this snippet under `jobs`. ```yaml - name: Upload GitHub Pages artifact +{%- ifversion fpt or ghec %} + uses: actions/upload-pages-artifact@v3 +{%- elsif pages-custom-workflow-ghes3-9 %} + uses: actions/upload-pages-artifact@v2 +{%- else %} uses: actions/upload-pages-artifact@v1 +{%- endif %} ``` ## Deploying {% data variables.product.prodname_pages %} artifacts @@ -50,8 +56,6 @@ The `deploy-pages` action handles the necessary setup for deploying artifacts. T For more information, see the [`deploy-pages`](https://github.com/marketplace/actions/deploy-github-pages-site) action. -{% raw %} - ```yaml # ... @@ -65,16 +69,20 @@ jobs: needs: jekyll-build environment: name: github-pages - url: ${{steps.deployment.outputs.page_url}} + url: {% raw %}${{steps.deployment.outputs.page_url}}{% endraw %} steps: - name: Deploy artifact id: deployment +{%- ifversion fpt or ghec %} + uses: actions/deploy-pages@v4 +{%- elsif pages-custom-workflow-ghes3-9 %} + uses: actions/deploy-pages@v3 +{%- else %} uses: actions/deploy-pages@v1 +{%- endif %} # ... ``` -{% endraw %} - ## Linking separate build and deploy jobs You can link your `build` and `deploy` jobs in a single workflow file, eliminating the need to create two separate files to get the same result. To get started on your workflow file, under `jobs` you can define a `build` and `deploy` job to execute your jobs. @@ -91,14 +99,20 @@ jobs: uses: {% data reusables.actions.action-checkout %} - name: Setup Pages id: pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Build with Jekyll uses: actions/jekyll-build-pages@v1 with: source: ./ destination: ./_site - name: Upload artifact +{%- ifversion fpt or ghec %} + uses: actions/upload-pages-artifact@v3 +{%- elsif pages-custom-workflow-ghes3-9 %} uses: actions/upload-pages-artifact@v2 +{%- else %} + uses: actions/upload-pages-artifact@v1 +{%- endif %} # Deployment job deploy: @@ -110,7 +124,13 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 +{%- ifversion fpt or ghec %} + uses: actions/deploy-pages@v4 +{%- elsif pages-custom-workflow-ghes3-9 %} + uses: actions/deploy-pages@v3 +{%- else %} + uses: actions/deploy-pages@v1 +{%- endif %} # ... ``` @@ -130,15 +150,27 @@ jobs: - name: Checkout uses: {% data reusables.actions.action-checkout %} - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Upload Artifact +{%- ifversion fpt or ghec %} + uses: actions/upload-pages-artifact@v3 +{%- elsif pages-custom-workflow-ghes3-9 %} uses: actions/upload-pages-artifact@v2 +{%- else %} + uses: actions/upload-pages-artifact@v1 +{%- endif %} with: # upload entire directory path: '.' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 +{%- ifversion fpt or ghec %} + uses: actions/deploy-pages@v4 +{%- elsif pages-custom-workflow-ghes3-9 %} + uses: actions/deploy-pages@v3 +{%- else %} + uses: actions/deploy-pages@v1 +{%- endif %} # ... ``` diff --git a/data/features/pages-custom-workflow-ghes3-9.yml b/data/features/pages-custom-workflow-ghes3-9.yml new file mode 100644 index 000000000000..52073adb36b5 --- /dev/null +++ b/data/features/pages-custom-workflow-ghes3-9.yml @@ -0,0 +1,5 @@ +# Issue 5102 for the GHES release +# Publishing Pages via custom Actions workflow in GHES >= 3.9 +# https://github.com/actions/deploy-pages?tab=readme-ov-file#compatibility +versions: + ghes: '>=3.9' From abe72a81136ea8d95712d37f8145706844ab355c Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Mon, 2 Dec 2024 15:17:45 -0800 Subject: [PATCH 4/5] GraphQL schema update (#53422) Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com> --- src/graphql/data/fpt/changelog.json | 40 ++ src/graphql/data/fpt/schema.docs.graphql | 301 ++++++++++++- src/graphql/data/fpt/schema.json | 509 +++++++++++++++++++++- src/graphql/data/ghec/schema.docs.graphql | 301 ++++++++++++- src/graphql/data/ghec/schema.json | 509 +++++++++++++++++++++- 5 files changed, 1636 insertions(+), 24 deletions(-) diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index da32f5c7f8e1..d6f6fdda2950 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,44 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type AddSubIssueInput was added

", + "

Type AddSubIssuePayload was added

", + "

Type AnnouncementBannerI was added

", + "

Type RemoveSubIssueInput was added

", + "

Type RemoveSubIssuePayload was added

", + "

Type ReprioritizeSubIssueInput was added

", + "

Type ReprioritizeSubIssuePayload was added

", + "

Type SubIssuesSummary was added

", + "

Type AnnouncementBanner was removed

", + "

Input field parentIssueId of type ID was added to input object type CreateIssueInput

", + "

Field enabled was added to object type DeployKey

", + "

Enterprise object implements AnnouncementBannerI interface

", + "

Enterprise object type no longer implements AnnouncementBanner interface

", + "

Field repositoryDeployKeySetting was added to object type EnterpriseOwnerInfo

", + "

Field repositoryDeployKeySettingOrganizations was added to object type EnterpriseOwnerInfo

", + "

Field verifiedAt was added to interface GitSignature

", + "

Field verifiedAt was added to object type GpgSignature

", + "

Field parent was added to object type Issue

", + "

Field subIssues was added to object type Issue

", + "

Field subIssuesSummary was added to object type Issue

", + "

Field addSubIssue was added to object type Mutation

", + "

Field removeSubIssue was added to object type Mutation

", + "

Field reprioritizeSubIssue was added to object type Mutation

", + "

Organization object implements AnnouncementBannerI interface

", + "

Organization object type no longer implements AnnouncementBanner interface

", + "

Field verifiedAt was added to object type SmimeSignature

", + "

Field verifiedAt was added to object type SshSignature

", + "

Field verifiedAt was added to object type UnknownSignature

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2024-12-02" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 5fa000d7562e..cac39bf16b5b 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -1068,6 +1068,56 @@ type AddStarPayload { starrable: Starrable } +""" +Autogenerated input type of AddSubIssue +""" +input AddSubIssueInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The id of the issue. + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + Option to replace parent issue if one already exists + """ + replaceParent: Boolean + + """ + The id of the sub-issue. + """ + subIssueId: ID @possibleTypes(concreteTypes: ["Issue"]) + + """ + The url of the sub-issue. + """ + subIssueUrl: String +} + +""" +Autogenerated return type of AddSubIssue. +""" +type AddSubIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The parent issue that the sub-issue was added to. + """ + issue: Issue + + """ + The sub-issue of the parent. + """ + subIssue: Issue +} + """ Autogenerated input type of AddUpvote """ @@ -1211,7 +1261,7 @@ type AddedToProjectEvent implements Node { """ Represents an announcement banner. """ -interface AnnouncementBanner { +interface AnnouncementBannerI { """ The text of the announcement """ @@ -7619,6 +7669,11 @@ input CreateIssueInput { """ milestoneId: ID @possibleTypes(concreteTypes: ["Milestone"]) + """ + The Node ID of the parent issue to add this new issue to + """ + parentIssueId: ID @possibleTypes(concreteTypes: ["Issue"]) + """ An array of Node IDs for projects associated with this issue. """ @@ -10374,6 +10429,11 @@ type DeployKey implements Node { """ createdAt: DateTime! + """ + Whether or not the deploy key is enabled by policy at the Enterprise or Organization level. + """ + enabled: Boolean! + """ The Node ID of the DeployKey object """ @@ -12785,7 +12845,7 @@ type EnqueuePullRequestPayload { """ An account to manage multiple organizations with consolidated policy and billing. """ -type Enterprise implements AnnouncementBanner & Node { +type Enterprise implements AnnouncementBannerI & Node { """ The text of the announcement """ @@ -14823,6 +14883,46 @@ type EnterpriseOwnerInfo { query: String ): EnterpriseMemberInvitationConnection! + """ + The setting value for whether deploy keys are enabled for repositories in organizations in this enterprise. + """ + repositoryDeployKeySetting: EnterpriseEnabledDisabledSettingValue! + + """ + A list of enterprise organizations configured with the provided deploy keys setting value. + """ + repositoryDeployKeySettingOrganizations( + """ + 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 + + """ + Ordering options for organizations with this setting. + """ + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} + + """ + The setting value to find organizations for. + """ + value: Boolean! + ): OrganizationConnection! + """ The setting value for whether repository projects are enabled in this enterprise. """ @@ -17336,6 +17436,11 @@ interface GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -17477,6 +17582,11 @@ type GpgSignature implements GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -18287,6 +18397,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ number: Int! + """ + The parent entity of the issue. + """ + parent: Issue + """ A list of Users that are participating in the Issue conversation. """ @@ -18487,6 +18602,36 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ stateReason: IssueStateReason + """ + A list of sub-issues associated with the Issue. + """ + subIssues( + """ + 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 + ): IssueConnection! + + """ + Summary of the state of an issue's sub-issues + """ + subIssuesSummary: SubIssuesSummary! + """ A list of events, comments, commits, etc. associated with the issue. """ @@ -23110,6 +23255,16 @@ type Mutation { input: AddStarInput! ): AddStarPayload + """ + Adds a sub-issue to a given issue + """ + addSubIssue( + """ + Parameters for AddSubIssue + """ + input: AddSubIssueInput! + ): AddSubIssuePayload + """ Add an upvote to a discussion or discussion comment. """ @@ -24380,6 +24535,16 @@ type Mutation { input: RemoveStarInput! ): RemoveStarPayload + """ + Removes a sub-issue from a given issue + """ + removeSubIssue( + """ + Parameters for RemoveSubIssue + """ + input: RemoveSubIssueInput! + ): RemoveSubIssuePayload + """ Remove an upvote to a discussion or discussion comment. """ @@ -24430,6 +24595,16 @@ type Mutation { input: ReorderEnvironmentInput! ): ReorderEnvironmentPayload + """ + Reprioritizes a sub-issue to a different position in the parent list. + """ + reprioritizeSubIssue( + """ + Parameters for ReprioritizeSubIssue + """ + input: ReprioritizeSubIssueInput! + ): ReprioritizeSubIssuePayload + """ Set review requests on a pull request. """ @@ -29049,7 +29224,7 @@ type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry implements AuditEnt """ An account on GitHub, with one or more owners, that has repositories, members and teams. """ -type Organization implements Actor & AnnouncementBanner & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { +type Organization implements Actor & AnnouncementBannerI & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { """ The text of the announcement """ @@ -41981,6 +42156,46 @@ type RemoveStarPayload { starrable: Starrable } +""" +Autogenerated input type of RemoveSubIssue +""" +input RemoveSubIssueInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The id of the issue. + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + The id of the sub-issue. + """ + subIssueId: ID! @possibleTypes(concreteTypes: ["Issue"]) +} + +""" +Autogenerated return type of RemoveSubIssue. +""" +type RemoveSubIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The parent of the sub-issue. + """ + issue: Issue + + """ + The sub-issue of the parent. + """ + subIssue: Issue +} + """ Autogenerated input type of RemoveUpvote """ @@ -48781,6 +48996,51 @@ enum RepositoryVulnerabilityAlertState { OPEN } +""" +Autogenerated input type of ReprioritizeSubIssue +""" +input ReprioritizeSubIssueInput { + """ + The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified). + """ + afterId: ID @possibleTypes(concreteTypes: ["Issue"]) + + """ + The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified). + """ + beforeId: ID @possibleTypes(concreteTypes: ["Issue"]) + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The id of the parent issue. + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + The id of the sub-issue to reprioritize. + """ + subIssueId: ID! @possibleTypes(concreteTypes: ["Issue"]) +} + +""" +Autogenerated return type of ReprioritizeSubIssue. +""" +type ReprioritizeSubIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The parent issue that the sub-issue was reprioritized in. + """ + issue: Issue +} + """ Autogenerated input type of RequestReviews """ @@ -50745,6 +51005,11 @@ type SmimeSignature implements GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -53759,6 +54024,11 @@ type SshSignature implements GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -54412,6 +54682,26 @@ type StripeConnectAccount { stripeDashboardUrl: URI! } +""" +Summary of the state of an issue's sub-issues +""" +type SubIssuesSummary { + """ + Count of completed sub-issues + """ + completed: Int! + + """ + Percent of sub-issues which are completed + """ + percentCompleted: Int! + + """ + Count of total number of sub-issues + """ + total: Int! +} + """ Autogenerated input type of SubmitPullRequestReview """ @@ -57670,6 +57960,11 @@ type UnknownSignature implements GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 242bbb5e21c6..72196dd5c4aa 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -1757,6 +1757,48 @@ } ] }, + { + "name": "addSubIssue", + "kind": "mutations", + "id": "addsubissue", + "href": "/graphql/reference/mutations#addsubissue", + "description": "

Adds a sub-issue to a given issue.

", + "inputFields": [ + { + "name": "input", + "type": "AddSubIssueInput!", + "id": "addsubissueinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#addsubissueinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The parent issue that the sub-issue was added to.

" + }, + { + "name": "subIssue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The sub-issue of the parent.

" + } + ] + }, { "name": "addUpvote", "kind": "mutations", @@ -6087,6 +6129,48 @@ } ] }, + { + "name": "removeSubIssue", + "kind": "mutations", + "id": "removesubissue", + "href": "/graphql/reference/mutations#removesubissue", + "description": "

Removes a sub-issue from a given issue.

", + "inputFields": [ + { + "name": "input", + "type": "RemoveSubIssueInput!", + "id": "removesubissueinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#removesubissueinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The parent of the sub-issue.

" + }, + { + "name": "subIssue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The sub-issue of the parent.

" + } + ] + }, { "name": "removeUpvote", "kind": "mutations", @@ -6257,6 +6341,40 @@ } ] }, + { + "name": "reprioritizeSubIssue", + "kind": "mutations", + "id": "reprioritizesubissue", + "href": "/graphql/reference/mutations#reprioritizesubissue", + "description": "

Reprioritizes a sub-issue to a different position in the parent list.

", + "inputFields": [ + { + "name": "input", + "type": "ReprioritizeSubIssueInput!", + "id": "reprioritizesubissueinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#reprioritizesubissueinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The parent issue that the sub-issue was reprioritized in.

" + } + ] + }, { "name": "requestReviews", "kind": "mutations", @@ -17915,6 +18033,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "enabled", + "description": "

Whether or not the deploy key is enabled by policy at the Enterprise or Organization level.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "id", "description": "

The Node ID of the DeployKey object.

", @@ -21138,9 +21264,9 @@ "description": "

An account to manage multiple organizations with consolidated policy and billing.

", "implements": [ { - "name": "AnnouncementBanner", - "id": "announcementbanner", - "href": "/graphql/reference/interfaces#announcementbanner" + "name": "AnnouncementBannerI", + "id": "announcementbanneri", + "href": "/graphql/reference/interfaces#announcementbanneri" }, { "name": "Node", @@ -24270,6 +24396,84 @@ } ] }, + { + "name": "repositoryDeployKeySetting", + "description": "

The setting value for whether deploy keys are enabled for repositories in organizations in this enterprise.

", + "type": "EnterpriseEnabledDisabledSettingValue!", + "id": "enterpriseenableddisabledsettingvalue", + "kind": "enums", + "href": "/graphql/reference/enums#enterpriseenableddisabledsettingvalue" + }, + { + "name": "repositoryDeployKeySettingOrganizations", + "description": "

A list of enterprise organizations configured with the provided deploy keys setting value.

", + "type": "OrganizationConnection!", + "id": "organizationconnection", + "kind": "objects", + "href": "/graphql/reference/objects#organizationconnection", + "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": "orderBy", + "description": "

Ordering options for organizations with this setting.

", + "type": { + "name": "OrganizationOrder", + "id": "organizationorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationorder" + } + }, + { + "name": "value", + "description": "

The setting value to find organizations for.

", + "type": { + "name": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + } + ] + }, { "name": "repositoryProjectsSetting", "description": "

The setting value for whether repository projects are enabled in this enterprise.

", @@ -27634,6 +27838,14 @@ "kind": "enums", "href": "/graphql/reference/enums#gitsignaturestate" }, + { + "name": "verifiedAt", + "description": "

The date the signature was verified, if valid.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "wasSignedByGitHub", "description": "

True if the signature was made with GitHub's signing key.

", @@ -28575,6 +28787,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "parent", + "description": "

The parent entity of the issue.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + }, { "name": "participants", "description": "

A list of Users that are participating in the Issue conversation.

", @@ -28965,6 +29185,64 @@ "kind": "enums", "href": "/graphql/reference/enums#issuestatereason" }, + { + "name": "subIssues", + "description": "

A list of sub-issues associated with the Issue.

", + "type": "IssueConnection!", + "id": "issueconnection", + "kind": "objects", + "href": "/graphql/reference/objects#issueconnection", + "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": "subIssuesSummary", + "description": "

Summary of the state of an issue's sub-issues.

", + "type": "SubIssuesSummary!", + "id": "subissuessummary", + "kind": "objects", + "href": "/graphql/reference/objects#subissuessummary" + }, { "name": "timeline", "description": "

A list of events, comments, commits, etc. associated with the issue.

", @@ -39736,9 +40014,9 @@ "href": "/graphql/reference/interfaces#actor" }, { - "name": "AnnouncementBanner", - "id": "announcementbanner", - "href": "/graphql/reference/interfaces#announcementbanner" + "name": "AnnouncementBannerI", + "id": "announcementbanneri", + "href": "/graphql/reference/interfaces#announcementbanneri" }, { "name": "MemberStatusable", @@ -67507,6 +67785,14 @@ "kind": "enums", "href": "/graphql/reference/enums#gitsignaturestate" }, + { + "name": "verifiedAt", + "description": "

The date the signature was verified, if valid.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "wasSignedByGitHub", "description": "

True if the signature was made with GitHub's signing key.

", @@ -69117,6 +69403,14 @@ "kind": "enums", "href": "/graphql/reference/enums#gitsignaturestate" }, + { + "name": "verifiedAt", + "description": "

The date the signature was verified, if valid.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "wasSignedByGitHub", "description": "

True if the signature was made with GitHub's signing key.

", @@ -69832,6 +70126,39 @@ } ] }, + { + "name": "SubIssuesSummary", + "kind": "objects", + "id": "subissuessummary", + "href": "/graphql/reference/objects#subissuessummary", + "description": "

Summary of the state of an issue's sub-issues.

", + "fields": [ + { + "name": "completed", + "description": "

Count of completed sub-issues.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "percentCompleted", + "description": "

Percent of sub-issues which are completed.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "total", + "description": "

Count of total number of sub-issues.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, { "name": "Submodule", "kind": "objects", @@ -74306,6 +74633,14 @@ "kind": "enums", "href": "/graphql/reference/enums#gitsignaturestate" }, + { + "name": "verifiedAt", + "description": "

The date the signature was verified, if valid.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "wasSignedByGitHub", "description": "

True if the signature was made with GitHub's signing key.

", @@ -79513,10 +79848,10 @@ ] }, { - "name": "AnnouncementBanner", + "name": "AnnouncementBannerI", "kind": "interfaces", - "id": "announcementbanner", - "href": "/graphql/reference/interfaces#announcementbanner", + "id": "announcementbanneri", + "href": "/graphql/reference/interfaces#announcementbanneri", "description": "

Represents an announcement banner.

", "fields": [ { @@ -80148,6 +80483,14 @@ "kind": "enums", "href": "/graphql/reference/enums#gitsignaturestate" }, + { + "name": "verifiedAt", + "description": "

The date the signature was verified, if valid.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "wasSignedByGitHub", "description": "

True if the signature was made with GitHub's signing key.

", @@ -92853,6 +93196,57 @@ } ] }, + { + "name": "AddSubIssueInput", + "kind": "inputObjects", + "id": "addsubissueinput", + "href": "/graphql/reference/input-objects#addsubissueinput", + "description": "

Autogenerated input type of AddSubIssue.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "issueId", + "description": "

The id of the issue.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "replaceParent", + "description": "

Option to replace parent issue if one already exists.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "subIssueId", + "description": "

The id of the sub-issue.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "subIssueUrl", + "description": "

The url of the sub-issue.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "AddUpvoteInput", "kind": "inputObjects", @@ -95265,6 +95659,15 @@ "href": "/graphql/reference/scalars#id", "isDeprecated": false }, + { + "name": "parentIssueId", + "description": "

The Node ID of the parent issue to add this new issue to.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, { "name": "projectIds", "description": "

An array of Node IDs for projects associated with this issue.

", @@ -100357,6 +100760,41 @@ } ] }, + { + "name": "RemoveSubIssueInput", + "kind": "inputObjects", + "id": "removesubissueinput", + "href": "/graphql/reference/input-objects#removesubissueinput", + "description": "

Autogenerated input type of RemoveSubIssue.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "issueId", + "description": "

The id of the issue.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "subIssueId", + "description": "

The id of the sub-issue.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "RemoveUpvoteInput", "kind": "inputObjects", @@ -100802,6 +101240,59 @@ } ] }, + { + "name": "ReprioritizeSubIssueInput", + "kind": "inputObjects", + "id": "reprioritizesubissueinput", + "href": "/graphql/reference/input-objects#reprioritizesubissueinput", + "description": "

Autogenerated input type of ReprioritizeSubIssue.

", + "inputFields": [ + { + "name": "afterId", + "description": "

The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified).

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "beforeId", + "description": "

The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified).

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "issueId", + "description": "

The id of the parent issue.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "subIssueId", + "description": "

The id of the sub-issue to reprioritize.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "RequestReviewsInput", "kind": "inputObjects", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 5fa000d7562e..cac39bf16b5b 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -1068,6 +1068,56 @@ type AddStarPayload { starrable: Starrable } +""" +Autogenerated input type of AddSubIssue +""" +input AddSubIssueInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The id of the issue. + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + Option to replace parent issue if one already exists + """ + replaceParent: Boolean + + """ + The id of the sub-issue. + """ + subIssueId: ID @possibleTypes(concreteTypes: ["Issue"]) + + """ + The url of the sub-issue. + """ + subIssueUrl: String +} + +""" +Autogenerated return type of AddSubIssue. +""" +type AddSubIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The parent issue that the sub-issue was added to. + """ + issue: Issue + + """ + The sub-issue of the parent. + """ + subIssue: Issue +} + """ Autogenerated input type of AddUpvote """ @@ -1211,7 +1261,7 @@ type AddedToProjectEvent implements Node { """ Represents an announcement banner. """ -interface AnnouncementBanner { +interface AnnouncementBannerI { """ The text of the announcement """ @@ -7619,6 +7669,11 @@ input CreateIssueInput { """ milestoneId: ID @possibleTypes(concreteTypes: ["Milestone"]) + """ + The Node ID of the parent issue to add this new issue to + """ + parentIssueId: ID @possibleTypes(concreteTypes: ["Issue"]) + """ An array of Node IDs for projects associated with this issue. """ @@ -10374,6 +10429,11 @@ type DeployKey implements Node { """ createdAt: DateTime! + """ + Whether or not the deploy key is enabled by policy at the Enterprise or Organization level. + """ + enabled: Boolean! + """ The Node ID of the DeployKey object """ @@ -12785,7 +12845,7 @@ type EnqueuePullRequestPayload { """ An account to manage multiple organizations with consolidated policy and billing. """ -type Enterprise implements AnnouncementBanner & Node { +type Enterprise implements AnnouncementBannerI & Node { """ The text of the announcement """ @@ -14823,6 +14883,46 @@ type EnterpriseOwnerInfo { query: String ): EnterpriseMemberInvitationConnection! + """ + The setting value for whether deploy keys are enabled for repositories in organizations in this enterprise. + """ + repositoryDeployKeySetting: EnterpriseEnabledDisabledSettingValue! + + """ + A list of enterprise organizations configured with the provided deploy keys setting value. + """ + repositoryDeployKeySettingOrganizations( + """ + 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 + + """ + Ordering options for organizations with this setting. + """ + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} + + """ + The setting value to find organizations for. + """ + value: Boolean! + ): OrganizationConnection! + """ The setting value for whether repository projects are enabled in this enterprise. """ @@ -17336,6 +17436,11 @@ interface GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -17477,6 +17582,11 @@ type GpgSignature implements GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -18287,6 +18397,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ number: Int! + """ + The parent entity of the issue. + """ + parent: Issue + """ A list of Users that are participating in the Issue conversation. """ @@ -18487,6 +18602,36 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ stateReason: IssueStateReason + """ + A list of sub-issues associated with the Issue. + """ + subIssues( + """ + 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 + ): IssueConnection! + + """ + Summary of the state of an issue's sub-issues + """ + subIssuesSummary: SubIssuesSummary! + """ A list of events, comments, commits, etc. associated with the issue. """ @@ -23110,6 +23255,16 @@ type Mutation { input: AddStarInput! ): AddStarPayload + """ + Adds a sub-issue to a given issue + """ + addSubIssue( + """ + Parameters for AddSubIssue + """ + input: AddSubIssueInput! + ): AddSubIssuePayload + """ Add an upvote to a discussion or discussion comment. """ @@ -24380,6 +24535,16 @@ type Mutation { input: RemoveStarInput! ): RemoveStarPayload + """ + Removes a sub-issue from a given issue + """ + removeSubIssue( + """ + Parameters for RemoveSubIssue + """ + input: RemoveSubIssueInput! + ): RemoveSubIssuePayload + """ Remove an upvote to a discussion or discussion comment. """ @@ -24430,6 +24595,16 @@ type Mutation { input: ReorderEnvironmentInput! ): ReorderEnvironmentPayload + """ + Reprioritizes a sub-issue to a different position in the parent list. + """ + reprioritizeSubIssue( + """ + Parameters for ReprioritizeSubIssue + """ + input: ReprioritizeSubIssueInput! + ): ReprioritizeSubIssuePayload + """ Set review requests on a pull request. """ @@ -29049,7 +29224,7 @@ type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry implements AuditEnt """ An account on GitHub, with one or more owners, that has repositories, members and teams. """ -type Organization implements Actor & AnnouncementBanner & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { +type Organization implements Actor & AnnouncementBannerI & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { """ The text of the announcement """ @@ -41981,6 +42156,46 @@ type RemoveStarPayload { starrable: Starrable } +""" +Autogenerated input type of RemoveSubIssue +""" +input RemoveSubIssueInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The id of the issue. + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + The id of the sub-issue. + """ + subIssueId: ID! @possibleTypes(concreteTypes: ["Issue"]) +} + +""" +Autogenerated return type of RemoveSubIssue. +""" +type RemoveSubIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The parent of the sub-issue. + """ + issue: Issue + + """ + The sub-issue of the parent. + """ + subIssue: Issue +} + """ Autogenerated input type of RemoveUpvote """ @@ -48781,6 +48996,51 @@ enum RepositoryVulnerabilityAlertState { OPEN } +""" +Autogenerated input type of ReprioritizeSubIssue +""" +input ReprioritizeSubIssueInput { + """ + The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified). + """ + afterId: ID @possibleTypes(concreteTypes: ["Issue"]) + + """ + The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified). + """ + beforeId: ID @possibleTypes(concreteTypes: ["Issue"]) + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The id of the parent issue. + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + The id of the sub-issue to reprioritize. + """ + subIssueId: ID! @possibleTypes(concreteTypes: ["Issue"]) +} + +""" +Autogenerated return type of ReprioritizeSubIssue. +""" +type ReprioritizeSubIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The parent issue that the sub-issue was reprioritized in. + """ + issue: Issue +} + """ Autogenerated input type of RequestReviews """ @@ -50745,6 +51005,11 @@ type SmimeSignature implements GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -53759,6 +54024,11 @@ type SshSignature implements GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -54412,6 +54682,26 @@ type StripeConnectAccount { stripeDashboardUrl: URI! } +""" +Summary of the state of an issue's sub-issues +""" +type SubIssuesSummary { + """ + Count of completed sub-issues + """ + completed: Int! + + """ + Percent of sub-issues which are completed + """ + percentCompleted: Int! + + """ + Count of total number of sub-issues + """ + total: Int! +} + """ Autogenerated input type of SubmitPullRequestReview """ @@ -57670,6 +57960,11 @@ type UnknownSignature implements GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 242bbb5e21c6..72196dd5c4aa 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -1757,6 +1757,48 @@ } ] }, + { + "name": "addSubIssue", + "kind": "mutations", + "id": "addsubissue", + "href": "/graphql/reference/mutations#addsubissue", + "description": "

Adds a sub-issue to a given issue.

", + "inputFields": [ + { + "name": "input", + "type": "AddSubIssueInput!", + "id": "addsubissueinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#addsubissueinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The parent issue that the sub-issue was added to.

" + }, + { + "name": "subIssue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The sub-issue of the parent.

" + } + ] + }, { "name": "addUpvote", "kind": "mutations", @@ -6087,6 +6129,48 @@ } ] }, + { + "name": "removeSubIssue", + "kind": "mutations", + "id": "removesubissue", + "href": "/graphql/reference/mutations#removesubissue", + "description": "

Removes a sub-issue from a given issue.

", + "inputFields": [ + { + "name": "input", + "type": "RemoveSubIssueInput!", + "id": "removesubissueinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#removesubissueinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The parent of the sub-issue.

" + }, + { + "name": "subIssue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The sub-issue of the parent.

" + } + ] + }, { "name": "removeUpvote", "kind": "mutations", @@ -6257,6 +6341,40 @@ } ] }, + { + "name": "reprioritizeSubIssue", + "kind": "mutations", + "id": "reprioritizesubissue", + "href": "/graphql/reference/mutations#reprioritizesubissue", + "description": "

Reprioritizes a sub-issue to a different position in the parent list.

", + "inputFields": [ + { + "name": "input", + "type": "ReprioritizeSubIssueInput!", + "id": "reprioritizesubissueinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#reprioritizesubissueinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The parent issue that the sub-issue was reprioritized in.

" + } + ] + }, { "name": "requestReviews", "kind": "mutations", @@ -17915,6 +18033,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "enabled", + "description": "

Whether or not the deploy key is enabled by policy at the Enterprise or Organization level.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "id", "description": "

The Node ID of the DeployKey object.

", @@ -21138,9 +21264,9 @@ "description": "

An account to manage multiple organizations with consolidated policy and billing.

", "implements": [ { - "name": "AnnouncementBanner", - "id": "announcementbanner", - "href": "/graphql/reference/interfaces#announcementbanner" + "name": "AnnouncementBannerI", + "id": "announcementbanneri", + "href": "/graphql/reference/interfaces#announcementbanneri" }, { "name": "Node", @@ -24270,6 +24396,84 @@ } ] }, + { + "name": "repositoryDeployKeySetting", + "description": "

The setting value for whether deploy keys are enabled for repositories in organizations in this enterprise.

", + "type": "EnterpriseEnabledDisabledSettingValue!", + "id": "enterpriseenableddisabledsettingvalue", + "kind": "enums", + "href": "/graphql/reference/enums#enterpriseenableddisabledsettingvalue" + }, + { + "name": "repositoryDeployKeySettingOrganizations", + "description": "

A list of enterprise organizations configured with the provided deploy keys setting value.

", + "type": "OrganizationConnection!", + "id": "organizationconnection", + "kind": "objects", + "href": "/graphql/reference/objects#organizationconnection", + "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": "orderBy", + "description": "

Ordering options for organizations with this setting.

", + "type": { + "name": "OrganizationOrder", + "id": "organizationorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationorder" + } + }, + { + "name": "value", + "description": "

The setting value to find organizations for.

", + "type": { + "name": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + } + ] + }, { "name": "repositoryProjectsSetting", "description": "

The setting value for whether repository projects are enabled in this enterprise.

", @@ -27634,6 +27838,14 @@ "kind": "enums", "href": "/graphql/reference/enums#gitsignaturestate" }, + { + "name": "verifiedAt", + "description": "

The date the signature was verified, if valid.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "wasSignedByGitHub", "description": "

True if the signature was made with GitHub's signing key.

", @@ -28575,6 +28787,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "parent", + "description": "

The parent entity of the issue.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + }, { "name": "participants", "description": "

A list of Users that are participating in the Issue conversation.

", @@ -28965,6 +29185,64 @@ "kind": "enums", "href": "/graphql/reference/enums#issuestatereason" }, + { + "name": "subIssues", + "description": "

A list of sub-issues associated with the Issue.

", + "type": "IssueConnection!", + "id": "issueconnection", + "kind": "objects", + "href": "/graphql/reference/objects#issueconnection", + "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": "subIssuesSummary", + "description": "

Summary of the state of an issue's sub-issues.

", + "type": "SubIssuesSummary!", + "id": "subissuessummary", + "kind": "objects", + "href": "/graphql/reference/objects#subissuessummary" + }, { "name": "timeline", "description": "

A list of events, comments, commits, etc. associated with the issue.

", @@ -39736,9 +40014,9 @@ "href": "/graphql/reference/interfaces#actor" }, { - "name": "AnnouncementBanner", - "id": "announcementbanner", - "href": "/graphql/reference/interfaces#announcementbanner" + "name": "AnnouncementBannerI", + "id": "announcementbanneri", + "href": "/graphql/reference/interfaces#announcementbanneri" }, { "name": "MemberStatusable", @@ -67507,6 +67785,14 @@ "kind": "enums", "href": "/graphql/reference/enums#gitsignaturestate" }, + { + "name": "verifiedAt", + "description": "

The date the signature was verified, if valid.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "wasSignedByGitHub", "description": "

True if the signature was made with GitHub's signing key.

", @@ -69117,6 +69403,14 @@ "kind": "enums", "href": "/graphql/reference/enums#gitsignaturestate" }, + { + "name": "verifiedAt", + "description": "

The date the signature was verified, if valid.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "wasSignedByGitHub", "description": "

True if the signature was made with GitHub's signing key.

", @@ -69832,6 +70126,39 @@ } ] }, + { + "name": "SubIssuesSummary", + "kind": "objects", + "id": "subissuessummary", + "href": "/graphql/reference/objects#subissuessummary", + "description": "

Summary of the state of an issue's sub-issues.

", + "fields": [ + { + "name": "completed", + "description": "

Count of completed sub-issues.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "percentCompleted", + "description": "

Percent of sub-issues which are completed.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "total", + "description": "

Count of total number of sub-issues.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, { "name": "Submodule", "kind": "objects", @@ -74306,6 +74633,14 @@ "kind": "enums", "href": "/graphql/reference/enums#gitsignaturestate" }, + { + "name": "verifiedAt", + "description": "

The date the signature was verified, if valid.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "wasSignedByGitHub", "description": "

True if the signature was made with GitHub's signing key.

", @@ -79513,10 +79848,10 @@ ] }, { - "name": "AnnouncementBanner", + "name": "AnnouncementBannerI", "kind": "interfaces", - "id": "announcementbanner", - "href": "/graphql/reference/interfaces#announcementbanner", + "id": "announcementbanneri", + "href": "/graphql/reference/interfaces#announcementbanneri", "description": "

Represents an announcement banner.

", "fields": [ { @@ -80148,6 +80483,14 @@ "kind": "enums", "href": "/graphql/reference/enums#gitsignaturestate" }, + { + "name": "verifiedAt", + "description": "

The date the signature was verified, if valid.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "wasSignedByGitHub", "description": "

True if the signature was made with GitHub's signing key.

", @@ -92853,6 +93196,57 @@ } ] }, + { + "name": "AddSubIssueInput", + "kind": "inputObjects", + "id": "addsubissueinput", + "href": "/graphql/reference/input-objects#addsubissueinput", + "description": "

Autogenerated input type of AddSubIssue.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "issueId", + "description": "

The id of the issue.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "replaceParent", + "description": "

Option to replace parent issue if one already exists.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "subIssueId", + "description": "

The id of the sub-issue.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "subIssueUrl", + "description": "

The url of the sub-issue.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "AddUpvoteInput", "kind": "inputObjects", @@ -95265,6 +95659,15 @@ "href": "/graphql/reference/scalars#id", "isDeprecated": false }, + { + "name": "parentIssueId", + "description": "

The Node ID of the parent issue to add this new issue to.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, { "name": "projectIds", "description": "

An array of Node IDs for projects associated with this issue.

", @@ -100357,6 +100760,41 @@ } ] }, + { + "name": "RemoveSubIssueInput", + "kind": "inputObjects", + "id": "removesubissueinput", + "href": "/graphql/reference/input-objects#removesubissueinput", + "description": "

Autogenerated input type of RemoveSubIssue.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "issueId", + "description": "

The id of the issue.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "subIssueId", + "description": "

The id of the sub-issue.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "RemoveUpvoteInput", "kind": "inputObjects", @@ -100802,6 +101240,59 @@ } ] }, + { + "name": "ReprioritizeSubIssueInput", + "kind": "inputObjects", + "id": "reprioritizesubissueinput", + "href": "/graphql/reference/input-objects#reprioritizesubissueinput", + "description": "

Autogenerated input type of ReprioritizeSubIssue.

", + "inputFields": [ + { + "name": "afterId", + "description": "

The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified).

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "beforeId", + "description": "

The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified).

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "issueId", + "description": "

The id of the parent issue.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "subIssueId", + "description": "

The id of the sub-issue to reprioritize.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "RequestReviewsInput", "kind": "inputObjects", From f238c09ff9a6f659ed696b35173ecbfc3b5176a9 Mon Sep 17 00:00:00 2001 From: Roniece Ricardo <33437850+RonRicardo@users.noreply.github.com> Date: Mon, 2 Dec 2024 19:06:16 -0500 Subject: [PATCH 5/5] Add action for requesting dependabot-updates-reviewers (#53319) Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> --- .github/workflows/reviewers-dependabot.yml | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/reviewers-dependabot.yml diff --git a/.github/workflows/reviewers-dependabot.yml b/.github/workflows/reviewers-dependabot.yml new file mode 100644 index 000000000000..ce1d69a7b3bd --- /dev/null +++ b/.github/workflows/reviewers-dependabot.yml @@ -0,0 +1,34 @@ +name: Add Dependabot Core Maintainers as Reviewers + +# **What it does**: Automatically add reviewers based on paths, for docs-internal and docs repos. +# **Why we have it**: So dependabot maintainers can be notified about relevant pull requests. +# **Who does it impact**: dependabot-updates-reviewers. + +on: + pull_request: + paths: + - 'data/reusable/dependabot/**' + - 'content/code-security/dependabot/**' + - 'content/rest/dependabot/**' + +jobs: + add-reviewer: + if: github.repository == 'github/docs-internal' || github.repository == 'github/docs' + runs-on: ubuntu-latest + steps: + - name: Check out repo + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + + - name: Add Dependabot Core Maintainers as reviewers + env: + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }} + PR: ${{ github.event.pull_request.html_url }} + run: | + has_reviewer=$( + gh pr view $PR --json reviews | + jq 'any(.reviews[]; select(length > 0))' + ) + if ! $has_reviewer + then + gh pr edit $PR --add-reviewer github/dependabot-updates-reviewers + fi