From 940d4b0a33adf7d5c123317c26bbb11a44d5d3f9 Mon Sep 17 00:00:00 2001 From: Stoney <19228888+ThatStoney@users.noreply.github.com> Date: Wed, 2 Sep 2026 14:45:20 +0000 Subject: [PATCH 1/6] Fix stale `aqueduct-1.1.0` version in Resque worker count command (#63021) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b5326a39-f07c-45ba-b7bd-afcdada82f51 --- .../check-system-capacity-before-upgrading.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/admin/upgrading-your-instance/preparing-to-upgrade/check-system-capacity-before-upgrading.md b/content/admin/upgrading-your-instance/preparing-to-upgrade/check-system-capacity-before-upgrading.md index 12465a5ae387..e2499db23a99 100644 --- a/content/admin/upgrading-your-instance/preparing-to-upgrade/check-system-capacity-before-upgrading.md +++ b/content/admin/upgrading-your-instance/preparing-to-upgrade/check-system-capacity-before-upgrading.md @@ -213,7 +213,7 @@ Check current numbers: * Resque workers ```shell - ps -ef | grep aqueduct-1.1.0 | grep -v "grep aqueduct-1.1.0" | wc -l + ps -ef | grep -E 'aqueduct-[0-9]' | grep -v grep | wc -l ``` #### 3. Adjust configuration From 519e601f514e8c2ba32d2ace99eeec3930cc2b32 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Wed, 2 Sep 2026 14:46:08 +0000 Subject: [PATCH 2/6] docs: update gh-stack content from source docs (#62961) Co-authored-by: github-actions[bot] Co-authored-by: Sameen Karim --- .../reference/stacked-prs-cli-commands.md | 15 ++++++++++----- src/content-pipelines/state/gh-stack.sha | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/content/pull-requests/reference/stacked-prs-cli-commands.md b/content/pull-requests/reference/stacked-prs-cli-commands.md index 13a1e0d4c1a8..f4a0a9fd3a18 100644 --- a/content/pull-requests/reference/stacked-prs-cli-commands.md +++ b/content/pull-requests/reference/stacked-prs-cli-commands.md @@ -93,7 +93,9 @@ Add a new branch on top of the current stack. gh stack add [flags] [branch] ``` -Creates a new branch at the current HEAD, adds it to the top of the stack, and checks it out. You must run this command while on the topmost branch of a stack. If you do not provide a branch name, the command prompts for one. +For an existing stack, creates a new branch at the current HEAD, adds it to the top of the stack, and checks it out. You must run this command while on the topmost branch of a stack. If you do not provide a branch name, the command prompts for one. + +When you run the command interactively from a branch that is not part of a stack, `add` offers to initialize a new stack instead. The branch name you supply, or the auto-generated name, becomes the first layer. If you don't supply a name, the standard `init` prompts are used. You can optionally stage changes and create a commit as part of the `add` flow. When you provide `-m` without an explicit branch name, the branch name is generated automatically in date and slug format, such as `03-24-add_login`. @@ -143,7 +145,7 @@ Shows all branches in the stack, their ordering, pull request links, and the mos | Flag | Description | |------|-------------| -| `-s, --short` | Compact output (branch names only) | +| `-s, --short` | Compact one-line-per-branch output | | `--json` | Output stack data as JSON | **Examples:** @@ -154,6 +156,8 @@ gh stack view --short gh stack view --json ``` +`gh stack view --short` uses OSC 8 hyperlinks for pull request numbers when the terminal supports them. Otherwise, the full URL is shown for copy and paste. Set `GH_STACK_HYPERLINKS=1` or `GH_STACK_HYPERLINKS=0` to override terminal detection. + ### `gh stack checkout` Check out a stack by its stack number, a pull request number, a pull request URL, or a branch name. @@ -166,9 +170,9 @@ A bare number is interpreted first as a stack or pull request number. These are When you reference a remote stack, the command fetches the stack on {% data variables.product.github %}, pulls the branches, and sets up the stack locally. If the stack already exists locally and matches, the command switches to the branch. If the local and remote stacks have different compositions, you are prompted to resolve the conflict. -When you provide a branch name, the command resolves it against locally tracked stacks only. +When you provide a branch name, the command checks locally tracked stacks first. If the branch is not tracked locally, the command looks for the branch on remote stacks and pulls down the matching stack. If more than one stack matches, use a stack or pull request number to choose one explicitly. -When you run the command without arguments in an interactive terminal, it opens a searchable picker listing every stack available to you, both the stacks tracked locally and the stacks that exist only on {% data variables.product.github %}. Each row shows the stack number, its bottom and top branch, base branch, a status bar summarizing how many of its pull requests are merged, open, closed, or not yet pushed, and whether the stack is available locally or only on the remote. Filter with the **All**, **Local**, and **Remote** tabs, or type `/` to search. Fully merged stacks are omitted. Selecting a remote-only stack clones it locally before switching to it. +When you run the command without arguments in an interactive terminal, it first checks whether the current branch belongs to a stack on the remote that is not tracked locally, and offers to check it out. If there is no unique match, or you decline, it opens a searchable picker listing every stack available to you, both the stacks tracked locally and the stacks that exist only on {% data variables.product.github %}. Each row shows the stack number, its bottom and top branch, base branch, a status bar summarizing how many of its pull requests are merged, open, closed, or not yet pushed, and whether the stack is available locally or only on the remote. Filter with the **All**, **Local**, and **Remote** tabs, or type `/` to search. Fully merged stacks are omitted. Selecting a remote-only stack clones it locally before switching to it. **Examples:** @@ -182,7 +186,7 @@ gh stack checkout 42 # Check out a stack by pull request URL gh stack checkout https://github.com/owner/repo/pull/42 -# Check out a stack by branch name (local only) +# Check out a stack by branch name gh stack checkout feature-auth # Interactive — pick from all available stacks (local and remote) @@ -687,6 +691,7 @@ gh stack feedback "Support for reordering branches" | Variable | Values | Description | |----------|--------|-------------| | `GH_STACK_THEME` | `auto` (default), `light`, `dark` | Controls the color palette of the interactive screens for `submit`, `modify`, and `view`, and all colored command output. Colors adapt to your terminal background automatically. Set this variable to force the light or dark palette when a terminal does not report its background, which can happen in some SSH or `tmux` setups. | +| `GH_STACK_HYPERLINKS` | `0`, `1` | Disables or enables OSC 8 hyperlinks when terminal detection is incorrect. Unsupported terminals show the full URL by default. | ```shell # Force the light palette for one command diff --git a/src/content-pipelines/state/gh-stack.sha b/src/content-pipelines/state/gh-stack.sha index ef42010d287b..2cab52b4d5db 100644 --- a/src/content-pipelines/state/gh-stack.sha +++ b/src/content-pipelines/state/gh-stack.sha @@ -1 +1 @@ -a1b4a3d4d0bcde9ec3a78ab99b2d63af121857a9 +2bd699a544a09cb5c45a013d03416e0894b0454e From 0c8083eeff12581c6642161d2867d0c8eca3dfe1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Sep 2026 15:23:23 +0000 Subject: [PATCH 3/6] Bump gpt-tokenizer from 3.4.0 to 4.0.0 (#63035) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index fa22fe76aa2d..ab0054faf130 100644 --- a/package-lock.json +++ b/package-lock.json @@ -161,7 +161,7 @@ "eslint-plugin-prettier": "^5.5.5", "eslint-plugin-primer-react": "^9.0.0", "globals": "^17.3.0", - "gpt-tokenizer": "^3.4.0", + "gpt-tokenizer": "^4.0.0", "graphql": "^16.12.0", "http-status-code": "^2.1.0", "husky": "^9.1.7", @@ -8982,9 +8982,9 @@ } }, "node_modules/gpt-tokenizer": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/gpt-tokenizer/-/gpt-tokenizer-3.4.0.tgz", - "integrity": "sha512-wxFLnhIXTDjYebd9A9pGl3e31ZpSypbpIJSOswbgop5jLte/AsZVDvjlbEuVFlsqZixVKqbcoNmRlFDf6pz/UQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/gpt-tokenizer/-/gpt-tokenizer-4.0.0.tgz", + "integrity": "sha512-YAWIyzvuVUHEfW7tFfFAxH8qQb+Q3RU9nYOTy7skMNX5qzU6Q8jxTHZLyO56ug1vYvCR7wndzpd3jwD86/mhjQ==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index 5aa05ce4d1ad..cb006345ef85 100644 --- a/package.json +++ b/package.json @@ -324,7 +324,7 @@ "eslint-plugin-prettier": "^5.5.5", "eslint-plugin-primer-react": "^9.0.0", "globals": "^17.3.0", - "gpt-tokenizer": "^3.4.0", + "gpt-tokenizer": "^4.0.0", "graphql": "^16.12.0", "http-status-code": "^2.1.0", "husky": "^9.1.7", From 129c4dd0c5f49f14239a8f39972fb1864fd68f98 Mon Sep 17 00:00:00 2001 From: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Date: Wed, 2 Sep 2026 15:37:32 +0000 Subject: [PATCH 4/6] Even more spam handling (#63041) --- .github/workflows/check-for-spammy-issues.yml | 4 +++- .github/workflows/check-for-spammy-prs.yml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-for-spammy-issues.yml b/.github/workflows/check-for-spammy-issues.yml index 578706526565..74f9c7f519d8 100644 --- a/.github/workflows/check-for-spammy-issues.yml +++ b/.github/workflows/check-for-spammy-issues.yml @@ -28,6 +28,8 @@ jobs: const titleWordCount = issue.title.trim().split(' ').length const titleWordCountMin = 3 + const urlRegex = /https?:\/\/\S+/i + const titleHasUrl = urlRegex.test(issue.title) try { await github.rest.teams.getMembershipForUserInOrg({ @@ -43,7 +45,7 @@ jobs: // An error will be thrown if the user is not a GitHub employee // If a user is not a GitHub employee, we should check to see if title has at least the minimum required number of words in it and if it does, we can exit the workflow - if (titleWordCount >= titleWordCountMin) { + if (titleWordCount >= titleWordCountMin && !titleHasUrl) { return } } diff --git a/.github/workflows/check-for-spammy-prs.yml b/.github/workflows/check-for-spammy-prs.yml index 29e081ff2c61..e03da545e0db 100644 --- a/.github/workflows/check-for-spammy-prs.yml +++ b/.github/workflows/check-for-spammy-prs.yml @@ -40,9 +40,10 @@ jobs: const totalChanges = files.reduce((sum, f) => sum + f.additions + f.deletions, 0) const isOneLineAddition = files.every(f => f.status === 'added') && totalChanges <= 1 const isBlankLineEdit = totalChanges <= 1 && files.every(f => f.status === 'modified') + const onlyRenames = files.length > 0 && files.every(f => f.status === 'renamed') // Close the PR and add the invalid label - if (onlyDeletes || isEmptyCommit || touchesTooMany || isOneLineAddition || isBlankLineEdit) { + if (onlyDeletes || isEmptyCommit || touchesTooMany || isOneLineAddition || isBlankLineEdit || onlyRenames) { await github.rest.issues.update({ owner: owner, repo: repo, From 85573851adb71ecfceaadd463c5dae56671f523e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Sep 2026 16:16:03 +0000 Subject: [PATCH 5/6] Bump @graphql-inspector/core from 7.1.2 to 8.0.0 (#63034) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index ab0054faf130..7251a4f406b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -119,7 +119,7 @@ "@axe-core/playwright": "^4.11.1", "@eslint/js": "^9.39.3", "@github/markdownlint-github": "^0.6.3", - "@graphql-inspector/core": "^7.1.2", + "@graphql-inspector/core": "^8.0.0", "@graphql-tools/load": "^8.1.8", "@octokit/rest": "22.0.0", "@playwright/test": "^1.60.0", @@ -1423,21 +1423,21 @@ } }, "node_modules/@graphql-inspector/core": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/@graphql-inspector/core/-/core-7.1.2.tgz", - "integrity": "sha512-yYuWN3/2lQsICwy0PL24hPYeNvDP62Z/t7CfQHcB9V4DJhDtNpoyUYBOwBB1YSwNs4nE9ZQhuv2VeBUZigKVQQ==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@graphql-inspector/core/-/core-8.0.0.tgz", + "integrity": "sha512-2nzh/ez5BGi0yuKJnLv6STp2HKHZJ/PtFd5mHlrZTR2SxkvauPLwrvyekVethZRp+fVJHgb+3IcYh7osIAqsng==", "dev": true, "license": "MIT", "dependencies": { - "dependency-graph": "1.0.0", - "object-inspect": "1.13.2", - "tslib": "2.6.2" + "dependency-graph": "^1.0.0", + "object-inspect": "^1.13.2", + "tslib": "~2.6.2" }, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" + "graphql": "^16.0.0 || ^17.0.0" } }, "node_modules/@graphql-tools/load": { diff --git a/package.json b/package.json index cb006345ef85..3fc6618ceceb 100644 --- a/package.json +++ b/package.json @@ -282,7 +282,7 @@ "@axe-core/playwright": "^4.11.1", "@eslint/js": "^9.39.3", "@github/markdownlint-github": "^0.6.3", - "@graphql-inspector/core": "^7.1.2", + "@graphql-inspector/core": "^8.0.0", "@graphql-tools/load": "^8.1.8", "@octokit/rest": "22.0.0", "@playwright/test": "^1.60.0", From 97a57649fc4c4f24974c371783de349f3e501490 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Wed, 2 Sep 2026 16:43:11 +0000 Subject: [PATCH 6/6] GraphQL schema update (#63051) Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com> --- src/graphql/data/fpt/changelog.json | 15 +++++++++++ .../data/fpt/schema-enterprise-admin.json | 4 +-- src/graphql/data/fpt/schema-orgs.json | 4 +++ src/graphql/data/fpt/schema-pulls.json | 8 ++++++ src/graphql/data/fpt/schema.docs.graphql | 25 +++++++++++++++++-- .../data/ghec/schema-enterprise-admin.json | 4 +-- src/graphql/data/ghec/schema-orgs.json | 4 +++ src/graphql/data/ghec/schema-pulls.json | 8 ++++++ src/graphql/data/ghec/schema.docs.graphql | 25 +++++++++++++++++-- 9 files changed, 89 insertions(+), 8 deletions(-) diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 66bc8c7d59fc..d2799233c0e8 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,19 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Enum value 'ENTERPRISE_ORGANIZATION_CREATIONwas added to enumOrganizationInvitationSource'

", + "

Enum value 'ADDED_TO_STACK_EVENTwas added to enumPullRequestTimelineItemsItemType'

", + "

Enum value 'REMOVED_FROM_STACK_EVENTwas added to enumPullRequestTimelineItemsItemType'

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2026-09-02" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema-enterprise-admin.json b/src/graphql/data/fpt/schema-enterprise-admin.json index d929a6f3f0b5..4eefd1d74b11 100644 --- a/src/graphql/data/fpt/schema-enterprise-admin.json +++ b/src/graphql/data/fpt/schema-enterprise-admin.json @@ -378,7 +378,7 @@ "name": "createEnterpriseOrganization", "id": "createenterpriseorganization", "href": "/graphql/reference/enterprise-admin#mutation-createenterpriseorganization", - "description": "

Creates an organization as part of an enterprise account. A personal access\ntoken used to create an organization is implicitly permitted to update the\norganization it created, if the organization is part of an enterprise that has\nSAML enabled or uses Enterprise Managed Users. If the organization is not part\nof such an enterprise, and instead has SAML enabled for it individually, the\ntoken will then require SAML authorization to continue working against that organization.

", + "description": "

Creates an organization as part of an enterprise account. User-authenticated\nrequests make the viewer an owner and invite users in adminLogins.\nInstallation requests directly add listed enterprise members and invite other\nlisted users. Enterprise Managed User enterprises directly add managed users.\nInvitation failures do not roll back organization creation. A personal access\ntoken used to create an organization is implicitly permitted to update the\norganization it created, if the organization is part of an enterprise that has\nSAML enabled or uses Enterprise Managed Users. If the organization is not part\nof such an enterprise, and instead has SAML enabled for it individually, the\ntoken will then require SAML authorization to continue working against that organization.

", "isDeprecated": false, "inputFields": [ { @@ -12222,7 +12222,7 @@ "inputFields": [ { "name": "adminLogins", - "description": "

The logins for the administrators of the new organization.

", + "description": "

For user-authenticated requests, the logins of additional owners to invite.\nFor installation requests, existing enterprise members are added directly and\nother listed users are invited.

", "type": "[String!]!", "id": "string", "href": "/graphql/reference/other#scalar-string" diff --git a/src/graphql/data/fpt/schema-orgs.json b/src/graphql/data/fpt/schema-orgs.json index 49297f15f50a..2b3f7fca351b 100644 --- a/src/graphql/data/fpt/schema-orgs.json +++ b/src/graphql/data/fpt/schema-orgs.json @@ -10485,6 +10485,10 @@ "description": "

The possible organization invitation sources.

", "isDeprecated": false, "values": [ + { + "name": "ENTERPRISE_ORGANIZATION_CREATION", + "description": "

The invitation was created with an enterprise organization.

" + }, { "name": "MEMBER", "description": "

The invitation was created from the web interface or from API.

" diff --git a/src/graphql/data/fpt/schema-pulls.json b/src/graphql/data/fpt/schema-pulls.json index 8b3ad4381810..f158839baaa9 100644 --- a/src/graphql/data/fpt/schema-pulls.json +++ b/src/graphql/data/fpt/schema-pulls.json @@ -8399,6 +8399,10 @@ "name": "ADDED_TO_PROJECT_V2_EVENT", "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

" }, + { + "name": "ADDED_TO_STACK_EVENT", + "description": "

Represents anadded_to_stackevent on a given pull request.

" + }, { "name": "ARCHIVED_EVENT", "description": "

Represents anarchivedevent on a given pull request.

" @@ -8639,6 +8643,10 @@ "name": "REMOVED_FROM_PROJECT_V2_EVENT", "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

" }, + { + "name": "REMOVED_FROM_STACK_EVENT", + "description": "

Represents aremoved_from_stackevent on a given pull request.

" + }, { "name": "RENAMED_TITLE_EVENT", "description": "

Represents arenamedevent on a given issue or pull request.

" diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 54f4493ffc81..2dd51b3676cc 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -8326,7 +8326,9 @@ Autogenerated input type of CreateEnterpriseOrganization """ input CreateEnterpriseOrganizationInput { """ - The logins for the administrators of the new organization. + For user-authenticated requests, the logins of additional owners to invite. + For installation requests, existing enterprise members are added directly and + other listed users are invited. """ adminLogins: [String!]! @@ -27828,7 +27830,11 @@ type Mutation @docsCategory(name: "meta") { ): CreateDiscussionPayload @docsCategory(name: "discussions") """ - Creates an organization as part of an enterprise account. A personal access + Creates an organization as part of an enterprise account. User-authenticated + requests make the viewer an owner and invite users in `adminLogins`. + Installation requests directly add listed enterprise members and invite other + listed users. Enterprise Managed User enterprises directly add managed users. + Invitation failures do not roll back organization creation. A personal access token used to create an organization is implicitly permitted to update the organization it created, if the organization is part of an enterprise that has SAML enabled or uses Enterprise Managed Users. If the organization is not part @@ -37443,6 +37449,11 @@ enum OrganizationInvitationRole @docsCategory(name: "orgs") { The possible organization invitation sources. """ enum OrganizationInvitationSource @docsCategory(name: "orgs") { + """ + The invitation was created with an enterprise organization + """ + ENTERPRISE_ORGANIZATION_CREATION + """ The invitation was created from the web interface or from API """ @@ -47483,6 +47494,11 @@ enum PullRequestTimelineItemsItemType { """ ADDED_TO_PROJECT_V2_EVENT + """ + Represents an 'added_to_stack' event on a given pull request. + """ + ADDED_TO_STACK_EVENT + """ Represents an 'archived' event on a given pull request. """ @@ -47783,6 +47799,11 @@ enum PullRequestTimelineItemsItemType { """ REMOVED_FROM_PROJECT_V2_EVENT + """ + Represents a 'removed_from_stack' event on a given pull request. + """ + REMOVED_FROM_STACK_EVENT + """ Represents a 'renamed' event on a given issue or pull request """ diff --git a/src/graphql/data/ghec/schema-enterprise-admin.json b/src/graphql/data/ghec/schema-enterprise-admin.json index d929a6f3f0b5..4eefd1d74b11 100644 --- a/src/graphql/data/ghec/schema-enterprise-admin.json +++ b/src/graphql/data/ghec/schema-enterprise-admin.json @@ -378,7 +378,7 @@ "name": "createEnterpriseOrganization", "id": "createenterpriseorganization", "href": "/graphql/reference/enterprise-admin#mutation-createenterpriseorganization", - "description": "

Creates an organization as part of an enterprise account. A personal access\ntoken used to create an organization is implicitly permitted to update the\norganization it created, if the organization is part of an enterprise that has\nSAML enabled or uses Enterprise Managed Users. If the organization is not part\nof such an enterprise, and instead has SAML enabled for it individually, the\ntoken will then require SAML authorization to continue working against that organization.

", + "description": "

Creates an organization as part of an enterprise account. User-authenticated\nrequests make the viewer an owner and invite users in adminLogins.\nInstallation requests directly add listed enterprise members and invite other\nlisted users. Enterprise Managed User enterprises directly add managed users.\nInvitation failures do not roll back organization creation. A personal access\ntoken used to create an organization is implicitly permitted to update the\norganization it created, if the organization is part of an enterprise that has\nSAML enabled or uses Enterprise Managed Users. If the organization is not part\nof such an enterprise, and instead has SAML enabled for it individually, the\ntoken will then require SAML authorization to continue working against that organization.

", "isDeprecated": false, "inputFields": [ { @@ -12222,7 +12222,7 @@ "inputFields": [ { "name": "adminLogins", - "description": "

The logins for the administrators of the new organization.

", + "description": "

For user-authenticated requests, the logins of additional owners to invite.\nFor installation requests, existing enterprise members are added directly and\nother listed users are invited.

", "type": "[String!]!", "id": "string", "href": "/graphql/reference/other#scalar-string" diff --git a/src/graphql/data/ghec/schema-orgs.json b/src/graphql/data/ghec/schema-orgs.json index 49297f15f50a..2b3f7fca351b 100644 --- a/src/graphql/data/ghec/schema-orgs.json +++ b/src/graphql/data/ghec/schema-orgs.json @@ -10485,6 +10485,10 @@ "description": "

The possible organization invitation sources.

", "isDeprecated": false, "values": [ + { + "name": "ENTERPRISE_ORGANIZATION_CREATION", + "description": "

The invitation was created with an enterprise organization.

" + }, { "name": "MEMBER", "description": "

The invitation was created from the web interface or from API.

" diff --git a/src/graphql/data/ghec/schema-pulls.json b/src/graphql/data/ghec/schema-pulls.json index 8b3ad4381810..f158839baaa9 100644 --- a/src/graphql/data/ghec/schema-pulls.json +++ b/src/graphql/data/ghec/schema-pulls.json @@ -8399,6 +8399,10 @@ "name": "ADDED_TO_PROJECT_V2_EVENT", "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

" }, + { + "name": "ADDED_TO_STACK_EVENT", + "description": "

Represents anadded_to_stackevent on a given pull request.

" + }, { "name": "ARCHIVED_EVENT", "description": "

Represents anarchivedevent on a given pull request.

" @@ -8639,6 +8643,10 @@ "name": "REMOVED_FROM_PROJECT_V2_EVENT", "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

" }, + { + "name": "REMOVED_FROM_STACK_EVENT", + "description": "

Represents aremoved_from_stackevent on a given pull request.

" + }, { "name": "RENAMED_TITLE_EVENT", "description": "

Represents arenamedevent on a given issue or pull request.

" diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 54f4493ffc81..2dd51b3676cc 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -8326,7 +8326,9 @@ Autogenerated input type of CreateEnterpriseOrganization """ input CreateEnterpriseOrganizationInput { """ - The logins for the administrators of the new organization. + For user-authenticated requests, the logins of additional owners to invite. + For installation requests, existing enterprise members are added directly and + other listed users are invited. """ adminLogins: [String!]! @@ -27828,7 +27830,11 @@ type Mutation @docsCategory(name: "meta") { ): CreateDiscussionPayload @docsCategory(name: "discussions") """ - Creates an organization as part of an enterprise account. A personal access + Creates an organization as part of an enterprise account. User-authenticated + requests make the viewer an owner and invite users in `adminLogins`. + Installation requests directly add listed enterprise members and invite other + listed users. Enterprise Managed User enterprises directly add managed users. + Invitation failures do not roll back organization creation. A personal access token used to create an organization is implicitly permitted to update the organization it created, if the organization is part of an enterprise that has SAML enabled or uses Enterprise Managed Users. If the organization is not part @@ -37443,6 +37449,11 @@ enum OrganizationInvitationRole @docsCategory(name: "orgs") { The possible organization invitation sources. """ enum OrganizationInvitationSource @docsCategory(name: "orgs") { + """ + The invitation was created with an enterprise organization + """ + ENTERPRISE_ORGANIZATION_CREATION + """ The invitation was created from the web interface or from API """ @@ -47483,6 +47494,11 @@ enum PullRequestTimelineItemsItemType { """ ADDED_TO_PROJECT_V2_EVENT + """ + Represents an 'added_to_stack' event on a given pull request. + """ + ADDED_TO_STACK_EVENT + """ Represents an 'archived' event on a given pull request. """ @@ -47783,6 +47799,11 @@ enum PullRequestTimelineItemsItemType { """ REMOVED_FROM_PROJECT_V2_EVENT + """ + Represents a 'removed_from_stack' event on a given pull request. + """ + REMOVED_FROM_STACK_EVENT + """ Represents a 'renamed' event on a given issue or pull request """