From df5f56a31b0752a9ce36a8adf9edecabeb337a73 Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Wed, 22 Jul 2026 14:50:13 +0000 Subject: [PATCH 1/8] Pin @primer/react to 38.19.0 to fix language picker scroll bug (#62342) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7c094cdd-12e7-4752-9bff-9ff80fc00c11 --- package-lock.json | 136 +++++++++++++++++++++++++++++++++++++++++----- package.json | 2 +- 2 files changed, 124 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3a59d81bf129..115a1660e2c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "@primer/octicons": "^19.22.0", "@primer/octicons-react": "^19.22.0", "@primer/primitives": "^11.3.1", - "@primer/react": "^38.13.0", + "@primer/react": "38.19.0", "@primer/react-brand": "^0.70.0", "accept-language-parser": "^1.5.0", "ajv": "^8.18.0", @@ -1259,6 +1259,31 @@ "strtok3": "^10.2.2" } }, + "node_modules/@floating-ui/core": { + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.5.tgz", + "integrity": "sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ==", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.11" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.6.tgz", + "integrity": "sha512-9gZSAI5XM36880PPMm//9dfiEngYoC6Am2izES1FF406YFsjvyBMmeJ2g4SAju3xWwtuynNRFL2s9hgxpLI5SQ==", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.7.5", + "@floating-ui/utils": "^0.2.11" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.11", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.11.tgz", + "integrity": "sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==", + "license": "MIT" + }, "node_modules/@github/auto-check-element": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/@github/auto-check-element/-/auto-check-element-5.6.0.tgz", @@ -2141,9 +2166,10 @@ "integrity": "sha512-DiZdJYFU0tBbdQkfwwRSwYyI/mcWkg3sWesKRsHUd4G+NekTmmeq9fzsurvcKTNVa0comNljwtg4Hvi1ds3V+A==" }, "node_modules/@lit-labs/ssr-dom-shim": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.0.tgz", - "integrity": "sha512-yWJKmpGE6lUURKAaIltoPIE/wrbY3TEkqQt+X0m+7fQNnAv0keydnYvbiJFP1PnMhizmIWRWOG5KLhYyc/xl+g==" + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.6.0.tgz", + "integrity": "sha512-VHb0ALPMTlgKjM6yIxxoQNnpKyUKLD04VzeQdsiXkMqkvYlAHxq9glGLmgbb889/1GsohSOAjvQYoiBppXFqrQ==", + "license": "BSD-3-Clause" }, "node_modules/@mswjs/interceptors": { "version": "0.41.3", @@ -2587,6 +2613,36 @@ "@octokit/openapi-types": "^27.0.0" } }, + "node_modules/@oddbird/css-anchor-positioning": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@oddbird/css-anchor-positioning/-/css-anchor-positioning-0.9.0.tgz", + "integrity": "sha512-G5nfb4sU0auxJH7VHafPwVJjr1GhH5uPSkmytGqhNftCpT3QEh8pFtMd4YHt1dRwb4o9qVZxlGSKUIc4TIrysQ==", + "license": "BSD-3-Clause", + "dependencies": { + "@floating-ui/dom": "^1.7.5", + "@types/css-tree": "^2.3.11", + "css-tree": "^3.1.0", + "nanoid": "^5.1.6" + } + }, + "node_modules/@oddbird/css-anchor-positioning/node_modules/nanoid": { + "version": "5.1.16", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.16.tgz", + "integrity": "sha512-kVrnsrJqMR8+oLJnGEmSWw9BivK5mt7H3FZatVRjrc5wGqFYuBxX1yG7+A7Gi5AefkX6t/oCkizcQgpu0cY1dQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.js" + }, + "engines": { + "node": "^18 || >=20" + } + }, "node_modules/@oddbird/popover-polyfill": { "version": "0.4.4", "resolved": "https://registry.npmjs.org/@oddbird/popover-polyfill/-/popover-polyfill-0.4.4.tgz", @@ -3630,9 +3686,9 @@ } }, "node_modules/@primer/behaviors": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.10.2.tgz", - "integrity": "sha512-93juWZbWg2DRhC11+7RT7hMpY1VD3lBosLmccqEZ65yrCHqkBCjI8Uj8wxs3y0U+wWE07LAoLHAPylyWbifg5A==", + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.10.3.tgz", + "integrity": "sha512-cxxWDeR5IE7vdL0Ca0RAAAuPVrU+Bo8CSP1WfawGo4rEP1sZTi7hwl5i7TT0jCTCR0C9IfnQBfSPAkz0oznxUw==", "license": "MIT" }, "node_modules/@primer/css": { @@ -3673,9 +3729,9 @@ } }, "node_modules/@primer/octicons-react": { - "version": "19.22.0", - "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-19.22.0.tgz", - "integrity": "sha512-I6hQfmxbM6YbjwQ/VRaGAk+/aFHzqhWh0hThPkO/CyYKrNzEfy/sFAsoSwDH2hRDR7CCCdQaILEDQBT3gaV1bw==", + "version": "19.29.1", + "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-19.29.1.tgz", + "integrity": "sha512-xYR53DDJAISb5AUf9oyOLj5LOLdPh0Sf6mawtBPpggF0x240IGLhWmRL+Zx58w35Sa9rmqYLyh1ffgdrHhJ06A==", "license": "MIT", "engines": { "node": ">=8" @@ -3691,20 +3747,22 @@ "license": "MIT" }, "node_modules/@primer/react": { - "version": "38.13.0", - "resolved": "https://registry.npmjs.org/@primer/react/-/react-38.13.0.tgz", - "integrity": "sha512-hQ34xXnY4TZTN0N5LAVxF9JUZA3YF3JAC5tQfgssVsCSvQ5cygAw0Jozf4Cfo6TXiw5DqSz6HTfhbyH5zAmwvA==", + "version": "38.19.0", + "resolved": "https://registry.npmjs.org/@primer/react/-/react-38.19.0.tgz", + "integrity": "sha512-BTnMdTKB/6BsU1qTczT08vG+CTmiPOoz6C3n6MXfShAizGpGZnXtitUCdge5wHmL7G/j2tYsJVDI4p54KQo3yA==", "license": "MIT", "dependencies": { "@github/mini-throttle": "^2.1.1", "@github/relative-time-element": "^4.5.0", "@github/tab-container-element": "^4.8.2", "@lit-labs/react": "1.2.1", + "@oddbird/css-anchor-positioning": "^0.9.0", "@oddbird/popover-polyfill": "^0.5.2", "@primer/behaviors": "^1.10.2", "@primer/live-region-element": "^0.7.1", "@primer/octicons-react": "^19.21.0", "@primer/primitives": "10.x || 11.x", + "@tanstack/react-virtual": "^3.13.18", "clsx": "^2.1.1", "color2k": "^2.0.3", "deepmerge": "^4.3.1", @@ -4263,6 +4321,33 @@ "node": ">=14.16" } }, + "node_modules/@tanstack/react-virtual": { + "version": "3.14.5", + "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.14.5.tgz", + "integrity": "sha512-4EKRXh7zBLkbKbFmG3AUVkircuHd+7OdT1pocJSepxtfBd3qnrJgJ5rtPkRYyo9fmyVb2+pI2xPy5oYvMLQy6A==", + "license": "MIT", + "dependencies": { + "@tanstack/virtual-core": "3.17.3" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/@tanstack/virtual-core": { + "version": "3.17.3", + "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.17.3.tgz", + "integrity": "sha512-8Np/TFELpI0ySuJoVmjvOrQYXH/8sTX0Biv9szhFhY39xOdAAY+smrMxjxOum/ux3eM8MUJQsEJ0/R0UpvC8dw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, "node_modules/@tokenizer/inflate": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/@tokenizer/inflate/-/inflate-0.4.1.tgz", @@ -4355,6 +4440,12 @@ "@types/express": "*" } }, + "node_modules/@types/css-tree": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.3.11.tgz", + "integrity": "sha512-aEokibJOI77uIlqoBOkVbaQGC9zII0A+JH1kcTNKW2CwyYWD8KM6qdo+4c77wD3wZOQfJuNWAr9M4hdk+YhDIg==", + "license": "MIT" + }, "node_modules/@types/debug": { "version": "4.1.12", "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", @@ -6684,6 +6775,19 @@ "url": "https://github.com/sponsors/fb55" } }, + "node_modules/css-tree": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz", + "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==", + "license": "MIT", + "dependencies": { + "mdn-data": "2.27.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" + } + }, "node_modules/css-url-parser": { "version": "1.1.3", "dev": true, @@ -11460,6 +11564,12 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/mdn-data": { + "version": "2.27.1", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz", + "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==", + "license": "CC0-1.0" + }, "node_modules/mdurl": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", diff --git a/package.json b/package.json index e33d1bdda3fb..d8bb46c198b9 100644 --- a/package.json +++ b/package.json @@ -190,7 +190,7 @@ "@primer/octicons": "^19.22.0", "@primer/octicons-react": "^19.22.0", "@primer/primitives": "^11.3.1", - "@primer/react": "^38.13.0", + "@primer/react": "38.19.0", "@primer/react-brand": "^0.70.0", "accept-language-parser": "^1.5.0", "ajv": "^8.18.0", From bf61d4da809d5658d2854a77fc2490f7de909b17 Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Wed, 22 Jul 2026 14:50:22 +0000 Subject: [PATCH 2/8] Fix admin landing page scrape failures for ja, ru, zh (#62356) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: c3853c47-4ddf-4c80-bca4-bdd2c865aaf4 --- .../lib/correct-translation-content.ts | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/src/languages/lib/correct-translation-content.ts b/src/languages/lib/correct-translation-content.ts index 6f0460e70c1a..e1497645e648 100644 --- a/src/languages/lib/correct-translation-content.ts +++ b/src/languages/lib/correct-translation-content.ts @@ -526,6 +526,18 @@ export function correctTranslatedContentStrings( '{% endif %} 上で{% endif %}エンタープライズとの通信を実行できるように Okta を構成する方法を学習します。', '{% endif %} 上でエンタープライズとの通信を実行できるように Okta を構成する方法を学習します。', ) + + // [SCRAPE-6759] admin/managing-iam/iam-configuration-reference/username-considerations-for-external-authentication.md + // (intro): the second conditional block was scrambled — `{% endif %}`, + // `{% elsif ghes %}` and `{% ifversion ghec %}` ended up out of order, leaving + // an orphan `endif` and a never-closed `ifversion`. This breaks the admin + // landing page render (`tag "endif" not found`). Reconstruct to match English: + // determine the username for each user account {% ifversion ghec %}in your + // enterprise{% elsif ghes %}on your instance{% endif %}. Prose preserved. + content = content.replaceAll( + 'は一定のルールに従って、インスタンス{% endif %}上のエンタープライズ{% elsif ghes %}内の各ユーザーアカウント{% ifversion ghec %}のユーザー名を決定します。', + 'は一定のルールに従って、{% ifversion ghec %}エンタープライズ内{% elsif ghes %}インスタンス上{% endif %}の各ユーザーアカウントのユーザー名を決定します。', + ) } if (context.code === 'pt') { @@ -918,6 +930,18 @@ export function correctTranslatedContentStrings( '企业中 {% data variables.product.github %}{% elsif ghes %} 上 {% data variables.location.product_location %}{% endif %} 上每个新个人帐户 {% ifversion ghec %} 的用户名。', '{% ifversion ghec %}企业中 {% data variables.product.github %}{% elsif ghes %} 上 {% data variables.location.product_location %}{% endif %} 上每个新个人帐户的用户名。', ) + + // [SCRAPE-6759] admin/managing-iam/iam-configuration-reference/username-considerations-for-external-authentication.md + // (intro): the second conditional block was scrambled — `{% endif %}`, + // `{% elsif ghes %}` and `{% ifversion ghec %}` ended up out of order, leaving + // an orphan `endif` and a never-closed `ifversion`. This breaks the admin + // landing page render (`tag "endif" not found`). Reconstruct to match English: + // determine the username for each user account {% ifversion ghec %}in your + // enterprise{% elsif ghes %}on your instance{% endif %}. Prose preserved. + content = content.replaceAll( + '会按照特定规则确定您实例{% endif %}上您企业{% elsif ghes %}中各个用户帐户{% ifversion ghec %}的用户名。', + '会按照特定规则确定{% ifversion ghec %}您企业中{% elsif ghes %}您实例上{% endif %}各个用户帐户的用户名。', + ) } if (context.code === 'ru') { @@ -1274,6 +1298,19 @@ export function correctTranslatedContentStrings( 'связанную личность, активные сессии и авторизованные учетные{% else %}данные {% ifversion ghec %}SAML{% endif %}', '{% ifversion ghec %}связанную личность, активные сессии и авторизованные учетные данные{% else %}активные сессии SAML{% endif %}', ) + + // [SCRAPE-6759] admin/managing-iam/understanding-iam-for-enterprises/about-saml-for-enterprise-iam.md + // (intro): the `{% ifversion ghec %}...{% elsif ghes %}...{% endif %}` block was + // scrambled — `{% endif %}` was placed before `{% elsif ghes %}` and the final + // `{% endif %}` was dropped, leaving an orphan `elsif`. This breaks the admin + // landing page render (`tag "elsif" not found`). Reconstruct to match English: + // centrally manage access {% ifversion ghec %}to organizations owned by your + // enterprise on {% data ...dotcom_the_website %}{% elsif ghes %}to + // {% data ...product_location %}{% endif %}. Prose preserved. + content = content.replaceAll( + 'доступом {% ifversion ghec %}к организациям, принадлежащим вашей организации{% endif %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.location.product_location %}.', + 'доступом {% ifversion ghec %}к организациям, принадлежащим вашей организации на {% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}к {% data variables.location.product_location %}{% endif %}.', + ) } if (context.code === 'fr') { From fe602460f51303639c90ebecdc4f98418cab5c98 Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Wed, 22 Jul 2026 14:50:30 +0000 Subject: [PATCH 3/8] Derive GraphQL categories for un-annotated types (#62194) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/graphql/scripts/utils/process-schemas.ts | 120 +++++++++++++++ src/graphql/tests/derive-categories.ts | 150 +++++++++++++++++++ 2 files changed, 270 insertions(+) create mode 100644 src/graphql/tests/derive-categories.ts diff --git a/src/graphql/scripts/utils/process-schemas.ts b/src/graphql/scripts/utils/process-schemas.ts index 80296341b152..8e626e211c59 100755 --- a/src/graphql/scripts/utils/process-schemas.ts +++ b/src/graphql/scripts/utils/process-schemas.ts @@ -4,6 +4,8 @@ import type { DocumentNode, ObjectTypeDefinitionNode, InputObjectTypeDefinitionNode, + EnumTypeDefinitionNode, + UnionTypeDefinitionNode, FieldDefinitionNode, InputValueDefinitionNode, ConstDirectiveNode, @@ -394,6 +396,124 @@ export default async function processSchemas( if (!changed) break } + // (c) General reference-based inheritance. An un-annotated enum, union, or + // input object inherits the category of the type(s) that reference it, but + // only when every referrer resolves to a single category; ambiguous types + // (referrers disagree, or a referrer is itself ambiguous) stay in `other`. + // This is the derived successor to a static exception list: it catches + // generated/indirect types that github/github never annotates directly while + // still letting the upstream team own the outcome via the parent type's + // `docs_category`. + // + // Examples this resolves today: + // - `IssueTimelineItemsItemType` / `PullRequestTimelineItemsItemType`: + // runtime-generated enums used only as the `itemTypes` argument on + // `Issue.timelineItems` (issues) / `PullRequest.timelineItems` (pulls). + // - `RepositoryRuleType` (enum) and `RuleParameters` (union): referenced + // from the annotated `RepositoryRule` object (repos). + // - `RuleParametersInput` (input): referenced from the annotated + // `RepositoryRuleInput` input object (repos). + // + // A "referrer category" is the category of: + // - the owning object type, for a field's return type or a field argument's + // type (interfaces are intentionally excluded: they are cross-cutting and + // make coincidental single-category matches likely); + // - the Mutation root field, for that field's arguments; + // - the owning input object, for an input field's type. Input objects can + // themselves be uncategorized-but-derivable, so this rule propagates + // transitively through nested inputs. + // + // Implemented as a monotone fixpoint over candidate category *sets* rather + // than committing categories as we go: a type is only assigned once its + // candidate set has stopped growing, so the result is independent of + // definition/derivation order and a later-discovered conflicting referrer + // can never be missed. Explicit annotations and derivations (a)/(b) always + // win: we only compute candidates for ids `lookupCat` still can't resolve. + const derivableTargets = schemaAST.definitions.filter( + ( + def, + ): def is EnumTypeDefinitionNode | UnionTypeDefinitionNode | InputObjectTypeDefinitionNode => + def.kind === 'EnumTypeDefinition' || + def.kind === 'UnionTypeDefinition' || + def.kind === 'InputObjectTypeDefinition', + ) + const inputDefs = schemaAST.definitions.filter( + (def): def is InputObjectTypeDefinitionNode => def.kind === 'InputObjectTypeDefinition', + ) + + const targetIds = new Set() + for (const def of derivableTargets) { + const id = helpers.getId(def.name.value) + if (!lookupCat(id)) targetIds.add(id) + } + + if (targetIds.size > 0) { + const candidates = new Map>() + for (const id of targetIds) candidates.set(id, new Set()) + + // Categories a type contributes when it appears as a referrer. Annotated / + // fallback types contribute their single category; an uncommitted derivable + // referrer (only ever an input object here) contributes its current + // candidate set so ambiguity propagates downstream. + const contribution = (referrerId: string): Iterable => { + const explicit = lookupCat(referrerId) + if (explicit) return [explicit] + return candidates.get(referrerId) ?? [] + } + const addRef = (targetName: string | undefined, cats: Iterable): boolean => { + if (!targetName) return false + const id = helpers.getId(targetName) + const set = candidates.get(id) + if (!set) return false + let grew = false + for (const c of cats) { + if (!set.has(c)) { + set.add(c) + grew = true + } + } + return grew + } + + // Bounded by the worst-case propagation depth; each pass only adds to sets, + // so this terminates well before the cap. + const maxPasses = targetIds.size + 2 + for (let pass = 0; pass < maxPasses; pass++) { + let changed = false + + for (const def of objectDefs) { + const name = def.name.value + if (name === 'Query') continue + const isMutation = name === 'Mutation' + for (const field of def.fields || []) { + // Mutation fields carry their own category and their payload return + // type is already annotated, so (like rule (a)) we only walk args. + const fieldCats: Iterable = isMutation + ? ((c) => (c ? [c] : []))(getMutationCat(field.name.value)) + : contribution(helpers.getId(name)) + if (!isMutation && addRef(namedTypeName(field.type), fieldCats)) changed = true + for (const arg of field.arguments || []) { + if (addRef(namedTypeName(arg.type), fieldCats)) changed = true + } + } + } + + for (const def of inputDefs) { + const ownerCats = contribution(helpers.getId(def.name.value)) + for (const field of def.fields || []) { + if (addRef(namedTypeName(field.type), ownerCats)) changed = true + } + } + + if (!changed) break + } + + // Assign only the targets whose final candidate set is unambiguous. + for (const [id, cats] of candidates) { + if (cats.size === 1) typeCategoryMap.set(id, [...cats][0]) + } + } + // Normalize unknown categories (e.g. `:checks`, `:search`, `:packages`, // `:security_advisories`) to `other`. The upstream gh/gh allowlist permits // many categories that docs-internal hasn't yet built per-category landing diff --git a/src/graphql/tests/derive-categories.ts b/src/graphql/tests/derive-categories.ts new file mode 100644 index 000000000000..fa3138ef1baa --- /dev/null +++ b/src/graphql/tests/derive-categories.ts @@ -0,0 +1,150 @@ +import { describe, expect, test } from 'vitest' + +import processSchemas from '../scripts/utils/process-schemas' + +// Minimal `@docsCategory` directive declaration so `buildASTSchema` can parse +// the fixtures below. Mirrors the real declaration emitted by github/github. +const DIRECTIVE = ` +directive @docsCategory(name: String!) on ENUM | FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | UNION +` + +// Run processSchemas over an inline IDL and return a flat name -> category map +// across every kind, so tests can assert where a type landed. +async function categoriesFor(idl: string): Promise> { + const data = await processSchemas(`${DIRECTIVE}\n${idl}`, []) + const out: Record = {} + for (const kind of Object.keys(data) as (keyof typeof data)[]) { + for (const item of data[kind] as Array<{ name?: string; category?: string }>) { + if (item?.name && item.category) out[item.name] = item.category + } + } + return out +} + +// Every fixture needs a Query root; a `viewer` field keeps it non-empty. +const QUERY = ` +type Query { + viewer: String +} +` + +describe('reference-based category derivation (PASS 1.5 rule c)', () => { + test('enum inherits from an annotated object field return type', async () => { + const cats = await categoriesFor(` + ${QUERY} + type RepositoryRule @docsCategory(name: "repos") { + type: RepositoryRuleType + } + enum RepositoryRuleType { CREATION DELETION } + `) + expect(cats.RepositoryRuleType).toBe('repos') + }) + + test('union inherits from an annotated object field', async () => { + const cats = await categoriesFor(` + ${QUERY} + type RepositoryRule @docsCategory(name: "repos") { + parameters: RuleParameters + } + type UpdateParameters @docsCategory(name: "repos") { value: String } + union RuleParameters = UpdateParameters + `) + expect(cats.RuleParameters).toBe('repos') + }) + + test('enum inherits from an annotated object field argument', async () => { + // Mirrors Issue.timelineItems(itemTypes: [IssueTimelineItemsItemType!]). + const cats = await categoriesFor(` + ${QUERY} + type Issue @docsCategory(name: "issues") { + timelineItems(itemTypes: [IssueTimelineItemsItemType!]): String + } + enum IssueTimelineItemsItemType { ASSIGNED_EVENT CLOSED_EVENT } + `) + expect(cats.IssueTimelineItemsItemType).toBe('issues') + }) + + test('input object inherits transitively through nested input fields', async () => { + const cats = await categoriesFor(` + ${QUERY} + input RepositoryRuleInput @docsCategory(name: "repos") { + parameters: RuleParametersInput + } + input RuleParametersInput { nested: NestedParametersInput } + input NestedParametersInput { value: String } + `) + expect(cats.RuleParametersInput).toBe('repos') + // Propagates another hop through the still-uncategorized input chain. + expect(cats.NestedParametersInput).toBe('repos') + }) + + test('ambiguous referrers keep the type on `other`', async () => { + const cats = await categoriesFor(` + ${QUERY} + type Issue @docsCategory(name: "issues") { + state: SharedEnum + } + type PullRequest @docsCategory(name: "pulls") { + state: SharedEnum + } + enum SharedEnum { OPEN CLOSED } + `) + expect(cats.SharedEnum).toBe('other') + }) + + test('an explicit annotation wins over conflicting referrers', async () => { + const cats = await categoriesFor(` + ${QUERY} + type Issue @docsCategory(name: "issues") { + state: AnnotatedEnum + } + type PullRequest @docsCategory(name: "pulls") { + state: AnnotatedEnum + } + enum AnnotatedEnum @docsCategory(name: "repos") { OPEN CLOSED } + `) + expect(cats.AnnotatedEnum).toBe('repos') + }) + + test('a type referenced only from a Query field stays on `other`', async () => { + const cats = await categoriesFor(` + type Query { + search(kind: QueryOnlyEnum): String + } + enum QueryOnlyEnum { REPO USER } + `) + expect(cats.QueryOnlyEnum).toBe('other') + }) + + test('interfaces are not a referrer source', async () => { + // Interface is annotated and references the enum, but no object does, so + // the enum must not inherit the interface's category. + const cats = await categoriesFor(` + ${QUERY} + interface Rulable @docsCategory(name: "repos") { + kind: InterfaceOnlyEnum + } + enum InterfaceOnlyEnum { A B } + `) + expect(cats.InterfaceOnlyEnum).toBe('other') + }) + + test('an unreferenced type stays on `other`', async () => { + const cats = await categoriesFor(` + ${QUERY} + enum OrphanEnum { A B } + `) + expect(cats.OrphanEnum).toBe('other') + }) + + test('an enum used only as a mutation field argument inherits the mutation category', async () => { + const cats = await categoriesFor(` + ${QUERY} + type Mutation { + createRepositoryRule(kind: MutationArgEnum): String @docsCategory(name: "repos") + } + enum MutationArgEnum { A B } + `) + expect(cats.MutationArgEnum).toBe('repos') + }) +}) From 5ffcba9c72d47fcf4dec239f25a15998158a49db Mon Sep 17 00:00:00 2001 From: Evan Bonsignori Date: Wed, 22 Jul 2026 15:01:07 +0000 Subject: [PATCH 4/8] Guard no-response workflow against bot-authored issue_comment events (#62344) --- .github/workflows/no-response.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/no-response.yaml b/.github/workflows/no-response.yaml index 3aa6655d60a6..51af07203ca1 100644 --- a/.github/workflows/no-response.yaml +++ b/.github/workflows/no-response.yaml @@ -22,7 +22,16 @@ permissions: jobs: noResponse: runs-on: ubuntu-latest - if: github.repository == 'github/docs' + # Only run in the OS repository, and skip bot-authored events. On failure the + # create-workflow-failure-issue step below posts a comment (as a bot); that + # comment is itself an issue_comment event that would re-trigger this workflow. + # During a transient failure that loops, so guard against bot actors to keep + # one failure from producing a flood of runs and Slack alerts. + if: >- + github.repository == 'github/docs' && + github.actor != 'docs-bot' && + github.actor != 'github-actions' && + !endsWith(github.actor, '[bot]') steps: - uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0 with: From a09ed44c6da203ef17abbf22a53a7e9121494945 Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Wed, 22 Jul 2026 15:02:42 +0000 Subject: [PATCH 5/8] Revert workflows from Docs Engineering Bot app back to DOCS_BOT_PAT_BASE (#62343) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 97c049ec-cd3e-470b-821e-1717cc6026d7 --- .../auto-add-ready-for-doc-review.yml | 11 +----- .github/workflows/benchmark-pages.yml | 13 +------ .github/workflows/changelog-agent.yml | 31 ++++++--------- .github/workflows/changelog-prompt.yml | 11 +----- .github/workflows/check-for-spammy-issues.yml | 9 +---- .github/workflows/close-bad-repo-sync-prs.yml | 9 +---- .github/workflows/codeql.yml | 12 +----- .../confirm-internal-staff-work-in-docs.yml | 11 +----- .github/workflows/content-pipelines.yml | 15 ++----- .github/workflows/copilot-setup-steps.yml | 13 +------ .../workflows/copy-api-issue-to-internal.yml | 19 +++------ .../count-translation-corruptions.yml | 13 +------ .github/workflows/create-changelog-pr.yml | 19 +++------ .../delete-orphan-translation-files.yml | 15 ++----- .github/workflows/docs-review-collect.yml | 13 +------ .github/workflows/enterprise-dates.yml | 17 ++------ .github/workflows/feedback-prompt.yml | 11 +----- .../first-responder-v2-prs-collect.yml | 9 +---- .../generate-code-scanning-query-lists.yml | 9 +---- .../workflows/hubber-contribution-help.yml | 9 +---- .../workflows/index-autocomplete-search.yml | 13 +------ .github/workflows/index-general-search-pr.yml | 11 +----- .github/workflows/index-general-search.yml | 39 +++---------------- .github/workflows/keep-caches-warm.yml | 12 +----- .github/workflows/link-check-external.yml | 13 +------ .../workflows/link-check-github-github.yml | 17 ++------ .github/workflows/link-check-internal.yml | 39 +++---------------- .github/workflows/link-check-on-pr.yml | 14 +------ .../lint-entire-content-data-markdown.yml | 13 +------ .github/workflows/local-dev.yml | 12 +----- .github/workflows/moda-allowed-ips.yml | 12 +----- ...ve-existing-issues-to-the-correct-repo.yml | 11 +----- .github/workflows/move-ready-to-merge-pr.yaml | 11 +----- .github/workflows/needs-sme-stale-check.yaml | 12 +----- .github/workflows/no-response.yaml | 12 +----- .github/workflows/notify-about-deployment.yml | 13 +------ .github/workflows/notify-release-pms.yml | 11 +----- .github/workflows/orphaned-features-check.yml | 17 ++------ .github/workflows/orphaned-files-check.yml | 17 ++------ .github/workflows/os-ready-for-review.yml | 11 +----- .github/workflows/readability.yml | 11 +----- .github/workflows/ready-for-doc-review.yml | 15 +------ .../remove-fr-label-remove-from-fr-v2.yml | 9 +---- .github/workflows/repo-sync.yml | 12 +----- .../workflows/reviewers-content-systems.yml | 9 +---- .github/workflows/reviewers-dependabot.yml | 9 +---- .../workflows/reviewers-docs-engineering.yml | 13 ++----- .github/workflows/reviewers-legal.yml | 9 +---- .github/workflows/site-policy-reminder.yml | 9 +---- .github/workflows/site-policy-sync.yml | 13 +------ .../workflows/sme-review-tracking-issue.yml | 11 +----- .github/workflows/stale.yml | 12 +----- .github/workflows/sync-audit-logs.yml | 17 ++------ .github/workflows/sync-codeql-cli.yml | 14 +------ .github/workflows/sync-graphql.yml | 28 +++---------- .github/workflows/sync-llms-txt.yml | 29 +++++--------- .github/workflows/sync-sdk-docs.yml | 17 ++------ .github/workflows/sync-secret-scanning.yml | 17 ++------ .github/workflows/test-changed-content.yml | 12 +----- .github/workflows/test.yml | 14 +------ .github/workflows/triage-stale-check.yml | 24 +----------- .../validate-github-github-docs-urls.yml | 19 +++------ 62 files changed, 153 insertions(+), 749 deletions(-) diff --git a/.github/workflows/auto-add-ready-for-doc-review.yml b/.github/workflows/auto-add-ready-for-doc-review.yml index 8c603b6aee07..47e74c43aaf0 100644 --- a/.github/workflows/auto-add-ready-for-doc-review.yml +++ b/.github/workflows/auto-add-ready-for-doc-review.yml @@ -27,18 +27,11 @@ jobs: - name: Check out repo uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - name: Check team membership id: membership_check uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | try { await github.rest.teams.getMembershipForUserInOrg({ @@ -55,7 +48,7 @@ jobs: - name: Add ready-for-doc-review label if: steps.membership_check.outputs.result == 'false' env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} PR_URL: ${{ github.event.pull_request.html_url }} run: | gh pr edit $PR_URL --add-label ready-for-doc-review diff --git a/.github/workflows/benchmark-pages.yml b/.github/workflows/benchmark-pages.yml index dc33ed705481..1f0366544a77 100644 --- a/.github/workflows/benchmark-pages.yml +++ b/.github/workflows/benchmark-pages.yml @@ -24,15 +24,6 @@ jobs: uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: 'false' - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: ./.github/actions/node-npm-setup - name: Build @@ -58,7 +49,7 @@ jobs: - name: Check results and create issue if needed if: always() env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} run: | echo "Reading benchmark results..." @@ -174,4 +165,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/changelog-agent.yml b/.github/workflows/changelog-agent.yml index 5bab287695ee..6a77c5582ca7 100644 --- a/.github/workflows/changelog-agent.yml +++ b/.github/workflows/changelog-agent.yml @@ -45,20 +45,11 @@ jobs: ) runs-on: ubuntu-latest steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal,docs-content,docs-engineering - - name: Resolve PR data id: resolve_pr uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | let pr; if (context.eventName === 'workflow_dispatch') { @@ -86,7 +77,7 @@ jobs: id: check_team uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const author = '${{ steps.resolve_pr.outputs.pr_author }}'; @@ -124,7 +115,7 @@ jobs: env: PR_BODY: ${{ steps.resolve_pr.outputs.pr_body }} with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const body = process.env.PR_BODY || ''; @@ -159,7 +150,7 @@ jobs: id: check_parent uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const issueNumber = parseInt('${{ steps.extract_issue.outputs.issue_number }}', 10); @@ -240,7 +231,7 @@ jobs: PR_BODY: ${{ steps.resolve_pr.outputs.pr_body }} PR_URL: ${{ steps.resolve_pr.outputs.pr_url }} with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const prNumber = parseInt('${{ steps.resolve_pr.outputs.pr_number }}', 10); const prAuthor = '${{ steps.resolve_pr.outputs.pr_author }}'; @@ -281,7 +272,7 @@ jobs: id: check_existing uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const branchName = `changelog-agent-${{ steps.resolve_pr.outputs.pr_number }}`; const { data: pulls } = await github.rest.pulls.list({ @@ -304,7 +295,7 @@ jobs: id: read_examples uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | // Fetch changelog-internal.md from docs-content const { data } = await github.rest.repos.getContent({ @@ -474,7 +465,7 @@ jobs: PARENT_AUTHOR: ${{ steps.check_parent.outputs.parent_author }} PARENT_ASSIGNEES: ${{ steps.check_parent.outputs.parent_assignees }} with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const branchName = `changelog-agent-${{ steps.resolve_pr.outputs.pr_number }}`; const filePath = 'docs-content-docs/docs-content-workflows/changelog-internal.md'; @@ -635,7 +626,7 @@ jobs: PARENT_AUTHOR: ${{ steps.check_parent.outputs.parent_author }} PARENT_ASSIGNEES: ${{ steps.check_parent.outputs.parent_assignees }} with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const author = process.env.PR_AUTHOR; const changelogPrUrl = process.env.CHANGELOG_PR_URL; @@ -730,7 +721,7 @@ jobs: if: steps.create_pr.outputs.changelog_pr_url != '' && inputs.dry_run != true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const changelogPrUrl = '${{ steps.create_pr.outputs.changelog_pr_url }}'; await github.rest.issues.createComment({ @@ -753,4 +744,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/changelog-prompt.yml b/.github/workflows/changelog-prompt.yml index 1947e01b4791..bb65d8ab79d9 100644 --- a/.github/workflows/changelog-prompt.yml +++ b/.github/workflows/changelog-prompt.yml @@ -18,18 +18,11 @@ jobs: runs-on: ubuntu-latest steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - name: Check if PR author is in docs-content team id: check_team uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | try { const pr = context.payload.pull_request; @@ -50,7 +43,7 @@ jobs: uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | // Get PR author username const pr = context.payload.pull_request; diff --git a/.github/workflows/check-for-spammy-issues.yml b/.github/workflows/check-for-spammy-issues.yml index ad7c6e8a0aa3..9ef657e21967 100644 --- a/.github/workflows/check-for-spammy-issues.yml +++ b/.github/workflows/check-for-spammy-issues.yml @@ -17,16 +17,9 @@ jobs: if: github.repository == 'github/docs' runs-on: ubuntu-latest steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const issue = context.payload.issue diff --git a/.github/workflows/close-bad-repo-sync-prs.yml b/.github/workflows/close-bad-repo-sync-prs.yml index f9d5270a1f13..507b8596f2da 100644 --- a/.github/workflows/close-bad-repo-sync-prs.yml +++ b/.github/workflows/close-bad-repo-sync-prs.yml @@ -21,17 +21,10 @@ jobs: name: Close if invalid repo-sync PR author runs-on: ubuntu-latest steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - name: Close pull request if unwanted uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const { owner, repo } = context.repo const prCreator = context.actor diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 905406b760f5..c77f93e7af24 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -42,17 +42,7 @@ jobs: with: slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} - - name: Generate GitHub App token - if: ${{ failure() && github.event_name != 'pull_request' }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'pull_request' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/confirm-internal-staff-work-in-docs.yml b/.github/workflows/confirm-internal-staff-work-in-docs.yml index 4ec0f86b77de..bdef245fe393 100644 --- a/.github/workflows/confirm-internal-staff-work-in-docs.yml +++ b/.github/workflows/confirm-internal-staff-work-in-docs.yml @@ -23,21 +23,12 @@ jobs: continue-on-error: true if: github.repository == 'github/docs' && github.actor != 'docs-bot' steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: ${{ secrets.TEAM_CONTENT_REPO }} - - id: membership_check uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 env: TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }} with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | // Only perform this action with GitHub employees try { diff --git a/.github/workflows/content-pipelines.yml b/.github/workflows/content-pipelines.yml index 82f2366e92fb..bb69d006eb9e 100644 --- a/.github/workflows/content-pipelines.yml +++ b/.github/workflows/content-pipelines.yml @@ -45,15 +45,6 @@ jobs: - uses: ./.github/actions/node-npm-setup - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal,copilot-cli-generated-docs,docs-engineering - - name: Install Copilot CLI run: npm install -g @github/copilot@prerelease @@ -101,7 +92,7 @@ jobs: - name: Run content pipeline update script env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COPILOT_GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_COPILOT }} run: npx tsx src/content-pipelines/scripts/update.ts --id "${{ matrix.id }}" @@ -149,7 +140,7 @@ jobs: - name: Create or update PR if: steps.commit.outputs.has_changes == 'true' env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} UPDATE_BRANCH: ${{ steps.branch.outputs.update_branch }} PIPELINE_ID: ${{ matrix.id }} SOURCE_REPO: ${{ steps.source-info.outputs.source_repo }} @@ -204,4 +195,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 19efaecd7380..417a195a078e 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -30,27 +30,18 @@ jobs: steps: - name: Checkout code uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-early-access - - uses: ./.github/actions/node-npm-setup # Search and language test suites require a running Elasticsearch instance. - uses: ./.github/actions/setup-elasticsearch with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} # docs-internal has early-access content that must be fetched separately. - uses: ./.github/actions/get-docs-early-access if: ${{ github.repository == 'github/docs-internal' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} # Many test suites depend on Next.js build artifacts. - name: Build diff --git a/.github/workflows/copy-api-issue-to-internal.yml b/.github/workflows/copy-api-issue-to-internal.yml index 907b30683152..14214abdacc2 100644 --- a/.github/workflows/copy-api-issue-to-internal.yml +++ b/.github/workflows/copy-api-issue-to-internal.yml @@ -18,20 +18,11 @@ jobs: runs-on: ubuntu-latest if: github.event.label.name == 'fix-internally' && github.repository == 'github/docs' steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs,docs-content - - name: Check if this run was triggered by a member of the docs team uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 id: triggered-by-member with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} result-encoding: string script: | const triggerer_login = context.payload.sender.login @@ -59,26 +50,26 @@ jobs: Copied to this repo by the [$GITHUB_WORKFLOW workflow run]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID)." --repo github/docs-content --label "workflow-generated")" echo 'NEW_ISSUE='$new_issue_url >> $GITHUB_ENV env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} ISSUE_TITLE: ${{ github.event.issue.title }} ISSUE_BODY: ${{ github.event.issue.body }} - name: Comment on the old issue run: gh issue comment $OLD_ISSUE --body "Thank you for opening this issue! Updates to this documentation must be made internally. I have copied your issue to an internal issue, so I will close this issue." env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} OLD_ISSUE: ${{ github.event.issue.html_url }} - name: Close the old issue run: gh issue close $OLD_ISSUE env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} OLD_ISSUE: ${{ github.event.issue.html_url }} - name: Comment on the new issue run: gh issue comment $NEW_ISSUE --body "This issue was originally opened in the open source repo as $OLD_ISSUE" env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} NEW_ISSUE: ${{ env.NEW_ISSUE }} OLD_ISSUE: ${{ github.event.issue.html_url }} diff --git a/.github/workflows/count-translation-corruptions.yml b/.github/workflows/count-translation-corruptions.yml index 14e17b48cb55..beb046358e4c 100644 --- a/.github/workflows/count-translation-corruptions.yml +++ b/.github/workflows/count-translation-corruptions.yml @@ -23,21 +23,12 @@ jobs: if: github.repository == 'github/docs-internal' runs-on: ubuntu-latest steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal,docs-internal.es-es,docs-internal.ja-jp,docs-internal.pt-br,docs-internal.zh-cn,docs-internal.ru-ru,docs-internal.fr-fr,docs-internal.ko-kr,docs-internal.de-de - - name: Checkout English repo uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: # Using a PAT is necessary so that the new commit will trigger the # CI in the PR. (Events from GITHUB_TOKEN don't trigger new workflows.) - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} # It's important because translations are often a bit behind. # So if a translation is a bit behind, it might still be referencing @@ -45,7 +36,7 @@ jobs: - name: Clone all translations uses: ./.github/actions/clone-translations with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - uses: ./.github/actions/node-npm-setup diff --git a/.github/workflows/create-changelog-pr.yml b/.github/workflows/create-changelog-pr.yml index 88d8386056c5..a335cb02d939 100644 --- a/.github/workflows/create-changelog-pr.yml +++ b/.github/workflows/create-changelog-pr.yml @@ -25,15 +25,6 @@ jobs: steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal,docs-engineering - - name: 'Ensure ${{ env.CHANGELOG_FILE }} exists' run: | if [ ! -f ${{ env.CHANGELOG_FILE }} ]; then @@ -45,7 +36,7 @@ jobs: id: hubber_check uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | try { await github.rest.teams.getMembershipForUserInOrg({ @@ -117,7 +108,7 @@ jobs: uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 id: create_pull_request with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const { data: pullRequest } = await github.rest.pulls.create({ owner: context.repo.owner, @@ -138,7 +129,7 @@ jobs: # Get the number of the PR that was just created: PULL_REQUEST_NUMBER: ${{ steps.create_pull_request.outputs.pull-request-number }} with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | await github.rest.issues.addLabels({ owner: context.repo.owner, @@ -154,7 +145,7 @@ jobs: # Reuse the PR number captured earlier PULL_REQUEST_NUMBER: ${{ steps.create_pull_request.outputs.pull-request-number }} with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | try { const username = context.payload.comment.user.login; @@ -176,4 +167,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/delete-orphan-translation-files.yml b/.github/workflows/delete-orphan-translation-files.yml index c5930f322b9d..a071f1e7e64b 100644 --- a/.github/workflows/delete-orphan-translation-files.yml +++ b/.github/workflows/delete-orphan-translation-files.yml @@ -61,20 +61,11 @@ jobs: steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal.es-es,docs-internal.ja-jp,docs-internal.pt-br,docs-internal.zh-cn,docs-internal.ru-ru,docs-internal.fr-fr,docs-internal.ko-kr,docs-internal.de-de,docs-engineering - - name: Checkout the language-specific repo uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: ${{ matrix.language_repo }} - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} path: ${{ matrix.language_dir }} - uses: ./.github/actions/node-npm-setup @@ -97,7 +88,7 @@ jobs: working-directory: ${{ matrix.language_dir }} env: # Needed for gh - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | # If nothing to commit, exit now. It's fine. No orphans. changes=$(git diff --name-only | wc -l) @@ -172,4 +163,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/docs-review-collect.yml b/.github/workflows/docs-review-collect.yml index ca2551499262..b3c49b9d8278 100644 --- a/.github/workflows/docs-review-collect.yml +++ b/.github/workflows/docs-review-collect.yml @@ -31,20 +31,11 @@ jobs: - name: Install dependencies run: npm ci - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: audit-log-allowlists,docs-engineering - - name: Run script for audit-log-allowlists run: | npm run fr-add-docs-reviewers-requests env: - TOKEN: ${{ steps.app-token.outputs.token }} + TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} PROJECT_NUMBER: 2936 ORGANIZATION: 'github' REPO: 'audit-log-allowlists' @@ -59,4 +50,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/enterprise-dates.yml b/.github/workflows/enterprise-dates.yml index 1c5419174732..a1f1ad26cf93 100644 --- a/.github/workflows/enterprise-dates.yml +++ b/.github/workflows/enterprise-dates.yml @@ -25,21 +25,12 @@ jobs: steps: - name: Checkout repository code uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal,docs-engineering,enterprise-releases - - uses: ./.github/actions/node-npm-setup - name: Run src/ghes-releases/scripts/update-enterprise-dates.ts run: npm run update-enterprise-dates env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} - name: Create pull request id: create-pull-request @@ -49,7 +40,7 @@ jobs: HUSKY: '0' with: # need to use a token with repo and workflow scopes for this step - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} commit-message: '🤖 ran src/ghes-releases/scripts/update-enterprise-dates.ts' title: 🤖 src/ghes-releases/lib/enterprise-dates.json update body: @@ -62,7 +53,7 @@ jobs: - name: Enable GitHub auto-merge if: ${{ steps.create-pull-request.outputs.pull-request-number }} env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} AUTOMERGE_PR_NUMBER: ${{ steps.create-pull-request.outputs.pull-request-number }} run: npm run enable-automerge @@ -85,4 +76,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/feedback-prompt.yml b/.github/workflows/feedback-prompt.yml index 9aaf7ae28cc5..8c3c0d1e3a8e 100644 --- a/.github/workflows/feedback-prompt.yml +++ b/.github/workflows/feedback-prompt.yml @@ -18,18 +18,11 @@ jobs: runs-on: ubuntu-latest steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - name: Check if PR author is in docs-content team id: check_team uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | try { const pr = context.payload.pull_request; @@ -50,7 +43,7 @@ jobs: uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const pr = context.payload.pull_request; const prAuthor = pr.user.login; diff --git a/.github/workflows/first-responder-v2-prs-collect.yml b/.github/workflows/first-responder-v2-prs-collect.yml index 97877194ed16..ff0d2aba47c7 100644 --- a/.github/workflows/first-responder-v2-prs-collect.yml +++ b/.github/workflows/first-responder-v2-prs-collect.yml @@ -26,19 +26,12 @@ jobs: - name: Checkout repository uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - # Add to the FR project # and set type to "Maintenance" # and set date to now - name: Triage to docs-content FR project env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} PR_URL: ${{ github.event.pull_request.html_url }} PROJECT_NUMBER: 11672 PROJECT_ID: PVT_kwDNJr_OAGNkBg diff --git a/.github/workflows/generate-code-scanning-query-lists.yml b/.github/workflows/generate-code-scanning-query-lists.yml index 4ac639a505c0..f394849c003b 100644 --- a/.github/workflows/generate-code-scanning-query-lists.yml +++ b/.github/workflows/generate-code-scanning-query-lists.yml @@ -203,16 +203,9 @@ jobs: run: | git diff - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - name: Create pull request env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} DRY_RUN: ${{ github.event_name == 'pull_request'}} shell: bash run: | diff --git a/.github/workflows/hubber-contribution-help.yml b/.github/workflows/hubber-contribution-help.yml index 3a314a5a53e4..7fb5e989b3cf 100644 --- a/.github/workflows/hubber-contribution-help.yml +++ b/.github/workflows/hubber-contribution-help.yml @@ -25,17 +25,10 @@ jobs: - name: Check out repo uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - id: membership_check uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | try { await github.rest.teams.getMembershipForUserInOrg({ diff --git a/.github/workflows/index-autocomplete-search.yml b/.github/workflows/index-autocomplete-search.yml index ac53708955aa..1093c1bdfe84 100644 --- a/.github/workflows/index-autocomplete-search.yml +++ b/.github/workflows/index-autocomplete-search.yml @@ -27,21 +27,12 @@ jobs: - uses: ./.github/actions/node-npm-setup - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal,docs-internal-data - - uses: ./.github/actions/setup-elasticsearch if: ${{ github.event_name == 'pull_request' }} - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} repository: github/docs-internal-data path: docs-internal-data @@ -62,4 +53,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name == 'schedule' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/index-general-search-pr.yml b/.github/workflows/index-general-search-pr.yml index 34e5647092f4..ca386f5af510 100644 --- a/.github/workflows/index-general-search-pr.yml +++ b/.github/workflows/index-general-search-pr.yml @@ -39,21 +39,12 @@ jobs: - name: Check out repo uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal-data - - name: Clone docs-internal-data uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: github/docs-internal-data # This works because user `docs-bot` has read access to that private repo. - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} path: docs-internal-data - uses: ./.github/actions/setup-elasticsearch diff --git a/.github/workflows/index-general-search.yml b/.github/workflows/index-general-search.yml index 235df429b114..c2199f217615 100644 --- a/.github/workflows/index-general-search.yml +++ b/.github/workflows/index-general-search.yml @@ -49,15 +49,6 @@ jobs: outputs: matrix: ${{ steps.set-matrix.outputs.result }} steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 id: set-matrix with: @@ -111,7 +102,7 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} updateElasticsearchIndexes: needs: figureOutMatrix @@ -135,28 +126,19 @@ jobs: steps: - name: Check out repo uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal-data,docs-internal.es-es,docs-internal.ja-jp,docs-internal.pt-br,docs-internal.zh-cn,docs-internal.ru-ru,docs-internal.fr-fr,docs-internal.ko-kr,docs-internal.de-de,docs-engineering - - name: Clone docs-internal-data uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: github/docs-internal-data # This works because user `docs-bot` has read access to that private repo. - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} path: docs-internal-data - name: Clone all translations if: ${{ matrix.language != 'en' }} uses: ./.github/actions/clone-translations with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - uses: ./.github/actions/node-npm-setup @@ -266,7 +248,7 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} notifyScrapingFailures: name: Notify scraping failures @@ -276,15 +258,6 @@ jobs: steps: - name: Check out repo uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - name: Download all failure artifacts uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0 with: @@ -319,7 +292,7 @@ jobs: - name: Comment on or create scraping failure issue if: ${{ steps.check-artifacts.outputs.has_artifacts == 'true' && fromJSON(steps.aggregate.outputs.result || '{"hasFailures":false}').hasFailures }} env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} FAILURE_MESSAGE: ${{ fromJSON(steps.aggregate.outputs.result || '{"message":""}').message }} RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} FILE_URL: ${{ github.server_url }}/${{ github.repository }}/blob/main/.github/workflows/index-general-search.yml @@ -418,4 +391,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/keep-caches-warm.yml b/.github/workflows/keep-caches-warm.yml index 54971c3a6e60..4d94f838ceb9 100644 --- a/.github/workflows/keep-caches-warm.yml +++ b/.github/workflows/keep-caches-warm.yml @@ -48,17 +48,7 @@ jobs: with: slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} - - name: Generate GitHub App token - if: ${{ failure() && github.event_name != 'workflow_dispatch' }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/link-check-external.yml b/.github/workflows/link-check-external.yml index 4b86ef5eb2cf..5fec74b0438c 100644 --- a/.github/workflows/link-check-external.yml +++ b/.github/workflows/link-check-external.yml @@ -21,15 +21,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-content,docs-engineering - - uses: ./.github/actions/node-npm-setup - name: Install dependencies @@ -70,7 +61,7 @@ jobs: if: always() && steps.check_report.outputs.has_report == 'true' uses: peter-evans/create-issue-from-file@65115121ba9a3573cbaded4dc66b90ba1f9b69dc with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} repository: github/docs-content title: '🌐 Broken External Links Report' content-filepath: artifacts/external-link-report.md @@ -84,4 +75,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/link-check-github-github.yml b/.github/workflows/link-check-github-github.yml index 7dc07133761f..8fb9c929b748 100644 --- a/.github/workflows/link-check-github-github.yml +++ b/.github/workflows/link-check-github-github.yml @@ -26,20 +26,11 @@ jobs: with: # To prevent issues with cloning early access content later persist-credentials: 'false' - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-content,docs-early-access,github,docs-engineering - - uses: ./.github/actions/node-npm-setup - uses: ./.github/actions/get-docs-early-access with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - name: Build server run: npm run build @@ -57,7 +48,7 @@ jobs: - name: Run broken github/github link check env: # Needs a token with access to github/github; the app token is scoped to it above - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | npm run check-github-github-links -- broken_github_github_links.md @@ -74,7 +65,7 @@ jobs: id: github-github-broken-link-report uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} title: ${{ steps.check.outputs.title }} content-filepath: ./broken_github_github_links.md repository: ${{ env.REPORT_REPOSITORY }} @@ -88,4 +79,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/link-check-internal.yml b/.github/workflows/link-check-internal.yml index 7be5c087eaa1..18a766c4941a 100644 --- a/.github/workflows/link-check-internal.yml +++ b/.github/workflows/link-check-internal.yml @@ -38,15 +38,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: ./.github/actions/node-npm-setup - name: Set matrix @@ -73,7 +64,7 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} check-internal-links: if: github.repository == 'github/docs-internal' @@ -88,15 +79,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-content,docs-internal.es-es,docs-internal.ja-jp,docs-internal.pt-br,docs-internal.zh-cn,docs-internal.ru-ru,docs-internal.fr-fr,docs-internal.ko-kr,docs-internal.de-de,docs-engineering - - uses: ./.github/actions/node-npm-setup - name: Install dependencies @@ -107,7 +89,7 @@ jobs: if: matrix.language != 'en' uses: ./.github/actions/clone-translations with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - name: Check internal links env: @@ -130,7 +112,7 @@ jobs: if: inputs.create_copilot_issue uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const fs = require('fs') const reportFile = 'artifacts/link-report-${{ matrix.version }}-${{ matrix.language }}.json' @@ -209,7 +191,7 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} # Create combined report after all matrix jobs complete create-report: @@ -222,15 +204,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-content,docs-engineering - - name: Download all artifacts uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0 with: @@ -266,7 +239,7 @@ jobs: if: steps.combine.outputs.has_reports == 'true' && (github.event_name != 'workflow_dispatch' || inputs.create_report != false) uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v5 with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} repository: github/docs-content title: '🔗 Broken Internal Links Report' content-filepath: combined-report.md @@ -280,4 +253,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/link-check-on-pr.yml b/.github/workflows/link-check-on-pr.yml index 43cc2498ac67..1f4d10389a0c 100644 --- a/.github/workflows/link-check-on-pr.yml +++ b/.github/workflows/link-check-on-pr.yml @@ -34,20 +34,10 @@ jobs: - uses: ./.github/actions/node-npm-setup - - name: Generate GitHub App token - if: ${{ github.repository == 'github/docs-internal' }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-early-access - - uses: ./.github/actions/get-docs-early-access if: ${{ github.repository == 'github/docs-internal' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - name: Get changed files id: changed-files @@ -63,7 +53,7 @@ jobs: FILES_CHANGED: ${{ steps.changed-files.outputs.all_changed_files }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} - SHOULD_COMMENT: ${{ secrets.DOCS_BOT_APP_ID != '' }} + SHOULD_COMMENT: ${{ secrets.DOCS_BOT_PAT_BASE != '' }} FAIL_ON_FLAW: true ENABLED_LANGUAGES: en run: npm run check-links-pr diff --git a/.github/workflows/lint-entire-content-data-markdown.yml b/.github/workflows/lint-entire-content-data-markdown.yml index 10d31c5f4430..ff2192f38e13 100644 --- a/.github/workflows/lint-entire-content-data-markdown.yml +++ b/.github/workflows/lint-entire-content-data-markdown.yml @@ -19,15 +19,6 @@ jobs: if: github.repository == 'github/docs-internal' runs-on: ubuntu-latest steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-content,docs-engineering - - name: Check that gh CLI is installed run: gh --version @@ -46,7 +37,7 @@ jobs: - name: Open issue in docs-content if: ${{ always() && steps.linting-content-data.outcome == 'failure' }} env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} REPORT_AUTHOR: docs-bot REPORT_LABEL: broken content markdown report REPORT_REPOSITORY: github/docs-content @@ -60,4 +51,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/local-dev.yml b/.github/workflows/local-dev.yml index e75217962e0a..048f6f2629cc 100644 --- a/.github/workflows/local-dev.yml +++ b/.github/workflows/local-dev.yml @@ -21,20 +21,10 @@ jobs: - uses: ./.github/actions/node-npm-setup - - name: Generate GitHub App token - if: ${{ github.repository == 'github/docs-internal' }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-early-access - - uses: ./.github/actions/get-docs-early-access if: ${{ github.repository == 'github/docs-internal' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - name: Disable Next.js telemetry run: npx next telemetry disable diff --git a/.github/workflows/moda-allowed-ips.yml b/.github/workflows/moda-allowed-ips.yml index fc1675a882e7..6360a4559014 100644 --- a/.github/workflows/moda-allowed-ips.yml +++ b/.github/workflows/moda-allowed-ips.yml @@ -59,17 +59,7 @@ jobs: with: slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} - - name: Generate GitHub App token - if: ${{ failure() }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/move-existing-issues-to-the-correct-repo.yml b/.github/workflows/move-existing-issues-to-the-correct-repo.yml index b33a48815e92..12de61fa20c1 100644 --- a/.github/workflows/move-existing-issues-to-the-correct-repo.yml +++ b/.github/workflows/move-existing-issues-to-the-correct-repo.yml @@ -15,22 +15,13 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'github/docs-internal' steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal,${{ secrets.TEAM_ENGINEERING_REPO }} - - id: move_to_correct_repo uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 env: TEAM_ENGINEERING_REPO: ${{ secrets.TEAM_ENGINEERING_REPO }} TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }} with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | const owner = 'github' const originalRepo = 'docs-internal' diff --git a/.github/workflows/move-ready-to-merge-pr.yaml b/.github/workflows/move-ready-to-merge-pr.yaml index 7e9637418990..97d03d17b14b 100644 --- a/.github/workflows/move-ready-to-merge-pr.yaml +++ b/.github/workflows/move-ready-to-merge-pr.yaml @@ -23,23 +23,16 @@ jobs: }} runs-on: ubuntu-latest steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - name: Add PR to the open source board uses: actions/add-to-project@5afcf98fcd03f1c2f92c3c83f58ae24323cc57fd # v2.0.0 with: project-url: https://github.com/orgs/github/projects/2936 - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} - name: Move PR to Triage on the open source board uses: github/update-project-action@af4f6083118f5080c89828b421ef598d1906fb60 # v4 with: - github_token: ${{ steps.app-token.outputs.token }} + github_token: ${{ secrets.DOCS_BOT_PAT_BASE }} organization: github project_number: 2936 content_id: ${{ github.event.pull_request.node_id }} diff --git a/.github/workflows/needs-sme-stale-check.yaml b/.github/workflows/needs-sme-stale-check.yaml index facfbee4920e..146736467f0d 100644 --- a/.github/workflows/needs-sme-stale-check.yaml +++ b/.github/workflows/needs-sme-stale-check.yaml @@ -41,17 +41,7 @@ jobs: with: slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} - - name: Generate GitHub App token - if: ${{ failure() }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/no-response.yaml b/.github/workflows/no-response.yaml index 51af07203ca1..c05f251f4e34 100644 --- a/.github/workflows/no-response.yaml +++ b/.github/workflows/no-response.yaml @@ -72,17 +72,7 @@ jobs: with: slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} - - name: Generate GitHub App token - if: ${{ failure() }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/notify-about-deployment.yml b/.github/workflows/notify-about-deployment.yml index 5e7caf05c919..4d22c92b56af 100644 --- a/.github/workflows/notify-about-deployment.yml +++ b/.github/workflows/notify-about-deployment.yml @@ -30,15 +30,6 @@ jobs: steps: - name: Check out repo uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal,docs-engineering - - uses: ./.github/actions/node-npm-setup # The "Purge Fastly" action takes about 6 minutes to purge all @@ -52,7 +43,7 @@ jobs: - name: Find PRs and post production comments timeout-minutes: 5 env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: npm run find-past-built-pr - uses: ./.github/actions/slack-alert @@ -63,4 +54,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/notify-release-pms.yml b/.github/workflows/notify-release-pms.yml index 16d16ca291ca..4dc122f42e47 100644 --- a/.github/workflows/notify-release-pms.yml +++ b/.github/workflows/notify-release-pms.yml @@ -60,18 +60,9 @@ jobs: - uses: ./.github/actions/node-npm-setup - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: releases - - name: Post notification comments env: - DOCS_BOT_PAT_BASE: ${{ steps.app-token.outputs.token }} + DOCS_BOT_PAT_BASE: ${{ secrets.DOCS_BOT_PAT_BASE }} INPUT_RELEASE: ${{ inputs.release }} INPUT_PR: ${{ inputs.pr }} INPUT_RELEASE_TYPE: ${{ inputs.release_type }} diff --git a/.github/workflows/orphaned-features-check.yml b/.github/workflows/orphaned-features-check.yml index 12c3c739f1cb..72d7a67d47e0 100644 --- a/.github/workflows/orphaned-features-check.yml +++ b/.github/workflows/orphaned-features-check.yml @@ -25,21 +25,12 @@ jobs: if: ${{ github.repository == 'github/docs-internal' }} runs-on: ubuntu-latest steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal,docs-internal.es-es,docs-internal.ja-jp,docs-internal.pt-br,docs-internal.zh-cn,docs-internal.ru-ru,docs-internal.fr-fr,docs-internal.ko-kr,docs-internal.de-de - - name: Checkout English repo uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: # Using a PAT is necessary so that the new commit will trigger the # CI in the PR. (Events from GITHUB_TOKEN don't trigger new workflows.) - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} # It's important because translations are often a bit behind. # So if a translation is a bit behind, it might still be referencing @@ -47,14 +38,14 @@ jobs: - name: Clone all translations uses: ./.github/actions/clone-translations with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - uses: ./.github/actions/node-npm-setup - name: Check for orphaned features env: # Needed for gh - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} DRY_RUN: ${{ github.event_name == 'pull_request'}} run: | set -e @@ -118,4 +109,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name == 'schedule' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/orphaned-files-check.yml b/.github/workflows/orphaned-files-check.yml index b2cf7ddeceaf..e0d61a826b32 100644 --- a/.github/workflows/orphaned-files-check.yml +++ b/.github/workflows/orphaned-files-check.yml @@ -30,21 +30,12 @@ jobs: if: ${{ github.repository == 'github/docs-internal' }} runs-on: ubuntu-latest steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal,docs-internal.es-es,docs-internal.ja-jp,docs-internal.pt-br,docs-internal.zh-cn,docs-internal.ru-ru,docs-internal.fr-fr,docs-internal.ko-kr,docs-internal.de-de - - name: Checkout English repo uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: # Using a PAT is necessary so that the new commit will trigger the # CI in the PR. (Events from GITHUB_TOKEN don't trigger new workflows.) - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} # It's important because translations are often a bit behind. # So if a translation is a bit behind, it might still be referencing @@ -52,14 +43,14 @@ jobs: - name: Clone all translations uses: ./.github/actions/clone-translations with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - uses: ./.github/actions/node-npm-setup - name: Check for orphaned assets and reusables env: # Needed for gh - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} DRY_RUN: ${{ github.event_name == 'pull_request'}} run: | set -e @@ -131,4 +122,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name == 'schedule' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/os-ready-for-review.yml b/.github/workflows/os-ready-for-review.yml index c64bc14b168a..fc4f7a5ffbfd 100644 --- a/.github/workflows/os-ready-for-review.yml +++ b/.github/workflows/os-ready-for-review.yml @@ -22,18 +22,11 @@ jobs: - name: Check out repo content uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - name: Check if this run was triggered by a member of the docs team uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 id: triggered-by-member with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} result-encoding: string script: | const triggerer_login = context.payload.sender.login @@ -67,7 +60,7 @@ jobs: run: | npm run ready-for-docs-review env: - TOKEN: ${{ steps.app-token.outputs.token }} + TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} PROJECT_NUMBER: 2936 ORGANIZATION: 'github' ITEM_NODE_ID: ${{ github.event.pull_request.node_id || github.event.issue.node_id }} diff --git a/.github/workflows/readability.yml b/.github/workflows/readability.yml index 0c22193d0f6b..13625f99667d 100644 --- a/.github/workflows/readability.yml +++ b/.github/workflows/readability.yml @@ -32,15 +32,6 @@ jobs: with: # Fetch 2 commits so tj-actions/changed-files can diff without extra API calls fetch-depth: 2 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-early-access - - name: Checkout PR for manual dispatch if: ${{ github.event_name == 'workflow_dispatch' }} run: | @@ -53,7 +44,7 @@ jobs: - uses: ./.github/actions/get-docs-early-access if: ${{ github.repository == 'github/docs-internal' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - name: Get changed content files id: changed_files diff --git a/.github/workflows/ready-for-doc-review.yml b/.github/workflows/ready-for-doc-review.yml index e21156a2e74e..3b465702ba15 100644 --- a/.github/workflows/ready-for-doc-review.yml +++ b/.github/workflows/ready-for-doc-review.yml @@ -20,22 +20,11 @@ jobs: (github.event.label.name == 'ready-for-doc-review' || github.event.requested_team.name == 'docs-content' || github.event.requested_team.name == 'docs-reviewers') runs-on: ubuntu-latest steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - # Scope must include every repo that calls this reusable workflow, because - # the script resolves the PR node (ITEM_NODE_ID) in the calling repo. - repositories: docs-internal,docs-content,docs-strategy,docs-early-access,docs-team,github - - name: Check out repo content uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: github/docs-internal - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - name: Setup Node.js uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 @@ -62,7 +51,7 @@ jobs: run: | npm run ready-for-docs-review env: - TOKEN: ${{ steps.app-token.outputs.token }} + TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} PROJECT_NUMBER: 2936 ORGANIZATION: 'github' ITEM_NODE_ID: ${{ github.event.pull_request.node_id }} diff --git a/.github/workflows/remove-fr-label-remove-from-fr-v2.yml b/.github/workflows/remove-fr-label-remove-from-fr-v2.yml index 4c9a3f3ee646..76a0b9bed897 100644 --- a/.github/workflows/remove-fr-label-remove-from-fr-v2.yml +++ b/.github/workflows/remove-fr-label-remove-from-fr-v2.yml @@ -26,16 +26,9 @@ jobs: (github.event.label.name == 'docs-content-fr') && (github.repository == 'github/docs-internal') steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - name: Remove issue from FR v2 project env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} PR_NUMBER: ${{ github.event.pull_request.number || inputs.PR_NUMBER }} PROJECT_NUMBER: 11672 run: | diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 685c92415a70..58b03e39ed05 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -192,17 +192,7 @@ jobs: with: slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} - - name: Generate GitHub App token - if: ${{ failure() && github.event_name != 'workflow_dispatch' }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/reviewers-content-systems.yml b/.github/workflows/reviewers-content-systems.yml index 64e10a2f02ce..47d773b43482 100644 --- a/.github/workflows/reviewers-content-systems.yml +++ b/.github/workflows/reviewers-content-systems.yml @@ -37,16 +37,9 @@ jobs: - name: Checkout repository uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - name: Add content systems as a reviewer env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} uses: ./.github/actions/retry-command with: command: gh pr edit $PR --add-reviewer github/docs-content-systems --add-label reviewers-content-systems diff --git a/.github/workflows/reviewers-dependabot.yml b/.github/workflows/reviewers-dependabot.yml index a28264b6a5fe..56ec3af50009 100644 --- a/.github/workflows/reviewers-dependabot.yml +++ b/.github/workflows/reviewers-dependabot.yml @@ -38,16 +38,9 @@ jobs: - name: Checkout repository uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - name: Add dependabot as a reviewer env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} uses: ./.github/actions/retry-command with: command: gh pr edit $PR --add-reviewer github/dependabot-updates-reviewers --add-label reviewers-dependabot diff --git a/.github/workflows/reviewers-docs-engineering.yml b/.github/workflows/reviewers-docs-engineering.yml index 89e47ab00b1b..422139ef62d4 100644 --- a/.github/workflows/reviewers-docs-engineering.yml +++ b/.github/workflows/reviewers-docs-engineering.yml @@ -50,13 +50,6 @@ jobs: - name: Checkout repository uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - # Detect PRs that only changed package-lock.json (no engineering source files). # These are usually cross-platform `npm install` churn from contributors # editing content. We comment with reset instructions instead of pulling in @@ -64,7 +57,7 @@ jobs: - name: Detect lockfile-only churn id: detect env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | changed=$(gh pr diff "$PR" --name-only) echo "Changed files:" @@ -80,7 +73,7 @@ jobs: - name: Comment and label lockfile-only PRs if: steps.detect.outputs.lockfile_only == 'true' env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | cat > /tmp/lockfile-churn-body.md <<'EOF' _Posted by Copilot on behalf of docs-engineering._ @@ -101,7 +94,7 @@ jobs: - name: Add docs engineering as a reviewer if: steps.detect.outputs.lockfile_only != 'true' env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} uses: ./.github/actions/retry-command with: command: gh pr edit $PR --add-reviewer github/docs-engineering --add-label reviewers-docs-engineering diff --git a/.github/workflows/reviewers-legal.yml b/.github/workflows/reviewers-legal.yml index fc3a1702c505..bef7f702d45c 100644 --- a/.github/workflows/reviewers-legal.yml +++ b/.github/workflows/reviewers-legal.yml @@ -37,13 +37,6 @@ jobs: # Fetch 2 commits so tj-actions/changed-files can diff without extra API calls fetch-depth: 2 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - name: Get changed files id: changed_files uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 @@ -66,7 +59,7 @@ jobs: if: steps.checkContentType.outputs.containsContentType == 'true' uses: ./.github/actions/retry-command env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} PR: ${{ github.event.pull_request.html_url }} with: command: gh pr edit $PR --add-reviewer github/legal-product --add-label reviewers-legal diff --git a/.github/workflows/site-policy-reminder.yml b/.github/workflows/site-policy-reminder.yml index 261fb78978e6..7b85bef2f25c 100644 --- a/.github/workflows/site-policy-reminder.yml +++ b/.github/workflows/site-policy-reminder.yml @@ -19,16 +19,9 @@ jobs: github.repository == 'github/docs-internal' runs-on: ubuntu-latest steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - - uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} issue-number: ${{ github.event.pull_request.number }} body: | Before merging, please remember to change the title of this PR to a description of its changes that is suitable for public viewing on github/site-policy. diff --git a/.github/workflows/site-policy-sync.yml b/.github/workflows/site-policy-sync.yml index 1d6901cda8f2..318a2de1d387 100644 --- a/.github/workflows/site-policy-sync.yml +++ b/.github/workflows/site-policy-sync.yml @@ -29,20 +29,11 @@ jobs: - name: checkout docs-internal uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: site-policy - - name: checkout public site-policy uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: github/site-policy - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} fetch-depth: '' path: public-repo @@ -65,7 +56,7 @@ jobs: - name: If there are changes to push, create a branch in the public repo and push changes env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | cd public-repo git config --local user.name 'site-policy-bot' diff --git a/.github/workflows/sme-review-tracking-issue.yml b/.github/workflows/sme-review-tracking-issue.yml index 2ef27cebd513..b8fa0a50289c 100644 --- a/.github/workflows/sme-review-tracking-issue.yml +++ b/.github/workflows/sme-review-tracking-issue.yml @@ -21,21 +21,12 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'github/docs' && github.event.label.name == 'needs SME' steps: - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-team - - id: create-issue env: URL: ${{ github.event.pull_request.html_url || github.event.issue.html_url }} uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 with: - github-token: ${{ steps.app-token.outputs.token }} + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: |- const issueNo = context.number || context.issue.number diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index c2127a4afdd6..c6954fe3c1e6 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -44,17 +44,7 @@ jobs: with: slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} - - name: Generate GitHub App token - if: ${{ failure() }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/sync-audit-logs.yml b/.github/workflows/sync-audit-logs.yml index 01bd38d86ef6..8d820a567b86 100644 --- a/.github/workflows/sync-audit-logs.yml +++ b/.github/workflows/sync-audit-logs.yml @@ -25,21 +25,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: audit-log-allowlists,docs-internal,docs-engineering - - uses: ./.github/actions/node-npm-setup - name: Run updater script env: # need to use a token from a user with access to github/audit-log-allowlists for this step - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | npm run sync-audit-log @@ -57,7 +48,7 @@ jobs: - name: Create and merge pull request env: # Needed for gh - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | echo "Creating a new branch if needed..." branchname=audit-logs-schema-update-${{ steps.audit-log-allowlists.outputs.COMMIT_SHA }} @@ -113,7 +104,7 @@ jobs: # Actions can't merge the PR so back to docs-bot to merge the PR echo "Setting pull request to auto merge..." unset GITHUB_TOKEN - gh auth login --with-token <<< "${{ steps.app-token.outputs.token }}" + gh auth login --with-token <<< "${{ secrets.DOCS_BOT_PAT_BASE }}" gh pr merge --auto echo "Set pull request to auto merge" @@ -125,4 +116,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/sync-codeql-cli.yml b/.github/workflows/sync-codeql-cli.yml index b19fc0821884..8ceecbd8bb19 100644 --- a/.github/workflows/sync-codeql-cli.yml +++ b/.github/workflows/sync-codeql-cli.yml @@ -31,22 +31,12 @@ jobs: steps: - name: Checkout repository code uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: semmle-code,docs-internal - - # Check out a nested repository inside of previous checkout - name: Checkout semmle-code repo uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: # By default, only the most recent commit of the `main` branch # will be checked out - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} repository: github/semmle-code path: semmle-code ref: ${{ inputs.SOURCE_BRANCH }} @@ -83,7 +73,7 @@ jobs: - name: Create pull request env: # Needed for gh - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | # If nothing to commit, exit now. It's fine. No orphans. changes=$(git diff --name-only | wc -l) diff --git a/.github/workflows/sync-graphql.yml b/.github/workflows/sync-graphql.yml index a82f51acb37a..5ceb53d8ad09 100644 --- a/.github/workflows/sync-graphql.yml +++ b/.github/workflows/sync-graphql.yml @@ -26,21 +26,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: github,docs-internal,docs-engineering - - uses: ./.github/actions/node-npm-setup - name: Run updater scripts id: sync env: # need to use a token from a user with access to github/github for this step - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: npm run sync-graphql - name: Create pull request id: create-pull-request @@ -53,7 +44,7 @@ jobs: # Token should be a PAT because actions performed with GITHUB_TOKEN # don't trigger other workflows and this action force pushes updates # from the default branch. - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} commit-message: 'Update GraphQL data files' title: GraphQL schema update body: @@ -66,7 +57,7 @@ jobs: - name: Enable GitHub auto-merge if: ${{ steps.create-pull-request.outputs.pull-request-number }} env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} AUTOMERGE_PR_NUMBER: ${{ steps.create-pull-request.outputs.pull-request-number }} run: npm run enable-automerge @@ -89,7 +80,7 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} notify_ignored_changes: if: github.repository == 'github/docs-internal' && needs.update_graphql_files.outputs.ignored-count > 0 && github.event_name != 'workflow_dispatch' @@ -98,15 +89,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: ./.github/actions/slack-alert with: slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} @@ -120,4 +102,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/sync-llms-txt.yml b/.github/workflows/sync-llms-txt.yml index 0c9501cb648b..ff635b861ccf 100644 --- a/.github/workflows/sync-llms-txt.yml +++ b/.github/workflows/sync-llms-txt.yml @@ -38,20 +38,11 @@ jobs: uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: github,docs-internal,docs-engineering,docs-internal-data - - uses: ./.github/actions/node-npm-setup - name: Generate llms.txt for docs.github.com env: - DOCS_BOT_PAT_BASE: ${{ steps.app-token.outputs.token }} + DOCS_BOT_PAT_BASE: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | npm run generate-llms-txt --silent -- \ --config data/llms-txt/config-docs.yml \ @@ -60,7 +51,7 @@ jobs: - name: Generate llms.txt for github.com env: - DOCS_BOT_PAT_BASE: ${{ steps.app-token.outputs.token }} + DOCS_BOT_PAT_BASE: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | npm run generate-llms-txt --silent -- \ --config data/llms-txt/config-monolith.yml \ @@ -83,7 +74,7 @@ jobs: - name: Ensure sync branch exists in docs-internal if: steps.diff_docs.outputs.changed == 'true' env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | REPO="github/docs-internal" if gh api "repos/$REPO/git/ref/heads/$BRANCH" --jq '.object.sha' > /dev/null 2>&1; then @@ -99,7 +90,7 @@ jobs: - name: Commit and push docs.md if: steps.diff_docs.outputs.changed == 'true' env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | cp /tmp/docs-llms.txt data/llms-txt/docs.md git config user.name "docs-bot" @@ -120,7 +111,7 @@ jobs: - name: Create or update docs-internal PR if: steps.diff_docs.outputs.changed == 'true' env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | REPO="github/docs-internal" if EXISTING_PR=$(gh pr list --repo "$REPO" --head "$BRANCH" \ @@ -148,7 +139,7 @@ jobs: - name: Fetch current public/llms.txt from github/github id: fetch_monolith env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | if gh api repos/github/github/contents/public/llms.txt \ --jq '.content' 2>/dev/null | base64 -d > /tmp/monolith-current.txt; then @@ -171,7 +162,7 @@ jobs: - name: Ensure sync branch exists in github/github if: steps.diff_monolith.outputs.changed == 'true' env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | REPO="github/github" if gh api "repos/$REPO/git/ref/heads/$BRANCH" --jq '.object.sha' > /dev/null 2>&1; then @@ -189,7 +180,7 @@ jobs: - name: Commit monolith llms.txt to github/github if: steps.diff_monolith.outputs.changed == 'true' env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | REPO="github/github" CONTENT=$(base64 -w 0 /tmp/monolith-llms.txt) @@ -214,7 +205,7 @@ jobs: - name: Create or update github/github PR if: steps.diff_monolith.outputs.changed == 'true' env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | REPO="github/github" if EXISTING_PR=$(gh pr list --repo "$REPO" --head "$BRANCH" \ @@ -258,4 +249,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/sync-sdk-docs.yml b/.github/workflows/sync-sdk-docs.yml index 5b122afb32e5..d94684809603 100644 --- a/.github/workflows/sync-sdk-docs.yml +++ b/.github/workflows/sync-sdk-docs.yml @@ -49,18 +49,9 @@ jobs: - name: Checkout docs-internal uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-internal,copilot-sdk,docs-engineering - - name: Fetch SDK docs from copilot-sdk env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | set -e tmp=$(mktemp -d) @@ -182,7 +173,7 @@ jobs: && github.event_name != 'pull_request' && inputs.dry_run != 'true' env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" @@ -205,7 +196,7 @@ jobs: && github.event_name != 'pull_request' && inputs.dry_run != 'true' env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | PR_TITLE="Sync Copilot SDK docs (auto-generated)" PR_BODY="## Summary @@ -255,4 +246,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/sync-secret-scanning.yml b/.github/workflows/sync-secret-scanning.yml index 099e99b75a36..a3a4f61c0191 100644 --- a/.github/workflows/sync-secret-scanning.yml +++ b/.github/workflows/sync-secret-scanning.yml @@ -25,15 +25,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: token-scanning-service,docs-internal,docs-engineering - - uses: ./.github/actions/node-npm-setup - name: Sync secret scanning data @@ -41,7 +32,7 @@ jobs: env: # need to use a token from a user with access to # github/token-scanning-service for this step - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | npm run sync-secret-scanning @@ -53,7 +44,7 @@ jobs: HUSKY: '0' with: # need to use a token with repo and workflow scopes for this step - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} commit-message: 'Add updated secret scanning data' title: Sync secret scanning data body: | @@ -73,7 +64,7 @@ jobs: - name: Enable GitHub auto-merge if: ${{ steps.create-pull-request.outputs.pull-request-number }} env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} AUTOMERGE_PR_NUMBER: ${{ steps.create-pull-request.outputs.pull-request-number }} run: npm run enable-automerge @@ -92,4 +83,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/test-changed-content.yml b/.github/workflows/test-changed-content.yml index ef25f3f94677..29c9cd9704b6 100644 --- a/.github/workflows/test-changed-content.yml +++ b/.github/workflows/test-changed-content.yml @@ -34,20 +34,10 @@ jobs: - uses: ./.github/actions/node-npm-setup - - name: Generate GitHub App token - if: ${{ github.repository == 'github/docs-internal' }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-early-access - - uses: ./.github/actions/get-docs-early-access if: ${{ github.repository == 'github/docs-internal' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - uses: ./.github/actions/cache-nextjs diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 13977e4c30c0..05f6da9695f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -98,20 +98,10 @@ jobs: - uses: ./.github/actions/node-npm-setup - - name: Generate GitHub App token - if: ${{ github.repository == 'github/docs-internal' }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-early-access,docs-internal.es-es,docs-internal.ja-jp,docs-internal.pt-br,docs-internal.zh-cn,docs-internal.ru-ru,docs-internal.fr-fr,docs-internal.ko-kr,docs-internal.de-de - - uses: ./.github/actions/get-docs-early-access if: ${{ github.repository == 'github/docs-internal' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - name: Check the test fixture data (if applicable) if: ${{ matrix.name == 'fixtures' }} @@ -136,7 +126,7 @@ jobs: if: ${{ matrix.name == 'languages' }} uses: ./.github/actions/clone-translations with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} - name: Gather files changed if: ${{ matrix.name == 'content-linter' }} diff --git a/.github/workflows/triage-stale-check.yml b/.github/workflows/triage-stale-check.yml index ffb3ef481181..066360de6fff 100644 --- a/.github/workflows/triage-stale-check.yml +++ b/.github/workflows/triage-stale-check.yml @@ -51,20 +51,10 @@ jobs: with: slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} - - name: Generate GitHub App token - if: ${{ failure() }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} stale_staff: name: Remind staff about PRs waiting for review @@ -96,17 +86,7 @@ jobs: with: slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} - - name: Generate GitHub App token - if: ${{ failure() }} - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: docs-engineering - - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} diff --git a/.github/workflows/validate-github-github-docs-urls.yml b/.github/workflows/validate-github-github-docs-urls.yml index aea43103492b..44bccb99098a 100644 --- a/.github/workflows/validate-github-github-docs-urls.yml +++ b/.github/workflows/validate-github-github-docs-urls.yml @@ -35,20 +35,11 @@ jobs: steps: - name: Check out repo's default branch uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - name: Generate GitHub App token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - with: - app-id: ${{ secrets.DOCS_BOT_APP_ID }} - private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} - owner: github - repositories: github,docs-engineering - - uses: ./.github/actions/node-npm-setup - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} repository: github/github ref: master path: github @@ -65,7 +56,7 @@ jobs: - name: Update config/docs-urls.json in github/github (possibly) if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | npm run validate-github-github-docs-urls -- generate-new-json checks.json github/config/docs-urls.json @@ -96,7 +87,7 @@ jobs: - name: Clean up old branches in github/github if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} run: | npm run validate-github-github-docs-urls -- clean-up-old-branches --prefix update-docs-urls @@ -124,7 +115,7 @@ jobs: if: ${{ github.event_name == 'pull_request' && steps.changed_files.outputs.any_modified == 'true' }} env: CHANGED_FILES: ${{ steps.changed_files.outputs.all_modified_files }} - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} ISSUE_NUMBER: ${{ github.event.pull_request.number }} REPOSITORY: ${{ github.repository }} run: | @@ -138,4 +129,4 @@ jobs: - uses: ./.github/actions/create-workflow-failure-issue if: ${{ failure() && github.event_name == 'schedule' }} with: - token: ${{ steps.app-token.outputs.token }} + token: ${{ secrets.DOCS_BOT_PAT_BASE }} From 2a86521be32982691495ffafe3dd67797aca7c34 Mon Sep 17 00:00:00 2001 From: Greg Padak Date: Wed, 22 Jul 2026 15:16:28 +0000 Subject: [PATCH 6/8] Document managed settings for Copilot Standalone (#62312) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com> --- .../configure-enterprise-managed-settings.md | 26 +++++++++++++++++++ ...dicated-enterprise-for-copilot-business.md | 9 +++++++ 2 files changed, 35 insertions(+) diff --git a/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-managed-settings.md b/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-managed-settings.md index 4e30abb0cac2..d88a66eb0356 100644 --- a/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-managed-settings.md +++ b/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-managed-settings.md @@ -33,6 +33,8 @@ There are multiple ways to deploy enterprise managed settings. Use the following * **MDM-managed**: Best when IT teams need device-group targeting through existing MDM tooling on macOS and Windows * **File-based**: Available on all platforms, and useful when server-managed and MDM-managed deployment are not available, including developer environments such as containers and {% data variables.product.prodname_codespaces %} +There are additional considerations if you use a dedicated enterprise for {% data variables.copilot.copilot_business_short %}. See [Guidance for dedicated {% data variables.copilot.copilot_business_short %} enterprises](#guidance-for-dedicated-copilot-business-enterprises). + ## Deploying server-managed settings 1. Create and configure your `.github-private` repository. See [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/create-github-private-repo). @@ -64,3 +66,27 @@ There are multiple ways to deploy enterprise managed settings. Use the following Once the configuration is committed, users on a supported client see the specified settings within about an hour, since clients periodically check the server for updated configuration. Restarting the client or signing in again applies the latest settings immediately. If a user does not see these settings, ensure they receive access to {% data variables.product.prodname_copilot_short %} through your enterprise or one of its organizations. If a user receives a license from multiple billing entities, ensure they have selected your enterprise in the "Usage billed to" dropdown in their [personal {% data variables.product.prodname_copilot_short %} settings](https://github.com/settings/copilot/features). + +## Guidance for dedicated {% data variables.copilot.copilot_business_short %} enterprises + +If you have a dedicated enterprise for {% data variables.copilot.copilot_business_short %} (sometimes called {% data variables.product.prodname_copilot_short %} Standalone), you can still use enterprise managed settings. The deployment method you choose determines what you need to set up first. + +### Using server-managed settings + +Server-managed settings require an organization and a `.github-private` repository. To create these, one user in your enterprise needs a {% data variables.product.prodname_enterprise %} license. With that license, the user can: + +1. Create an organization and a `.github-private` repository. See [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/create-github-private-repo). +1. Add settings to the repository in a `copilot/{% data variables.copilot.managed_setting_file %}` file. +1. Set that organization as the source of governance for your enterprise's AI standards. See [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/create-github-private-repo#selecting-your-repository-as-your-source-of-governance). + +From that point on, any user on your enterprise's {% data variables.product.prodname_copilot_short %} plan using {% data variables.copilot.copilot_cli_short %} or {% data variables.product.prodname_vscode_shortname %} is governed by those settings, whether or not they have access to the `.github-private` repository. + +The main limitation of this method is the {% data variables.product.prodname_enterprise %} license requirement to create the organization and repository. + +### Using MDM-managed or file-based settings + +If you don't want to add a {% data variables.product.prodname_enterprise %} license or create an organization, you can deploy the same settings through MDM (such as Intune or Jamf) or a file-based deployment. These methods use the same JSON schema and don't require an organization or `.github-private` repository. See [Deploying MDM-managed settings](#deploying-mdm-managed-settings) and [Deploying file-based settings](#deploying-file-based-settings). For {% data variables.product.prodname_vscode_shortname %}-specific guidance, see [Deploy Copilot managed settings](https://code.visualstudio.com/docs/enterprise/ai-settings#_deploy-copilot-managed-settings) in the {% data variables.product.prodname_vscode_shortname %} documentation. + +### Plugin access considerations + +Users don't need access to the `.github-private` repository for clients to pull in managed settings. However, if managed settings define a plugin using `enabledPlugins`, the client automatically tries to install it for each user. The user needs access to where the plugin files are hosted. If the plugin is hosted in a private repository on {% data variables.product.prodname_dotcom %}, the user needs authorization to that repository, which may require a license. diff --git a/content/copilot/how-tos/copilot-on-github/set-up-copilot/enable-copilot/set-up-a-dedicated-enterprise-for-copilot-business.md b/content/copilot/how-tos/copilot-on-github/set-up-copilot/enable-copilot/set-up-a-dedicated-enterprise-for-copilot-business.md index 9d73b89d371a..5a6ee5d57d4c 100644 --- a/content/copilot/how-tos/copilot-on-github/set-up-copilot/enable-copilot/set-up-a-dedicated-enterprise-for-copilot-business.md +++ b/content/copilot/how-tos/copilot-on-github/set-up-copilot/enable-copilot/set-up-a-dedicated-enterprise-for-copilot-business.md @@ -61,6 +61,15 @@ Give people access to {% data variables.product.prodname_copilot_short %} by ass For detailed steps, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-access/grant-access#assigning-licenses-to-users-or-teams). +## Govern the use of {% data variables.product.prodname_copilot_short %} in your enterprise + +After you assign licenses, you can centrally govern how members use {% data variables.product.prodname_copilot_short %}: + +* **Policies**. Control feature availability with policies in AI Controls. +* **Enterprise managed settings**. Distribute client governance and extensibility configuration from a centrally defined source. You can apply permission seetings like disabling bypass mode, restrict plugins, and set the default model for new conversations to {% data variables.copilot.copilot_cli_short %} and {% data variables.product.prodname_vscode_shortname %}. See [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-managed-settings). + +To use server-managed settings, you need an organization and a `.github-private` repository, which requires a {% data variables.product.prodname_enterprise %} license for the user who creates them. Alternatively, you can deploy managed settings through MDM or a file-based deployment without creating an organization. + ## Next steps Help your developers start using {% data variables.product.prodname_copilot_short %} and measure its impact. See [AUTOTITLE](/copilot/tutorials/roll-out-at-scale/enable-developers/drive-adoption). From ed9d7cbef5f059c9ca29a3f796dc228e711663e2 Mon Sep 17 00:00:00 2001 From: Sophie <29382425+sophietheking@users.noreply.github.com> Date: Wed, 22 Jul 2026 16:05:59 +0000 Subject: [PATCH 7/8] Copilot Metrics Adoption Dashboard [GA] (#62261) Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com> Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 72df5fa0-bb85-4fc7-a3e1-881c7060f94a --- .../copilot-usage-metrics/copilot-metrics.md | 37 ++++++++++++++++++- .../concepts/copilot-usage-metrics/index.md | 1 + .../how-tos/administer-copilot/index.md | 1 + .../view-impact-dashboard.md | 32 ++++++++++++++++ .../copilot-usage-metrics.md | 26 +++++++++++++ .../interpret-copilot-metrics.md | 28 ++++++++++++++ .../reconciling-usage-metrics.md | 1 + .../team-level-metrics.md | 3 ++ .../track-usage-and-adoption.md | 4 ++ .../pilot-a-feature-or-model.md | 4 ++ .../roll-out-at-scale/measure-success.md | 5 ++- 11 files changed, 139 insertions(+), 3 deletions(-) create mode 100644 content/copilot/how-tos/administer-copilot/view-impact-dashboard.md diff --git a/content/copilot/concepts/copilot-usage-metrics/copilot-metrics.md b/content/copilot/concepts/copilot-usage-metrics/copilot-metrics.md index c0206d421e44..6ba71c160d08 100644 --- a/content/copilot/concepts/copilot-usage-metrics/copilot-metrics.md +++ b/content/copilot/concepts/copilot-usage-metrics/copilot-metrics.md @@ -31,6 +31,7 @@ Metrics are available through: * The {% data variables.product.prodname_copilot_short %} usage metrics APIs, which provide detailed, exportable data at the enterprise, organization, repository, and user levels. * The {% data variables.product.prodname_copilot_short %} usage metrics dashboard, which visualizes 28-day usage trends across your enterprise and organizations. * The code generation dashboard, which breaks down how code is being generated by users and agents across your enterprise and organizations. +* The {% data variables.product.prodname_copilot_short %} impact dashboard, which groups users into adoption cohorts and connects that adoption to pull request output. * The {% data variables.product.prodname_copilot_short %} usage metrics NDJSON export, which offers raw data for custom BI tools or long-term storage. ## Which usage is included? @@ -94,7 +95,7 @@ To be included in the {% data variables.product.prodname_copilot_short %} usage ## Data freshness -The data in the {% data variables.product.prodname_copilot_short %} usage metrics dashboard and API reports is updated on a regular schedule. +The data in the dashboards and API reports is updated on a regular schedule. You can expect data to be available within **two full days**. This means that data for a given day is processed and made available within two full UTC days after that day closes. @@ -102,7 +103,7 @@ You can expect data to be available within **two full days**. This means that da {% data variables.product.prodname_copilot_short %} usage metrics can be grouped into a few main categories: Adoption, engagement, acceptance rate, Lines of Code (LoC), and pull request lifecycle metrics. -**Adoption** measures how many licensed developers are actively using {% data variables.product.prodname_copilot_short %}. For example, daily active users (DAU) tells you how many unique users interacted with {% data variables.product.prodname_copilot_short %} on a given day. Ideally, you'll see a consistent upward trend in these metrics during rollout. {% data variables.copilot.copilot_code-review_short %} adoption is tracked separately, with distinct active and passive user counts. Active users manually requested a review or applied a suggestion; passive users had {% data variables.copilot.copilot_code-review_short %} automatically assigned to review their pull request. When a user has both signals in the same period, they are counted as active only. +**Adoption** measures how many licensed developers are actively using {% data variables.product.prodname_copilot_short %}. For example, daily active users (DAU) tells you how many unique users interacted with {% data variables.product.prodname_copilot_short %} on a given day. Ideally, you'll see a consistent upward trend in these metrics during rollout. {% data variables.copilot.copilot_code-review_short %} adoption is tracked separately, with distinct active and passive user counts. Active users manually requested a review or applied a suggestion; passive users had {% data variables.copilot.copilot_code-review_short %} automatically assigned to review their pull request. When a user has both signals in the same period, they are counted as active only. For a deeper view of adoption depth, users are also grouped into adoption cohorts. See [Understanding adoption cohorts](#understanding-adoption-cohorts). **Engagement** measures describe how deeply developers use {% data variables.product.prodname_copilot_short %} once they’ve adopted it. Key engagement metrics show not only frequency of use but also breadth across features. For example, average chat requests per active user measures how often users open and interact with {% data variables.copilot.copilot_chat_short %}. You'd want to see regular and increasing chat use across languages and IDEs. @@ -112,6 +113,35 @@ You can expect data to be available within **two full days**. This means that da **Pull request lifecycle metrics** measure how {% data variables.product.prodname_copilot_short %} activity relates to pull request outcomes and delivery flow. These metrics include pull request creation and merge counts, median time to merge, and review suggestion activity. By comparing overall pull request activity with pull requests created by {% data variables.product.prodname_copilot_short %}, you can evaluate how AI-assisted workflows influence throughput and cycle time at the organization or enterprise level. +### Understanding adoption cohorts + +Rather than measuring adoption as a single active-user count, {% data variables.product.prodname_copilot_short %} groups users into **adoption cohorts** based on how they engage with {% data variables.product.prodname_copilot_short %}, not just whether they engage at all. A flat active-user count treats someone who occasionally accepts a code completion the same as someone who orchestrates multiple agent-driven workflows throughout the day. Cohorting separates these two users, so you can see whether your organization's usage is deepening over time rather than plateauing at initial trial. + +Users are grouped into the following phases: + +| Phase | What it represents | +|:--|:--| +| Passive users | The user has not met the engagement threshold for a phase during the period. In the underlying data, this phase is labeled `No Cohort`. | +| Phase 1: Code first | The user engaged with code completions and/or IDE agent mode. | +| Phase 2: Agent first | The user engaged with a single {% data variables.product.github %}-based agent surface, such as {% data variables.copilot.copilot_cloud_agent %}, {% data variables.copilot.copilot_code-review_short %}, or {% data variables.copilot.copilot_cli_short %}. Only active engagement with {% data variables.copilot.copilot_code-review_short %} counts here; having it automatically assigned to review a pull request without further engagement does not. | +| Phase 3: Multi-agent | The user engaged with two or more {% data variables.product.github %}-based agent surfaces, or with the {% data variables.copilot.github_copilot_app %}. | + +To be grouped into a phase, a user must meet an engagement threshold of at least two active days out of the trailing 28-day window, using the surfaces associated with that phase. A user only needs two qualifying days on a higher phase's surfaces to progress to that phase. Agent usage alone can qualify a user, without separate days of plain completions. + +Phase assignment is recalculated daily from the trailing 28-day window, so a user's phase can shift from one day to the next as their activity within that window changes. This is expected behavior, not a data error. + +Users who haven't met any phase's threshold are grouped into **Passive users**, which is not a measure of inactivity, but a signal that a user's engagement hasn't yet reached the level needed to reliably classify their adoption depth. For example, a user with fewer than two active days in the trailing 28-day window, or one who only lightly uses a surface like {% data variables.copilot.copilot_chat_short %} on {% data variables.product.prodname_dotcom_the_website %}, shows as a passive user. + +Because phase assignment is based on **which surfaces a user engages with**, not simply how many actions they take, a user with high completion volume but no agent usage stays in Phase 1, while a user with lighter but broader usage across agent surfaces progresses to Phase 2 or Phase 3. + +For the underlying schema fields, see [AI adoption phase fields](/copilot/reference/copilot-usage-metrics/copilot-usage-metrics#ai-adoption-phase-fields). + +The impact dashboard's **adoption multiplier** divides the average amount of pull requests merged for engaged users, which are ones in Phase 1, 2, or 3, by the amount of pull requests merged for Passive users. + +This shows the relative impact of deeper adoption, independent of how many users fall into each phase. This is a measurement to understand the potential lift that becoming a more engaged user can provide. + +For example, if users in the engaged cohorts averaged 20 pull requests/user/month and the passive cohort averaged 10, then the equation is 20 / 10 = 2x multiplier. + ### Interpreting pull request lifecycle metrics across scopes Pull request lifecycle metrics are available at both the organization and enterprise level. When comparing reports, keep the following in mind: @@ -132,6 +162,8 @@ These metrics can be used together to answer key questions about your teams' usa | Are enablement efforts working? | Growth in adoption and engagement after training or communication campaigns | | Is {% data variables.product.prodname_copilot_short %} influencing delivery speed or pull request throughput? | Pull request merge counts and median time to merge | | How is {% data variables.copilot.copilot_code-review_short %} being adopted? | Active versus passive code review user counts | +| Is my organization's adoption deepening over time? | Adoption cohort distribution and engagement trends | +| How do I act on the insights from the dashboard? | See [AUTOTITLE](/copilot/reference/copilot-usage-metrics/interpret-copilot-metrics#reviewing-adoption-cohorts) | Look for patterns across these signals rather than focusing on any single number. For example, a steady DAU paired with a rising acceptance rate indicates growing trust and value. @@ -141,5 +173,6 @@ Now that you understand what each {% data variables.product.prodname_copilot_sho * To view adoption and usage trends across your enterprise and organizations, see [AUTOTITLE](/copilot/how-tos/administer-copilot/view-usage-and-adoption). * To analyze how code is being generated by users and agents, see [AUTOTITLE](/copilot/how-tos/administer-copilot/view-code-generation). +* To view adoption cohorts and depth of adoption, see [AUTOTITLE](/copilot/how-tos/administer-copilot/view-impact-dashboard). * To access {% data variables.product.prodname_copilot_short %} usage metrics programmatically, see [AUTOTITLE](/rest/copilot/copilot-usage-metrics). * To construct team-level metrics by aggregating per-user records, see [AUTOTITLE](/copilot/reference/copilot-usage-metrics/team-level-metrics). diff --git a/content/copilot/concepts/copilot-usage-metrics/index.md b/content/copilot/concepts/copilot-usage-metrics/index.md index 7344fb0544b1..10594e9f30a2 100644 --- a/content/copilot/concepts/copilot-usage-metrics/index.md +++ b/content/copilot/concepts/copilot-usage-metrics/index.md @@ -13,6 +13,7 @@ children: - /copilot-metrics - /content/copilot/how-tos/administer-copilot/view-usage-and-adoption - /content/copilot/how-tos/administer-copilot/view-code-generation + - /content/copilot/how-tos/administer-copilot/view-impact-dashboard - /content/copilot/reference/copilot-usage-metrics/copilot-usage-metrics - /content/copilot/reference/copilot-usage-metrics/interpret-copilot-metrics - /content/copilot/reference/copilot-usage-metrics/reconciling-usage-metrics diff --git a/content/copilot/how-tos/administer-copilot/index.md b/content/copilot/how-tos/administer-copilot/index.md index 5f456fdca976..2037f68ce914 100644 --- a/content/copilot/how-tos/administer-copilot/index.md +++ b/content/copilot/how-tos/administer-copilot/index.md @@ -11,6 +11,7 @@ children: - /download-activity-report - /view-usage-and-adoption - /view-code-generation + - /view-impact-dashboard redirect_from: - /copilot/how-tos/administer contentType: how-tos diff --git a/content/copilot/how-tos/administer-copilot/view-impact-dashboard.md b/content/copilot/how-tos/administer-copilot/view-impact-dashboard.md new file mode 100644 index 000000000000..45780ddcc822 --- /dev/null +++ b/content/copilot/how-tos/administer-copilot/view-impact-dashboard.md @@ -0,0 +1,32 @@ +--- +title: Viewing the Copilot impact dashboard +shortTitle: View impact dashboard +intro: 'The impact dashboard shows how deeply your organization has adopted {% data variables.product.prodname_copilot_short %}, and how that adoption connects to pull request output.' +permissions: '{% data reusables.copilot.usage-metrics-permissions %}' +versions: + feature: copilot +contentType: how-tos +allowTitleToDifferFromFilename: true +category: + - Copilot usage metrics + - View metrics + - Track Copilot usage +--- + +Instead of a flat active-user count, the impact dashboard groups users into adoption cohorts based on how they engage with {% data variables.product.prodname_copilot_short %}, and connects that engagement to pull request throughput. This gives you a more meaningful signal of adoption depth than daily or weekly active user counts alone. + +For a detailed explanation of what the dashboard shows, including adoption cohorts, engagement trends, and recommendations, see [AUTOTITLE](/copilot/concepts/copilot-usage-metrics/copilot-metrics). + +## Prerequisite + +{% data reusables.copilot.copilot-metrics-dashboard-prereq %} + +## Accessing the dashboard + +{% data reusables.copilot.access-copilot-metrics-dashboard %} +1. In the left sidebar, click **{% data variables.product.prodname_copilot_short %} impact**. + +## Next steps + +* To learn how to interpret cohort shifts and what action to take, see [AUTOTITLE](/copilot/reference/copilot-usage-metrics/interpret-copilot-metrics#reviewing-adoption-cohorts). +* For raw per-team NDJSON data, such as for custom BI reporting, see [AUTOTITLE](/copilot/reference/copilot-usage-metrics/team-level-metrics). diff --git a/content/copilot/reference/copilot-usage-metrics/copilot-usage-metrics.md b/content/copilot/reference/copilot-usage-metrics/copilot-usage-metrics.md index 9b9745813ed6..cbad6eeaf878 100644 --- a/content/copilot/reference/copilot-usage-metrics/copilot-usage-metrics.md +++ b/content/copilot/reference/copilot-usage-metrics/copilot-usage-metrics.md @@ -45,6 +45,17 @@ These metrics appear directly in the {% data variables.product.prodname_copilot_ | Most used chat model | The most frequently used chat model in the last 28 days. | | Requests per chat mode | Number of chat requests by mode (ask, edit, plan, agent). | +## Impact dashboard metrics + +These metrics appear in the impact dashboard, which groups users into adoption cohorts and connects that adoption to pull request output. For guidance on interpreting adoption cohorts, see [AUTOTITLE](/copilot/concepts/copilot-usage-metrics/copilot-metrics#understanding-adoption-cohorts). + +| Metric | Description | +|:--|:--| +| Engagement trends | How the organization's adoption cohort mix and pull request throughput (total pull requests merged per month) have changed over the last six months. | +| Adoption cohort distribution | Share of licensed users grouped into each adoption phase (Passive users, Phase 1, Phase 2, Phase 3) for the period. Passive users correspond to the `No Cohort` value in the API. | +| Adoption multiplier | Compares engaged users (Phase 1, 2, or 3) against passive users on code shipped (pull requests merged per user per month) and time to merge pull requests, to show the relative impact of deeper {% data variables.product.prodname_copilot_short %} adoption. | +| Recommendations | Suggested actions, such as configuring {% data variables.copilot.copilot_cloud_agent %} or enabling {% data variables.copilot.copilot_code-review_short %}, based on the organization's current cohort distribution. | + ## Code generation dashboard metrics These metrics appear in the code generation dashboard and provide a breakdown of how code is being generated across user-initiated and agent-initiated activity. All values are derived from lines of code (LoC) added or deleted in the IDE. @@ -278,6 +289,21 @@ The `pull_requests` object appears in aggregated enterprise and organization rep {% data variables.product.prodname_copilot_short %} groups users into AI adoption phases based on their activity. Phase information appears in two places: the per-user `ai_adoption_phase` object, and the aggregated `totals_by_ai_adoption_phase` array. For the phase values, see [Breakdown dimension values](#breakdown-dimension-values). +#### Classification logic + +A user is classified into a phase based on which `used_*` per-user fields (see [Per-user report fields](#per-user-report-fields)) are `true` on at least **two active days within the trailing 28-day window**: + +| Phase | Surface criteria | +|:--|:--| +| No Cohort (displayed as "Passive users" in the impact dashboard) | The user has not met the two-day engagement threshold for any phase in the window. | +| Phase 1: Code first | At least two active days where `used_chat` is `true`, `code_acceptance_activity_count` is greater than `0`, or `used_agent` is `true`. | +| Phase 2: Agent first | At least two active days where a single GitHub-based agent surface was used: `used_cli` is `true`, `used_copilot_cloud_agent` is `true`, or `used_copilot_code_review_active` is `true`. Passive {% data variables.copilot.copilot_code-review_short %} activity (`used_copilot_code_review_passive`) doesn't count toward phase classification. | +| Phase 3: Multi-agent | At least two active days where two or more of the GitHub-based agent surfaces listed under Phase 2 were used. | + +A user only needs two qualifying days on a phase's own criteria to reach that phase. A user doesn't need to independently meet Phase 1 criteria to reach Phase 2 or Phase 3, although in practice most agent surface usage co-occurs with completions or chat activity. + +Phase assignment is recalculated each day using the trailing 28-day window, so a user's phase can change from one day to the next as their activity within the window shifts. This is expected behavior and does not indicate a data error. + The per-user `ai_adoption_phase` object contains: | Field | Type | Nullable | Description | diff --git a/content/copilot/reference/copilot-usage-metrics/interpret-copilot-metrics.md b/content/copilot/reference/copilot-usage-metrics/interpret-copilot-metrics.md index ca924ab7a425..a8c7f347db83 100644 --- a/content/copilot/reference/copilot-usage-metrics/interpret-copilot-metrics.md +++ b/content/copilot/reference/copilot-usage-metrics/interpret-copilot-metrics.md @@ -58,6 +58,34 @@ The "Language usage" and "Language usage per day" charts show which programming | Language usage | Shows the share of {% data variables.copilot.copilot_chat_short %} activity by programming language. | Identify where {% data variables.copilot.copilot_chat_short %} provides the most value and where additional support or enablement might help. | | Language usage per day | Tracks daily fluctuations in language activity. | Spot shifts in development focus or confirm whether new teams or projects are driving increased activity. | +## Reviewing adoption cohorts + +The impact dashboard's adoption cohort distribution shows the share of users in each phase, and how that distribution shifts over time. For what each phase means and how classification works, see [AUTOTITLE](/copilot/concepts/copilot-usage-metrics/copilot-metrics#understanding-adoption-cohorts). + +| Signal | What it suggests | Suggested action | +|:--|:--|:--| +| Shrinking Phase 1 share, growing Phase 2 or Phase 3 share | Users are progressing from code completions toward agent-driven workflows. | Continue current enablement; consider sharing internal success stories to sustain momentum. | +| Large or growing passive users share | Many licensed users haven't yet reached the engagement threshold for a phase. | Verify license assignment and IDE setup; offer onboarding to re-engage inactive users. Also check whether affected users rely primarily on a surface that isn't part of any phase's classification criteria, such as {% data variables.copilot.copilot_chat_short %} on {% data variables.product.prodname_dotcom_the_website %}. | +| Stalled progression from Phase 1 to Phase 2 | Users are comfortable with completions and chat but haven't adopted agent surfaces. | Follow a recommendation card, such as configuring {% data variables.copilot.copilot_cloud_agent %}, or run a demo of agent workflows. | +| Stalled progression from Phase 2 to Phase 3 | Users have adopted one agent surface but haven't layered in additional agent surfaces. | Follow a recommendation card, such as enabling {% data variables.copilot.copilot_code-review_short %}, to introduce a second agent surface. | +| A user's phase changes from one day to the next without a change in their habits | Phase assignment is recalculated daily from the trailing 28-day window, so a user's phase shifts as older days roll out of the window. | This is expected behavior, not a data error; no action needed. | + +When you see a recommendation card in the dashboard, such as configuring {% data variables.copilot.copilot_cloud_agent %}, enabling {% data variables.copilot.copilot_code-review_short %}, or sending an onboarding nudge, follow the linked how-to to complete the setup. Each recommendation is generated from your organization's current cohort distribution and targets the gap most likely to move users toward deeper adoption. + +## Reviewing the adoption multiplier + +The adoption multiplier compares engaged users (Phase 1, 2, or 3) against passive users on code shipped (pull requests merged per user per month) and time to merge pull requests. This shows the relative impact of deeper adoption, independent of how many users fall into each phase. + +| Signal | What it suggests | Suggested action | +|:--|:--|:--| +| Engaged users merge more pull requests per user per month than passive users | Deeper {% data variables.product.prodname_copilot_short %} adoption is associated with higher individual output. | Use this comparison to support the case for continued enablement investment. | +| Engaged users merge fewer pull requests per user per month than passive users | Engaged users may be spending more time on larger or more complex work, or the comparison may reflect differences in team composition rather than adoption depth. | Cross-reference with adoption cohort distribution and team-level data before drawing conclusions; avoid treating the multiplier as a standalone measure of productivity. | +| Engaged users merge pull requests faster than passive users | Deeper adoption is associated with a shorter pull request lifecycle. | Use this comparison alongside pull request lifecycle metrics to evaluate overall delivery impact. | +| Multiplier stays flat despite growth in Phase 2 or Phase 3 share | Agent adoption hasn't yet translated into a measurable difference in output between engaged and passive users. | Check whether agent usage is concentrated in a few users or teams, and whether enough time has passed since rollout for the impact to show. | + +> [!NOTE] +> The adoption multiplier compares two different populations of users, not the same users over time. Differences in team composition, project complexity, or seniority between engaged and passive users can influence the comparison as much as {% data variables.product.prodname_copilot_short %} adoption itself. + ## Acting on your insights Use trends in usage, feature adoption, and language activity to guide enablement and rollout planning. diff --git a/content/copilot/reference/copilot-usage-metrics/reconciling-usage-metrics.md b/content/copilot/reference/copilot-usage-metrics/reconciling-usage-metrics.md index 13e9e4b5045b..c8a2bf294bcd 100644 --- a/content/copilot/reference/copilot-usage-metrics/reconciling-usage-metrics.md +++ b/content/copilot/reference/copilot-usage-metrics/reconciling-usage-metrics.md @@ -41,6 +41,7 @@ The dashboard and APIs use shared definitions for key metrics: | Acceptance rate | Code completion acceptance rate | `code_acceptance_activity_count` ÷ `code_generation_activity_count` | Both sources calculate acceptance rate the same way, though rounding may differ. | | Agent adoption | Agent adoption chart | `totals_by_feature` where feature = “agent” | Reflects users who interacted with the {% data variables.copilot.copilot_agent_short %}. | | Language usage | Language usage charts | `totals_by_language_feature` or `totals_by_language_model` | The dashboard visualizes these aggregated fields. | +| Adoption cohort/phase | Adoption cohort distribution (impact dashboard) | `ai_adoption_phase`, `totals_by_ai_adoption_phase` | The dashboard and API read the same underlying field, so cohort counts should match between them. Users displayed as "Passive users" in the dashboard correspond to the `No Cohort` value in `totals_by_ai_adoption_phase`, and are included in that array like any other phase, so cohort percentages reflect all licensed users, not just those in Phase 1–3. | For complete field descriptions, see [AUTOTITLE](/copilot/reference/copilot-usage-metrics). diff --git a/content/copilot/reference/copilot-usage-metrics/team-level-metrics.md b/content/copilot/reference/copilot-usage-metrics/team-level-metrics.md index 15246925fd28..f97e0fc75966 100644 --- a/content/copilot/reference/copilot-usage-metrics/team-level-metrics.md +++ b/content/copilot/reference/copilot-usage-metrics/team-level-metrics.md @@ -17,6 +17,9 @@ The {% data variables.product.prodname_copilot_short %} usage metrics APIs do no The same join recipe supports any team-level slice you need: per `(team, day)`, per `(team, day, language)`, per `(team, day, IDE)`, over rolling windows, and so on. +> [!NOTE] +> If you only need a UI-based view of team-level adoption, the impact dashboard's user-team mapping surfaces team-level adoption cohort data natively, without requiring you to build the join described in this article. See [AUTOTITLE](/copilot/how-tos/administer-copilot/view-impact-dashboard). Use the manual join described below when you need raw per-team NDJSON data, such as for custom BI reporting, or team-level metrics beyond adoption cohorts. + ## Fetching the reports The two reports referenced in this guide are downloaded in two steps. First, call the REST endpoint for the day you want. The endpoint returns time-limited signed URLs from which you can download the report files. Then download the newline-delimited JSON (NDJSON) files those URLs point to. The user-teams and per-user rows are in those NDJSON files; they are not returned inline by the REST endpoint. diff --git a/content/copilot/tutorials/roll-out-at-scale/assign-licenses/track-usage-and-adoption.md b/content/copilot/tutorials/roll-out-at-scale/assign-licenses/track-usage-and-adoption.md index e69a3385bc4a..0d1ffe29f3f5 100644 --- a/content/copilot/tutorials/roll-out-at-scale/assign-licenses/track-usage-and-adoption.md +++ b/content/copilot/tutorials/roll-out-at-scale/assign-licenses/track-usage-and-adoption.md @@ -61,6 +61,9 @@ Once licenses are active, focus on the metrics that indicate healthy early adopt Healthy early adoption usually looks like 60–80% of assigned users showing activity within the first month. +> [!TIP] +> These signals show whether developers are trying {% data variables.product.prodname_copilot_short %}, but not whether that usage is deepening into agent-driven workflows. For a cohort-based view of adoption depth, see [AUTOTITLE](/copilot/how-tos/administer-copilot/view-impact-dashboard). + ## Step 4: Act on limited adoption signals If your metrics show limited adoption, try one of the following strategies. @@ -99,5 +102,6 @@ In some cases, you may need user-level activity data for deeper analysis or to i ## Further reading +* [AUTOTITLE](/copilot/how-tos/administer-copilot/view-impact-dashboard) * [AUTOTITLE](/copilot/tutorials/roll-out-at-scale/assign-licenses/remind-inactive-users) * [AUTOTITLE](/copilot/tutorials/roll-out-at-scale/enable-developers/drive-adoption) diff --git a/content/copilot/tutorials/roll-out-at-scale/govern-at-scale/pilot-a-feature-or-model.md b/content/copilot/tutorials/roll-out-at-scale/govern-at-scale/pilot-a-feature-or-model.md index 201791cdd8be..0efa78c6ac8b 100644 --- a/content/copilot/tutorials/roll-out-at-scale/govern-at-scale/pilot-a-feature-or-model.md +++ b/content/copilot/tutorials/roll-out-at-scale/govern-at-scale/pilot-a-feature-or-model.md @@ -104,6 +104,9 @@ Use {% data variables.product.prodname_copilot_short %} usage metrics to see how * To understand what the metrics cover and how to interpret them, see [AUTOTITLE](/copilot/concepts/copilot-usage-metrics/copilot-metrics). * To view the dashboard for your organization or enterprise, see [AUTOTITLE](/copilot/how-tos/administer-copilot/view-usage-and-adoption). +> [!TIP] +> A rising active-user count doesn't tell you whether that usage is meaningful, especially for an agentic feature. To see whether pilot participants are progressing to deeper, agent-driven usage, see [AUTOTITLE](/copilot/how-tos/administer-copilot/view-impact-dashboard). + ### Collect developer feedback from your pilot group Metrics tell you *whether* people use the feature, but not *why* or how well it works for them. Gather qualitative feedback to fill that gap. Run short surveys, hold regular check-ins, or set up a dedicated channel where pilot users can report what's working and what isn't. @@ -129,6 +132,7 @@ Pilot usage draws from the shared pool first (at no extra cost) before metered b You're ready to decide when you have: * Adoption metrics that show a stable pattern rather than a single early burst. +* For agentic features, adoption cohort data showing whether participants are progressing to deeper usage rather than plateauing. * Actual cost data, spanning at least one billing cycle, that you can compare against your estimate. * Feedback from a representative range of your pilot users. diff --git a/content/copilot/tutorials/roll-out-at-scale/measure-success.md b/content/copilot/tutorials/roll-out-at-scale/measure-success.md index 2b184b52e89a..0db0b5d94ced 100644 --- a/content/copilot/tutorials/roll-out-at-scale/measure-success.md +++ b/content/copilot/tutorials/roll-out-at-scale/measure-success.md @@ -54,6 +54,9 @@ The dashboard shows 28 days of aggregated IDE telemetry data for all licensed us {% data reusables.copilot.copilot-usage-metrics-sources %} +> [!TIP] +> Total active users and DAU show whether developers are using {% data variables.product.prodname_copilot_short %} at all, but not how deeply. For a signal that tracks whether trial usage is deepening over time, such as developers progressing from completions to agent workflows, see [AUTOTITLE](/copilot/how-tos/administer-copilot/view-impact-dashboard). + ## Step 3: Evaluate your trial results Compare your dashboard data to your trial goals. Common success indicators include: @@ -128,4 +131,4 @@ Document your findings and share them with stakeholders to inform the next phase ## Next steps -Now that you know how to measure the success of your {% data variables.product.prodname_copilot_short %} trial, you can continue to monitor adoption and engagement as you expand usage. To learn more about driving adoption and enabling developers, see [AUTOTITLE](/copilot/tutorials/roll-out-at-scale/enable-developers/drive-adoption). +Now that you know how to measure the success of your {% data variables.product.prodname_copilot_short %} trial, you can continue to monitor adoption and engagement as you expand usage. To learn more about driving adoption and enabling developers, see [AUTOTITLE](/copilot/tutorials/roll-out-at-scale/enable-developers/drive-adoption). To track adoption depth and connect spend to pull request output as you scale beyond the trial, see [AUTOTITLE](/copilot/how-tos/administer-copilot/view-impact-dashboard). From 7d1536b518c88d71cada159bb05c712e7f81d767 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Wed, 22 Jul 2026 16:57:48 +0000 Subject: [PATCH 8/8] GraphQL schema update (#62409) Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com> --- src/graphql/data/fpt/category-map.json | 29 +- src/graphql/data/fpt/changelog.json | 149 ++ src/graphql/data/fpt/schema-issues.json | 1259 ++++++++++++++--- src/graphql/data/fpt/schema-other.json | 944 +----------- src/graphql/data/fpt/schema-pulls.json | 540 ++++++- src/graphql/data/fpt/schema-repos.json | 369 ++++- src/graphql/data/fpt/schema.docs.graphql | 628 ++++++++ src/graphql/data/ghec/category-map.json | 29 +- src/graphql/data/ghec/schema-issues.json | 1259 ++++++++++++++--- src/graphql/data/ghec/schema-other.json | 944 +----------- src/graphql/data/ghec/schema-pulls.json | 540 ++++++- src/graphql/data/ghec/schema-repos.json | 369 ++++- src/graphql/data/ghec/schema.docs.graphql | 628 ++++++++ src/graphql/data/ghes-3.17/category-map.json | 14 +- src/graphql/data/ghes-3.17/schema-issues.json | 151 +- src/graphql/data/ghes-3.17/schema-other.json | 783 ---------- src/graphql/data/ghes-3.17/schema-pulls.json | 259 +++- src/graphql/data/ghes-3.17/schema-repos.json | 349 ++++- src/graphql/data/ghes-3.17/schema-teams.json | 38 +- src/graphql/data/ghes-3.18/category-map.json | 14 +- src/graphql/data/ghes-3.18/schema-issues.json | 163 ++- src/graphql/data/ghes-3.18/schema-other.json | 805 ----------- src/graphql/data/ghes-3.18/schema-pulls.json | 271 +++- src/graphql/data/ghes-3.18/schema-repos.json | 349 ++++- src/graphql/data/ghes-3.18/schema-teams.json | 38 +- src/graphql/data/ghes-3.19/category-map.json | 14 +- src/graphql/data/ghes-3.19/schema-issues.json | 179 ++- src/graphql/data/ghes-3.19/schema-other.json | 855 ----------- src/graphql/data/ghes-3.19/schema-pulls.json | 287 +++- src/graphql/data/ghes-3.19/schema-repos.json | 365 ++++- src/graphql/data/ghes-3.19/schema-teams.json | 38 +- src/graphql/data/ghes-3.20/category-map.json | 14 +- src/graphql/data/ghes-3.20/schema-issues.json | 207 ++- src/graphql/data/ghes-3.20/schema-other.json | 911 ------------ src/graphql/data/ghes-3.20/schema-pulls.json | 315 ++++- src/graphql/data/ghes-3.20/schema-repos.json | 365 ++++- src/graphql/data/ghes-3.20/schema-teams.json | 38 +- src/graphql/data/ghes-3.21/category-map.json | 10 +- src/graphql/data/ghes-3.21/schema-issues.json | 215 ++- src/graphql/data/ghes-3.21/schema-other.json | 893 ------------ src/graphql/data/ghes-3.21/schema-pulls.json | 323 ++++- src/graphql/data/ghes-3.21/schema-repos.json | 365 ++++- 42 files changed, 9838 insertions(+), 6477 deletions(-) diff --git a/src/graphql/data/fpt/category-map.json b/src/graphql/data/fpt/category-map.json index 0fc0ba941d0e..9401787dcb85 100644 --- a/src/graphql/data/fpt/category-map.json +++ b/src/graphql/data/fpt/category-map.json @@ -130,6 +130,7 @@ "addcomment": "issues", "addlabelstolabelable": "issues", "addsubissue": "issues", + "applypendingissuesuggestions": "issues", "clearlabelsfromlabelable": "issues", "closeissue": "issues", "createissue": "issues", @@ -149,6 +150,7 @@ "minimizecomment": "issues", "pinissue": "issues", "pinissuecomment": "issues", + "rejectpendingissuesuggestions": "issues", "removeassigneesfromassignable": "issues", "removeblockedby": "issues", "removelabelsfromlabelable": "issues", @@ -367,6 +369,7 @@ "usernamespacerepository": "enterprise-admin", "usernamespacerepositoryconnection": "enterprise-admin", "usernamespacerepositoryedge": "enterprise-admin", + "issueeventrationale": "other", "pageinfo": "other", "license": "licenses", "licenserule": "licenses", @@ -677,6 +680,7 @@ "issuetypeconnection": "issues", "issuetypeedge": "issues", "issuetyperemovedevent": "issues", + "issueupdateintent": "issues", "label": "issues", "labelconnection": "issues", "labeledge": "issues", @@ -693,6 +697,11 @@ "milestonedevent": "issues", "parentissueaddedevent": "issues", "parentissueremovedevent": "issues", + "pendingassigneesuggestion": "issues", + "pendingclosesuggestion": "issues", + "pendingfieldsuggestion": "issues", + "pendinglabelsuggestion": "issues", + "pendingtypesuggestion": "issues", "pinnedevent": "issues", "pinnedissue": "issues", "pinnedissuecomment": "issues", @@ -841,6 +850,10 @@ "pullrequestreviewthreadconnection": "pulls", "pullrequestreviewthreadedge": "pulls", "pullrequestrevisionmarker": "pulls", + "pullrequeststack": "pulls", + "pullrequeststackentry": "pulls", + "pullrequeststackentryconnection": "pulls", + "pullrequeststackentryedge": "pulls", "pullrequesttemplate": "pulls", "pullrequestthread": "pulls", "pullrequesttimelineconnection": "pulls", @@ -1121,9 +1134,6 @@ "samldigestalgorithm": "enterprise-admin", "samlsignaturealgorithm": "enterprise-admin", "twofactorcredentialsecuritytype": "enterprise-admin", - "issuetimelineitemsitemtype": "other", - "pullrequesttimelineitemsitemtype": "other", - "repositoryruletype": "other", "oauthapplicationcreateauditentrystate": "apps", "orgaddmemberauditentrypermission": "orgs", "orgcreateauditentrybillingplan": "orgs", @@ -1170,6 +1180,7 @@ "repositorypermission": "repos", "repositoryprivacy": "repos", "repositoryruleorderfield": "repos", + "repositoryruletype": "repos", "repositoryrulesetbypassactorbypassmode": "repos", "repositoryrulesettarget": "repos", "repositorysuggestedactorfilter": "repos", @@ -1229,12 +1240,14 @@ "issuesearchtype": "issues", "issuestate": "issues", "issuestatereason": "issues", + "issuetimelineitemsitemtype": "issues", "issuetypecolor": "issues", "issuetypeorderfield": "issues", "labelorderfield": "issues", "lockreason": "issues", "milestoneorderfield": "issues", "milestonestate": "issues", + "pendingissuesuggestionkind": "issues", "trackedissuestates": "issues", "discussionclosereason": "discussions", "discussionorderfield": "discussions", @@ -1286,6 +1299,7 @@ "pullrequestreviewstate": "pulls", "pullrequestreviewthreadsubjecttype": "pulls", "pullrequeststate": "pulls", + "pullrequesttimelineitemsitemtype": "pulls", "pullrequestupdatestate": "pulls", "reactioncontent": "reactions", "reactionorderfield": "reactions", @@ -1341,13 +1355,13 @@ "auditentryactor": "enterprise-admin", "enterprisemember": "enterprise-admin", "ipallowlistowner": "enterprise-admin", - "ruleparameters": "other", "orgrestorememberauditentrymembership": "orgs", "organizationauditentry": "orgs", "permissiongranter": "orgs", "verifiabledomainowner": "orgs", "bypassactor": "repos", "custompropertysource": "repos", + "ruleparameters": "repos", "rulesource": "repos", "searchresultitem": "search", "sponsor": "sponsors", @@ -1361,12 +1375,14 @@ "userlistitems": "users", "assignee": "issues", "closer": "issues", + "issueeventwithrationale": "issues", "issuefieldvalue": "issues", "issuefields": "issues", "issueorpullrequest": "issues", "issuetimelineitem": "issues", "issuetimelineitems": "issues", "milestoneitem": "issues", + "pendingissuesuggestion": "issues", "referencedsubject": "issues", "renamedtitlesubject": "issues", "projectcarditem": "projects-classic", @@ -1444,7 +1460,6 @@ "updateipallowlistentryinput": "enterprise-admin", "updateipallowlistforinstalledappsenabledsettinginput": "enterprise-admin", "updateipallowlistuserlevelenforcementenabledsettinginput": "enterprise-admin", - "ruleparametersinput": "other", "addverifiabledomaininput": "orgs", "approveverifiabledomaininput": "orgs", "deleteverifiabledomaininput": "orgs", @@ -1489,6 +1504,7 @@ "repositoryruleinput": "repos", "repositoryruleorder": "repos", "repositoryrulesetbypassactorinput": "repos", + "ruleparametersinput": "repos", "setrepositorycustompropertyvaluesinput": "repos", "setrepositoryinteractionlimitinput": "repos", "tagnamepatternparametersinput": "repos", @@ -1547,6 +1563,7 @@ "addcommentinput": "issues", "addlabelstolabelableinput": "issues", "addsubissueinput": "issues", + "applypendingissuesuggestionsinput": "issues", "assigneeupdateinput": "issues", "clearlabelsfromlabelableinput": "issues", "closeissueinput": "issues", @@ -1578,8 +1595,10 @@ "locklockableinput": "issues", "milestoneorder": "issues", "minimizecommentinput": "issues", + "pendingissuesuggestionref": "issues", "pinissuecommentinput": "issues", "pinissueinput": "issues", + "rejectpendingissuesuggestionsinput": "issues", "removeassigneesfromassignableinput": "issues", "removeblockedbyinput": "issues", "removelabelsfromlabelableinput": "issues", diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index d781949dddbd..6d0a31c03aed 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,153 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type ApplyPendingIssueSuggestionsInput was added

", + "

Input field actorId of type ID! was added to input object type ApplyPendingIssueSuggestionsInput

", + "

Input field clientMutationId of type String was added to input object type ApplyPendingIssueSuggestionsInput

", + "

Input field issueId of type ID! was added to input object type ApplyPendingIssueSuggestionsInput

", + "

Input field suggestions of type '[PendingIssueSuggestionRef!]!was added to input object typeApplyPendingIssueSuggestionsInput'

", + "

Type ApplyPendingIssueSuggestionsPayload was added

", + "

Field clientMutationId was added to object type ApplyPendingIssueSuggestionsPayload

", + "

Field issue was added to object type ApplyPendingIssueSuggestionsPayload

", + "

Type IssueEventRationale was added

", + "

Field actor was added to object type IssueEventRationale

", + "

Field createdAt was added to object type IssueEventRationale

", + "

Field issueEvent was added to object type IssueEventRationale

", + "

Field rationale was added to object type IssueEventRationale

", + "

Type IssueEventWithRationale was added

", + "

Member ClosedEvent was added to Union type IssueEventWithRationale

", + "

Member IssueFieldAddedEvent was added to Union type IssueEventWithRationale

", + "

Member IssueFieldChangedEvent was added to Union type IssueEventWithRationale

", + "

Member IssueFieldRemovedEvent was added to Union type IssueEventWithRationale

", + "

Member IssueTypeAddedEvent was added to Union type IssueEventWithRationale

", + "

Member IssueTypeChangedEvent was added to Union type IssueEventWithRationale

", + "

Member IssueTypeRemovedEvent was added to Union type IssueEventWithRationale

", + "

Member LabeledEvent was added to Union type IssueEventWithRationale

", + "

Member UnlabeledEvent was added to Union type IssueEventWithRationale

", + "

Type IssueUpdateIntent was added

", + "

Field confidence was added to object type IssueUpdateIntent

", + "

Field databaseId was added to object type IssueUpdateIntent

", + "

Field intentId was added to object type IssueUpdateIntent

", + "

Field rationale was added to object type IssueUpdateIntent

", + "

Type PendingAssigneeSuggestion was added

", + "

Field actor was added to object type PendingAssigneeSuggestion

", + "

Field assignee was added to object type PendingAssigneeSuggestion

", + "

Field createdAt was added to object type PendingAssigneeSuggestion

", + "

Field rationale was added to object type PendingAssigneeSuggestion

", + "

Field updatedAt was added to object type PendingAssigneeSuggestion

", + "

Type PendingCloseSuggestion was added

", + "

Field actor was added to object type PendingCloseSuggestion

", + "

Field createdAt was added to object type PendingCloseSuggestion

", + "

Field duplicateOf was added to object type PendingCloseSuggestion

", + "

Field rationale was added to object type PendingCloseSuggestion

", + "

Field stateReason was added to object type PendingCloseSuggestion

", + "

Field updatedAt was added to object type PendingCloseSuggestion

", + "

Type PendingFieldSuggestion was added

", + "

Field actor was added to object type PendingFieldSuggestion

", + "

Field createdAt was added to object type PendingFieldSuggestion

", + "

Field issueField was added to object type PendingFieldSuggestion

", + "

Field rationale was added to object type PendingFieldSuggestion

", + "

Field suggestedValue was added to object type PendingFieldSuggestion

", + "

Field updatedAt was added to object type PendingFieldSuggestion

", + "

Type PendingIssueSuggestion was added

", + "

Member PendingAssigneeSuggestion was added to Union type PendingIssueSuggestion

", + "

Member PendingCloseSuggestion was added to Union type PendingIssueSuggestion

", + "

Member PendingFieldSuggestion was added to Union type PendingIssueSuggestion

", + "

Member PendingLabelSuggestion was added to Union type PendingIssueSuggestion

", + "

Member PendingTypeSuggestion was added to Union type PendingIssueSuggestion

", + "

Type PendingIssueSuggestionKind was added

", + "

Enum value ASSIGNEE was added to enum PendingIssueSuggestionKind

", + "

Enum value CLOSE was added to enum PendingIssueSuggestionKind

", + "

Enum value FIELD was added to enum PendingIssueSuggestionKind

", + "

Enum value LABEL was added to enum PendingIssueSuggestionKind

", + "

Enum value TYPE was added to enum PendingIssueSuggestionKind

", + "

Type PendingIssueSuggestionRef was added

", + "

Input field assigneeId of type ID was added to input object type PendingIssueSuggestionRef

", + "

Input field issueFieldId of type ID was added to input object type PendingIssueSuggestionRef

", + "

Input field issueTypeId of type ID was added to input object type PendingIssueSuggestionRef

", + "

Input field kind of type PendingIssueSuggestionKind! was added to input object type PendingIssueSuggestionRef

", + "

Input field labelId of type ID was added to input object type PendingIssueSuggestionRef

", + "

Type PendingLabelSuggestion was added

", + "

Field actor was added to object type PendingLabelSuggestion

", + "

Field createdAt was added to object type PendingLabelSuggestion

", + "

Field label was added to object type PendingLabelSuggestion

", + "

Field rationale was added to object type PendingLabelSuggestion

", + "

Field updatedAt was added to object type PendingLabelSuggestion

", + "

Type PendingTypeSuggestion was added

", + "

Field actor was added to object type PendingTypeSuggestion

", + "

Field createdAt was added to object type PendingTypeSuggestion

", + "

Field issueType was added to object type PendingTypeSuggestion

", + "

Field rationale was added to object type PendingTypeSuggestion

", + "

Field updatedAt was added to object type PendingTypeSuggestion

", + "

Type PullRequestStack was added

", + "

PullRequestStack object implements Node interface

", + "

Field baseRefName was added to object type PullRequestStack

", + "

Field entries was added to object type PullRequestStack

", + "

Argument after: String added to field PullRequestStack.entries

", + "

Argument before: String added to field PullRequestStack.entries

", + "

Argument first: Int added to field PullRequestStack.entries

", + "

Argument last: Int added to field PullRequestStack.entries

", + "

Field id was added to object type PullRequestStack

", + "

Field number was added to object type PullRequestStack

", + "

Field size was added to object type PullRequestStack

", + "

Type PullRequestStackEntry was added

", + "

PullRequestStackEntry object implements Node interface

", + "

Field id was added to object type PullRequestStackEntry

", + "

Field position was added to object type PullRequestStackEntry

", + "

Field pullRequest was added to object type PullRequestStackEntry

", + "

Field stack was added to object type PullRequestStackEntry

", + "

Type PullRequestStackEntryConnection was added

", + "

Field edges was added to object type PullRequestStackEntryConnection

", + "

Field nodes was added to object type PullRequestStackEntryConnection

", + "

Field pageInfo was added to object type PullRequestStackEntryConnection

", + "

Field totalCount was added to object type PullRequestStackEntryConnection

", + "

Type PullRequestStackEntryEdge was added

", + "

Field cursor was added to object type PullRequestStackEntryEdge

", + "

Field node was added to object type PullRequestStackEntryEdge

", + "

Type RejectPendingIssueSuggestionsInput was added

", + "

Input field actorId of type ID! was added to input object type RejectPendingIssueSuggestionsInput

", + "

Input field clientMutationId of type String was added to input object type RejectPendingIssueSuggestionsInput

", + "

Input field issueId of type ID! was added to input object type RejectPendingIssueSuggestionsInput

", + "

Input field suggestions of type '[PendingIssueSuggestionRef!]!was added to input object typeRejectPendingIssueSuggestionsInput'

", + "

Type RejectPendingIssueSuggestionsPayload was added

", + "

Field clientMutationId was added to object type RejectPendingIssueSuggestionsPayload

", + "

Field issue was added to object type RejectPendingIssueSuggestionsPayload

", + "

Field intent was added to object type AssignedEvent

", + "

Field intent was added to object type ClosedEvent

", + "

Field eventRationales was added to object type Issue

", + "

Field pendingSuggestions was added to object type Issue

", + "

Field intent was added to object type IssueFieldAddedEvent

", + "

Field rationale was added to object type IssueFieldAddedEvent

", + "

Field intent was added to object type IssueFieldChangedEvent

", + "

Field rationale was added to object type IssueFieldChangedEvent

", + "

Field intent was added to object type IssueFieldRemovedEvent

", + "

Field rationale was added to object type IssueFieldRemovedEvent

", + "

Field intent was added to object type IssueTypeAddedEvent

", + "

Field rationale was added to object type IssueTypeAddedEvent

", + "

Field intent was added to object type IssueTypeChangedEvent

", + "

Field rationale was added to object type IssueTypeChangedEvent

", + "

Field intent was added to object type IssueTypeRemovedEvent

", + "

Field rationale was added to object type IssueTypeRemovedEvent

", + "

Field intent was added to object type LabeledEvent

", + "

Field rationale was added to object type LabeledEvent

", + "

Field applyPendingIssueSuggestions was added to object type Mutation

", + "

Argument input: ApplyPendingIssueSuggestionsInput! added to field Mutation.applyPendingIssueSuggestions

", + "

Field rejectPendingIssueSuggestions was added to object type Mutation

", + "

Argument input: RejectPendingIssueSuggestionsInput! added to field Mutation.rejectPendingIssueSuggestions

", + "

Field stack was added to object type PullRequest

", + "

Field stackEntry was added to object type PullRequest

", + "

Field intent was added to object type UnlabeledEvent

", + "

Field rationale was added to object type UnlabeledEvent

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2026-07-22" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema-issues.json b/src/graphql/data/fpt/schema-issues.json index f5e2509bc0f0..e8b922c029b0 100644 --- a/src/graphql/data/fpt/schema-issues.json +++ b/src/graphql/data/fpt/schema-issues.json @@ -188,6 +188,38 @@ ], "category": "issues" }, + { + "name": "applyPendingIssueSuggestions", + "id": "applypendingissuesuggestions", + "href": "/graphql/reference/issues#mutation-applypendingissuesuggestions", + "description": "

Applies a batch of pending issue suggestions to an issue.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "input", + "type": "ApplyPendingIssueSuggestionsInput!", + "id": "applypendingissuesuggestionsinput", + "href": "/graphql/reference/issues#input-object-applypendingissuesuggestionsinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issue", + "type": "Issue", + "id": "issue", + "href": "/graphql/reference/issues#object-issue", + "description": "

The updated issue.

" + } + ], + "category": "issues" + }, { "name": "clearLabelsFromLabelable", "id": "clearlabelsfromlabelable", @@ -810,6 +842,38 @@ ], "category": "issues" }, + { + "name": "rejectPendingIssueSuggestions", + "id": "rejectpendingissuesuggestions", + "href": "/graphql/reference/issues#mutation-rejectpendingissuesuggestions", + "description": "

Rejects a batch of pending issue suggestions on an issue atomically.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "input", + "type": "RejectPendingIssueSuggestionsInput!", + "id": "rejectpendingissuesuggestionsinput", + "href": "/graphql/reference/issues#input-object-rejectpendingissuesuggestionsinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issue", + "type": "Issue", + "id": "issue", + "href": "/graphql/reference/issues#object-issue", + "description": "

The issue the suggestions were rejected from.

" + } + ], + "category": "issues" + }, { "name": "removeAssigneesFromAssignable", "id": "removeassigneesfromassignable", @@ -1582,6 +1646,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "user", "description": "

Identifies the user who was assigned.

", @@ -1895,6 +1966,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "resourcePath", "description": "

The HTTP path for this closed event.

", @@ -2864,6 +2942,13 @@ "id": "actor", "href": "/graphql/reference/users#interface-actor" }, + { + "name": "eventRationales", + "description": "

A list of rationales associated with this issue's timeline events.

", + "type": "[IssueEventRationale!]!", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" + }, { "name": "fullDatabaseId", "description": "

Identifies the primary key from the database as a BigInt.

", @@ -3156,6 +3241,13 @@ } ] }, + { + "name": "pendingSuggestions", + "description": "

All pending suggestions on this issue.

", + "type": "[PendingIssueSuggestion!]", + "id": "pendingissuesuggestion", + "href": "/graphql/reference/issues#union-pendingissuesuggestion" + }, { "name": "pinnedIssueComment", "description": "

The pinned comment for this issue.

", @@ -3684,7 +3776,7 @@ "type": { "name": "[IssueTimelineItemsItemType!]", "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype" + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype" } }, { @@ -4790,6 +4882,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "issueField", "description": "

The issue field added.

", @@ -4804,6 +4903,13 @@ "id": "issuefieldtimelineoption", "href": "/graphql/reference/issues#object-issuefieldtimelineoption" }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" + }, { "name": "value", "description": "

The value of the added field.

", @@ -4849,6 +4955,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "issueField", "description": "

The issue field changed.

", @@ -4897,6 +5010,13 @@ "type": "String", "id": "string", "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" } ], "category": "issues" @@ -5292,6 +5412,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "issueField", "description": "

The issue field removed.

", @@ -5305,6 +5432,13 @@ "type": "[IssueFieldTimelineOption!]", "id": "issuefieldtimelineoption", "href": "/graphql/reference/issues#object-issuefieldtimelineoption" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" } ], "category": "issues" @@ -6267,12 +6401,26 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "issueType", "description": "

The issue type added.

", "type": "IssueType", "id": "issuetype", "href": "/graphql/reference/issues#object-issuetype" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" } ], "category": "issues" @@ -6312,6 +6460,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "issueType", "description": "

The issue type added.

", @@ -6325,6 +6480,13 @@ "type": "IssueType", "id": "issuetype", "href": "/graphql/reference/issues#object-issuetype" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" } ], "category": "issues" @@ -6424,12 +6586,64 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "issueType", "description": "

The issue type removed.

", "type": "IssueType", "id": "issuetype", "href": "/graphql/reference/issues#object-issuetype" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" + } + ], + "category": "issues" + }, + { + "name": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent", + "description": "

The intent behind an agent's issue event action, including rationale and confidence.

", + "isDeprecated": false, + "fields": [ + { + "name": "confidence", + "description": "

The confidence level the agent had when performing this action.

", + "type": "IssueEventConfidenceLevel", + "id": "issueeventconfidencelevel", + "href": "/graphql/reference/issues#enum-issueeventconfidencelevel" + }, + { + "name": "databaseId", + "description": "

Identifies the primary key from the database.

", + "type": "Int", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + }, + { + "name": "intentId", + "description": "

Opaque identifier for the underlying intent. Carries the DB bigint as a String.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "rationale", + "description": "

The reasoning or explanation text for the event.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" } ], "category": "issues" @@ -6787,6 +7001,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "label", "description": "

Identifies the label associated with thelabeledevent.

", @@ -6800,6 +7021,13 @@ "type": "Labelable!", "id": "labelable", "href": "/graphql/reference/issues#interface-labelable" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" } ], "category": "issues" @@ -7592,141 +7820,380 @@ "category": "issues" }, { - "name": "PinnedEvent", - "id": "pinnedevent", - "href": "/graphql/reference/issues#object-pinnedevent", - "description": "

Represents apinnedevent on a given issue or pull request.

", + "name": "PendingAssigneeSuggestion", + "id": "pendingassigneesuggestion", + "href": "/graphql/reference/issues#object-pendingassigneesuggestion", + "description": "

A pending suggestion to assign a user to an issue.

", "isDeprecated": false, - "implements": [ - { - "name": "Node", - "id": "node", - "href": "/graphql/reference/meta#interface-node" - } - ], "fields": [ { "name": "actor", - "description": "

Identifies the actor who performed the event.

", + "description": "

The actor who suggested the assignee.

", "type": "Actor", "id": "actor", "href": "/graphql/reference/users#interface-actor" }, + { + "name": "assignee", + "description": "

The suggested assignee.

", + "type": "Assignee", + "id": "assignee", + "href": "/graphql/reference/issues#union-assignee" + }, { "name": "createdAt", - "description": "

Identifies the date and time when the object was created.

", + "description": "

When the suggestion was created.

", "type": "DateTime!", "id": "datetime", "href": "/graphql/reference/other#scalar-datetime" }, { - "name": "id", - "description": "

The Node ID of the PinnedEvent object.

", - "type": "ID!", - "id": "id", - "href": "/graphql/reference/other#scalar-id" + "name": "rationale", + "description": "

The rationale provided for suggesting this assignee.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" }, { - "name": "issue", - "description": "

Identifies the issue associated with the event.

", - "type": "Issue!", - "id": "issue", - "href": "/graphql/reference/issues#object-issue" + "name": "updatedAt", + "description": "

When the suggestion was last updated.

", + "type": "DateTime", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" } ], "category": "issues" }, { - "name": "PinnedIssue", - "id": "pinnedissue", - "href": "/graphql/reference/issues#object-pinnedissue", - "description": "

A Pinned Issue is a issue pinned to a repository's index page.

", + "name": "PendingCloseSuggestion", + "id": "pendingclosesuggestion", + "href": "/graphql/reference/issues#object-pendingclosesuggestion", + "description": "

A pending suggestion to close an issue.

", "isDeprecated": false, - "implements": [ - { - "name": "Node", - "id": "node", - "href": "/graphql/reference/meta#interface-node" - } - ], "fields": [ { - "name": "databaseId", - "description": "

Identifies the primary key from the database.

", - "type": "Int", - "id": "int", - "href": "/graphql/reference/other#scalar-int" + "name": "actor", + "description": "

The actor who suggested closing the issue.

", + "type": "Actor", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" }, { - "name": "fullDatabaseId", - "description": "

Identifies the primary key from the database as a BigInt.

", - "type": "BigInt", - "id": "bigint", - "href": "/graphql/reference/other#scalar-bigint" + "name": "createdAt", + "description": "

When the suggestion was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" }, { - "name": "id", - "description": "

The Node ID of the PinnedIssue object.

", - "type": "ID!", - "id": "id", - "href": "/graphql/reference/other#scalar-id" + "name": "duplicateOf", + "description": "

The issue or pull request the suggestion proposes marking this issue as a\nduplicate of. Only set when stateReason is DUPLICATE.

", + "type": "IssueOrPullRequest", + "id": "issueorpullrequest", + "href": "/graphql/reference/issues#union-issueorpullrequest" }, { - "name": "issue", - "description": "

The issue that was pinned.

", - "type": "Issue!", - "id": "issue", - "href": "/graphql/reference/issues#object-issue" + "name": "rationale", + "description": "

The rationale provided for suggesting this close.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" }, { - "name": "pinnedBy", - "description": "

The actor that pinned this issue.

", - "type": "Actor!", - "id": "actor", - "href": "/graphql/reference/users#interface-actor" + "name": "stateReason", + "description": "

The state reason the suggestion would apply when closing the issue.

", + "type": "IssueStateReason", + "id": "issuestatereason", + "href": "/graphql/reference/issues#enum-issuestatereason" }, { - "name": "repository", - "description": "

The repository that this issue was pinned to.

", - "type": "Repository!", - "id": "repository", - "href": "/graphql/reference/repos#object-repository" + "name": "updatedAt", + "description": "

When the suggestion was last updated.

", + "type": "DateTime", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" } ], "category": "issues" }, { - "name": "PinnedIssueComment", - "id": "pinnedissuecomment", - "href": "/graphql/reference/issues#object-pinnedissuecomment", - "description": "

A comment pinned to an Issue.

", + "name": "PendingFieldSuggestion", + "id": "pendingfieldsuggestion", + "href": "/graphql/reference/issues#object-pendingfieldsuggestion", + "description": "

A pending suggestion to set an issue field's value.

", "isDeprecated": false, - "implements": [ - { - "name": "Node", - "id": "node", - "href": "/graphql/reference/meta#interface-node" - } - ], "fields": [ { - "name": "databaseId", - "description": "

Identifies the primary key from the database.

", - "type": "Int", - "id": "int", - "href": "/graphql/reference/other#scalar-int" + "name": "actor", + "description": "

The actor who suggested the field value.

", + "type": "Actor", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" }, { - "name": "fullDatabaseId", - "description": "

Identifies the primary key from the database as a BigInt.

", - "type": "BigInt", - "id": "bigint", - "href": "/graphql/reference/other#scalar-bigint" + "name": "createdAt", + "description": "

When the suggestion was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" }, { - "name": "id", - "description": "

The Node ID of the PinnedIssueComment object.

", - "type": "ID!", + "name": "issueField", + "description": "

The issue field the suggestion targets.

", + "type": "IssueFields", + "id": "issuefields", + "href": "/graphql/reference/issues#union-issuefields" + }, + { + "name": "rationale", + "description": "

The rationale provided for suggesting this field value.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "suggestedValue", + "description": "

The suggested value for the field, as a string representation of the value originally provided.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "updatedAt", + "description": "

When the suggestion was last updated.

", + "type": "DateTime", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + } + ], + "category": "issues" + }, + { + "name": "PendingLabelSuggestion", + "id": "pendinglabelsuggestion", + "href": "/graphql/reference/issues#object-pendinglabelsuggestion", + "description": "

A pending suggestion to add a label to an issue.

", + "isDeprecated": false, + "fields": [ + { + "name": "actor", + "description": "

The actor who suggested the label.

", + "type": "Actor", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" + }, + { + "name": "createdAt", + "description": "

When the suggestion was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + }, + { + "name": "label", + "description": "

The suggested label.

", + "type": "Label", + "id": "label", + "href": "/graphql/reference/issues#object-label" + }, + { + "name": "rationale", + "description": "

The rationale provided for suggesting this label.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "updatedAt", + "description": "

When the suggestion was last updated.

", + "type": "DateTime", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + } + ], + "category": "issues" + }, + { + "name": "PendingTypeSuggestion", + "id": "pendingtypesuggestion", + "href": "/graphql/reference/issues#object-pendingtypesuggestion", + "description": "

A pending suggestion to change an issue's type.

", + "isDeprecated": false, + "fields": [ + { + "name": "actor", + "description": "

The actor who suggested the type change.

", + "type": "Actor", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" + }, + { + "name": "createdAt", + "description": "

When the suggestion was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + }, + { + "name": "issueType", + "description": "

The suggested issue type.

", + "type": "IssueType", + "id": "issuetype", + "href": "/graphql/reference/issues#object-issuetype" + }, + { + "name": "rationale", + "description": "

The rationale provided for suggesting this type change.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "updatedAt", + "description": "

When the suggestion was last updated.

", + "type": "DateTime", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + } + ], + "category": "issues" + }, + { + "name": "PinnedEvent", + "id": "pinnedevent", + "href": "/graphql/reference/issues#object-pinnedevent", + "description": "

Represents apinnedevent on a given issue or pull request.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/meta#interface-node" + } + ], + "fields": [ + { + "name": "actor", + "description": "

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + }, + { + "name": "id", + "description": "

The Node ID of the PinnedEvent object.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "issue", + "description": "

Identifies the issue associated with the event.

", + "type": "Issue!", + "id": "issue", + "href": "/graphql/reference/issues#object-issue" + } + ], + "category": "issues" + }, + { + "name": "PinnedIssue", + "id": "pinnedissue", + "href": "/graphql/reference/issues#object-pinnedissue", + "description": "

A Pinned Issue is a issue pinned to a repository's index page.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/meta#interface-node" + } + ], + "fields": [ + { + "name": "databaseId", + "description": "

Identifies the primary key from the database.

", + "type": "Int", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + }, + { + "name": "fullDatabaseId", + "description": "

Identifies the primary key from the database as a BigInt.

", + "type": "BigInt", + "id": "bigint", + "href": "/graphql/reference/other#scalar-bigint" + }, + { + "name": "id", + "description": "

The Node ID of the PinnedIssue object.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "issue", + "description": "

The issue that was pinned.

", + "type": "Issue!", + "id": "issue", + "href": "/graphql/reference/issues#object-issue" + }, + { + "name": "pinnedBy", + "description": "

The actor that pinned this issue.

", + "type": "Actor!", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" + }, + { + "name": "repository", + "description": "

The repository that this issue was pinned to.

", + "type": "Repository!", + "id": "repository", + "href": "/graphql/reference/repos#object-repository" + } + ], + "category": "issues" + }, + { + "name": "PinnedIssueComment", + "id": "pinnedissuecomment", + "href": "/graphql/reference/issues#object-pinnedissuecomment", + "description": "

A comment pinned to an Issue.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/meta#interface-node" + } + ], + "fields": [ + { + "name": "databaseId", + "description": "

Identifies the primary key from the database.

", + "type": "Int", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + }, + { + "name": "fullDatabaseId", + "description": "

Identifies the primary key from the database as a BigInt.

", + "type": "BigInt", + "id": "bigint", + "href": "/graphql/reference/other#scalar-bigint" + }, + { + "name": "id", + "description": "

The Node ID of the PinnedIssueComment object.

", + "type": "ID!", "id": "id", "href": "/graphql/reference/other#scalar-id" }, @@ -8319,6 +8786,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "label", "description": "

Identifies the label associated with theunlabeledevent.

", @@ -8332,6 +8806,13 @@ "type": "Labelable!", "id": "labelable", "href": "/graphql/reference/issues#interface-labelable" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" } ], "category": "issues" @@ -9411,100 +9892,313 @@ "isDeprecated": false, "values": [ { - "name": "ALL", - "description": "

All.

" + "name": "ALL", + "description": "

All.

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

Org Only.

" + } + ], + "category": "issues" + }, + { + "name": "IssueOrderField", + "id": "issueorderfield", + "href": "/graphql/reference/issues#enum-issueorderfield", + "description": "

Properties by which issue connections can be ordered.

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

Order issues by comment count.

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

Order issues by creation time.

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

Order issues by update time.

" + } + ], + "category": "issues" + }, + { + "name": "IssueSearchType", + "id": "issuesearchtype", + "href": "/graphql/reference/issues#enum-issuesearchtype", + "description": "

Type of issue search performed.

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

Hybrid search combining lexical and semantic approaches.

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

Lexical (keyword-based) search.

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

Semantic (meaning-based) search using embeddings.

" + } + ], + "category": "issues" + }, + { + "name": "IssueState", + "id": "issuestate", + "href": "/graphql/reference/issues#enum-issuestate", + "description": "

The possible states of an issue.

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

An issue that has been closed.

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

An issue that is still open.

" + } + ], + "category": "issues" + }, + { + "name": "IssueStateReason", + "id": "issuestatereason", + "href": "/graphql/reference/issues#enum-issuestatereason", + "description": "

The possible state reasons of an issue.

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

An issue that has been closed as completed.

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

An issue that has been closed as a duplicate.

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

An issue that has been closed as not planned.

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

An issue that has been reopened.

" + } + ], + "category": "issues" + }, + { + "name": "IssueTimelineItemsItemType", + "id": "issuetimelineitemsitemtype", + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_PROJECT_EVENT", + "description": "

Represents aadded_to_projectevent on a given issue or pull request.

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

Represents aadded_to_project_v2event on a given issue or pull request.

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

Represents anassignedevent on any assignable object.

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

Represents ablocked_by_addedevent on a given issue.

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

Represents ablocked_by_removedevent on a given issue.

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

Represents ablocking_addedevent on a given issue.

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

Represents ablocking_removedevent on a given issue.

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

Represents aclosedevent on any Closable.

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

Represents acomment_deletedevent on a given issue or pull request.

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

Represents aconnectedevent on a given issue or pull request.

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

Represents aconverted_from_draftevent on a given issue or pull request.

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

Represents aconverted_note_to_issueevent on a given issue or pull request.

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

Represents aconverted_to_discussionevent on a given issue.

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

Represents a mention made by one issue or pull request to another.

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

Represents ademilestonedevent on a given issue or pull request.

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

Represents adisconnectedevent on a given issue or pull request.

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

Represents a comment on an Issue.

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

Represents aissue_comment_pinnedevent on a given issue.

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

Represents aissue_comment_unpinnedevent on a given issue.

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

Represents aissue_field_addedevent on a given issue.

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

Represents aissue_field_changedevent on a given issue.

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

Represents aissue_field_removedevent on a given issue.

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

Represents aissue_type_addedevent on a given issue.

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

Represents aissue_type_changedevent on a given issue.

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

Represents aissue_type_removedevent on a given issue.

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

Represents alabeledevent on a given issue or pull request.

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

Represents alockedevent on a given issue or pull request.

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

Represents amarked_as_duplicateevent on a given issue or pull request.

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

Represents amentionedevent on a given issue or pull request.

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

Represents amilestonedevent on a given issue or pull request.

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

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

" }, { - "name": "ORG_ONLY", - "description": "

Org Only.

" - } - ], - "category": "issues" - }, - { - "name": "IssueOrderField", - "id": "issueorderfield", - "href": "/graphql/reference/issues#enum-issueorderfield", - "description": "

Properties by which issue connections can be ordered.

", - "isDeprecated": false, - "values": [ + "name": "PINNED_EVENT", + "description": "

Represents apinnedevent on a given issue or pull request.

" + }, { - "name": "COMMENTS", - "description": "

Order issues by comment count.

" + "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", + "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" }, { - "name": "CREATED_AT", - "description": "

Order issues by creation time.

" + "name": "REFERENCED_EVENT", + "description": "

Represents areferencedevent on a given ReferencedSubject.

" }, { - "name": "UPDATED_AT", - "description": "

Order issues by update time.

" - } - ], - "category": "issues" - }, - { - "name": "IssueSearchType", - "id": "issuesearchtype", - "href": "/graphql/reference/issues#enum-issuesearchtype", - "description": "

Type of issue search performed.

", - "isDeprecated": false, - "values": [ + "name": "REMOVED_FROM_PROJECT_EVENT", + "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" + }, { - "name": "HYBRID", - "description": "

Hybrid search combining lexical and semantic approaches.

" + "name": "REMOVED_FROM_PROJECT_V2_EVENT", + "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

" }, { - "name": "LEXICAL", - "description": "

Lexical (keyword-based) search.

" + "name": "RENAMED_TITLE_EVENT", + "description": "

Represents arenamedevent on a given issue or pull request.

" }, { - "name": "SEMANTIC", - "description": "

Semantic (meaning-based) search using embeddings.

" - } - ], - "category": "issues" - }, - { - "name": "IssueState", - "id": "issuestate", - "href": "/graphql/reference/issues#enum-issuestate", - "description": "

The possible states of an issue.

", - "isDeprecated": false, - "values": [ + "name": "REOPENED_EVENT", + "description": "

Represents areopenedevent on any Closable.

" + }, { - "name": "CLOSED", - "description": "

An issue that has been closed.

" + "name": "SUBSCRIBED_EVENT", + "description": "

Represents asubscribedevent on a given Subscribable.

" }, { - "name": "OPEN", - "description": "

An issue that is still open.

" - } - ], - "category": "issues" - }, - { - "name": "IssueStateReason", - "id": "issuestatereason", - "href": "/graphql/reference/issues#enum-issuestatereason", - "description": "

The possible state reasons of an issue.

", - "isDeprecated": false, - "values": [ + "name": "SUB_ISSUE_ADDED_EVENT", + "description": "

Represents asub_issue_addedevent on a given issue.

" + }, { - "name": "COMPLETED", - "description": "

An issue that has been closed as completed.

" + "name": "SUB_ISSUE_REMOVED_EVENT", + "description": "

Represents asub_issue_removedevent on a given issue.

" }, { - "name": "DUPLICATE", - "description": "

An issue that has been closed as a duplicate.

" + "name": "TRANSFERRED_EVENT", + "description": "

Represents atransferredevent on a given issue or pull request.

" }, { - "name": "NOT_PLANNED", - "description": "

An issue that has been closed as not planned.

" + "name": "UNASSIGNED_EVENT", + "description": "

Represents anunassignedevent on any assignable object.

" }, { - "name": "REOPENED", - "description": "

An issue that has been reopened.

" + "name": "UNLABELED_EVENT", + "description": "

Represents anunlabeledevent on a given issue or pull request.

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

Represents anunlockedevent on a given issue or pull request.

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

Represents anunmarked_as_duplicateevent on a given issue or pull request.

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

Represents anunpinnedevent on a given issue or pull request.

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

Represents anunsubscribedevent on a given Subscribable.

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

Represents auser_blockedevent on a given user.

" } ], "category": "issues" @@ -9661,6 +10355,36 @@ ], "category": "issues" }, + { + "name": "PendingIssueSuggestionKind", + "id": "pendingissuesuggestionkind", + "href": "/graphql/reference/issues#enum-pendingissuesuggestionkind", + "description": "

The kind of pending issue suggestion being applied.

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

Add the suggested assignee to the issue.

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

Close the issue with the suggested state reason (and duplicate target, when applicable).

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

Set the suggested issue field value on the issue.

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

Add the suggested label to the issue.

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

Set the issue's type to the suggested issue type.

" + } + ], + "category": "issues" + }, { "name": "TrackedIssueStates", "id": "trackedissuestates", @@ -9736,6 +10460,61 @@ ], "category": "issues" }, + { + "name": "IssueEventWithRationale", + "id": "issueeventwithrationale", + "href": "/graphql/reference/issues#union-issueeventwithrationale", + "description": "

An issue timeline event that may have an associated rationale.

", + "isDeprecated": false, + "possibleTypes": [ + { + "name": "ClosedEvent", + "id": "closedevent", + "href": "/graphql/reference/issues#object-closedevent" + }, + { + "name": "IssueFieldAddedEvent", + "id": "issuefieldaddedevent", + "href": "/graphql/reference/issues#object-issuefieldaddedevent" + }, + { + "name": "IssueFieldChangedEvent", + "id": "issuefieldchangedevent", + "href": "/graphql/reference/issues#object-issuefieldchangedevent" + }, + { + "name": "IssueFieldRemovedEvent", + "id": "issuefieldremovedevent", + "href": "/graphql/reference/issues#object-issuefieldremovedevent" + }, + { + "name": "IssueTypeAddedEvent", + "id": "issuetypeaddedevent", + "href": "/graphql/reference/issues#object-issuetypeaddedevent" + }, + { + "name": "IssueTypeChangedEvent", + "id": "issuetypechangedevent", + "href": "/graphql/reference/issues#object-issuetypechangedevent" + }, + { + "name": "IssueTypeRemovedEvent", + "id": "issuetyperemovedevent", + "href": "/graphql/reference/issues#object-issuetyperemovedevent" + }, + { + "name": "LabeledEvent", + "id": "labeledevent", + "href": "/graphql/reference/issues#object-labeledevent" + }, + { + "name": "UnlabeledEvent", + "id": "unlabeledevent", + "href": "/graphql/reference/issues#object-unlabeledevent" + } + ], + "category": "issues" + }, { "name": "IssueFieldValue", "id": "issuefieldvalue", @@ -10216,6 +10995,41 @@ ], "category": "issues" }, + { + "name": "PendingIssueSuggestion", + "id": "pendingissuesuggestion", + "href": "/graphql/reference/issues#union-pendingissuesuggestion", + "description": "

A pending suggestion for an issue. May target the issue's type, labels, field values, assignees, or close state.

", + "isDeprecated": false, + "possibleTypes": [ + { + "name": "PendingAssigneeSuggestion", + "id": "pendingassigneesuggestion", + "href": "/graphql/reference/issues#object-pendingassigneesuggestion" + }, + { + "name": "PendingCloseSuggestion", + "id": "pendingclosesuggestion", + "href": "/graphql/reference/issues#object-pendingclosesuggestion" + }, + { + "name": "PendingFieldSuggestion", + "id": "pendingfieldsuggestion", + "href": "/graphql/reference/issues#object-pendingfieldsuggestion" + }, + { + "name": "PendingLabelSuggestion", + "id": "pendinglabelsuggestion", + "href": "/graphql/reference/issues#object-pendinglabelsuggestion" + }, + { + "name": "PendingTypeSuggestion", + "id": "pendingtypesuggestion", + "href": "/graphql/reference/issues#object-pendingtypesuggestion" + } + ], + "category": "issues" + }, { "name": "ReferencedSubject", "id": "referencedsubject", @@ -10452,6 +11266,45 @@ ], "category": "issues" }, + { + "name": "ApplyPendingIssueSuggestionsInput", + "id": "applypendingissuesuggestionsinput", + "href": "/graphql/reference/issues#input-object-applypendingissuesuggestionsinput", + "description": "

Autogenerated input type of ApplyPendingIssueSuggestions.

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

The ID of the actor whose suggestions to apply.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id", + "isDeprecated": false + }, + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "issueId", + "description": "

The ID of the issue the suggestions apply to.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id", + "isDeprecated": false + }, + { + "name": "suggestions", + "description": "

The pending suggestions to apply.

", + "type": "[PendingIssueSuggestionRef!]!", + "id": "pendingissuesuggestionref", + "href": "/graphql/reference/issues#input-object-pendingissuesuggestionref" + } + ], + "category": "issues" + }, { "name": "AssigneeUpdateInput", "id": "assigneeupdateinput", @@ -11655,6 +12508,51 @@ ], "category": "issues" }, + { + "name": "PendingIssueSuggestionRef", + "id": "pendingissuesuggestionref", + "href": "/graphql/reference/issues#input-object-pendingissuesuggestionref", + "description": "

A reference to a single pending issue suggestion to apply.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "assigneeId", + "description": "

The ID of the suggested assignee. Required when kind is ASSIGNEE.

", + "type": "ID", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "issueFieldId", + "description": "

The ID of the suggested issue field. Required when kind is FIELD.

", + "type": "ID", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "issueTypeId", + "description": "

The ID of the suggested issue type. Required when kind is TYPE.

", + "type": "ID", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "kind", + "description": "

The kind of suggestion to apply.

", + "type": "PendingIssueSuggestionKind!", + "id": "pendingissuesuggestionkind", + "href": "/graphql/reference/issues#enum-pendingissuesuggestionkind" + }, + { + "name": "labelId", + "description": "

The ID of the suggested label. Required when kind is LABEL.

", + "type": "ID", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + } + ], + "category": "issues" + }, { "name": "PinIssueCommentInput", "id": "pinissuecommentinput", @@ -11703,6 +12601,45 @@ ], "category": "issues" }, + { + "name": "RejectPendingIssueSuggestionsInput", + "id": "rejectpendingissuesuggestionsinput", + "href": "/graphql/reference/issues#input-object-rejectpendingissuesuggestionsinput", + "description": "

Autogenerated input type of RejectPendingIssueSuggestions.

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

The ID of the actor whose suggestions to reject.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id", + "isDeprecated": false + }, + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "issueId", + "description": "

The ID of the issue the suggestions apply to.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id", + "isDeprecated": false + }, + { + "name": "suggestions", + "description": "

The pending suggestions to reject. All are rejected atomically; any failure rolls back the entire batch.

", + "type": "[PendingIssueSuggestionRef!]!", + "id": "pendingissuesuggestionref", + "href": "/graphql/reference/issues#input-object-pendingissuesuggestionref" + } + ], + "category": "issues" + }, { "name": "RemoveAssigneesFromAssignableInput", "id": "removeassigneesfromassignableinput", diff --git a/src/graphql/data/fpt/schema-other.json b/src/graphql/data/fpt/schema-other.json index 8a04a37d7728..ad001ba78630 100644 --- a/src/graphql/data/fpt/schema-other.json +++ b/src/graphql/data/fpt/schema-other.json @@ -20,6 +20,43 @@ } ], "objects": [ + { + "name": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale", + "description": "

Rationale text associated with an issue timeline event.

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

The agent or user who produced the rationale.

", + "type": "Actor", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the rationale was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + }, + { + "name": "issueEvent", + "description": "

The issue timeline event this rationale is associated with.

", + "type": "IssueEventWithRationale", + "id": "issueeventwithrationale", + "href": "/graphql/reference/issues#union-issueeventwithrationale" + }, + { + "name": "rationale", + "description": "

The reasoning or explanation text for the event.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + } + ], + "category": "other" + }, { "name": "PageInfo", "id": "pageinfo", @@ -58,913 +95,6 @@ "category": "other" } ], - "enums": [ - { - "name": "IssueTimelineItemsItemType", - "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_V2_EVENT", - "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "BLOCKED_BY_ADDED_EVENT", - "description": "

Represents ablocked_by_addedevent on a given issue.

" - }, - { - "name": "BLOCKED_BY_REMOVED_EVENT", - "description": "

Represents ablocked_by_removedevent on a given issue.

" - }, - { - "name": "BLOCKING_ADDED_EVENT", - "description": "

Represents ablocking_addedevent on a given issue.

" - }, - { - "name": "BLOCKING_REMOVED_EVENT", - "description": "

Represents ablocking_removedevent on a given issue.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_FROM_DRAFT_EVENT", - "description": "

Represents aconverted_from_draftevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "ISSUE_COMMENT_PINNED_EVENT", - "description": "

Represents aissue_comment_pinnedevent on a given issue.

" - }, - { - "name": "ISSUE_COMMENT_UNPINNED_EVENT", - "description": "

Represents aissue_comment_unpinnedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_ADDED_EVENT", - "description": "

Represents aissue_field_addedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_CHANGED_EVENT", - "description": "

Represents aissue_field_changedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_REMOVED_EVENT", - "description": "

Represents aissue_field_removedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_ADDED_EVENT", - "description": "

Represents aissue_type_addedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_CHANGED_EVENT", - "description": "

Represents aissue_type_changedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_REMOVED_EVENT", - "description": "

Represents aissue_type_removedevent on a given issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", - "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_V2_EVENT", - "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "PullRequestTimelineItemsItemType", - "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_MERGE_QUEUE_EVENT", - "description": "

Represents anadded_to_merge_queueevent on a given pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_V2_EVENT", - "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

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

Represents anarchivedevent on a given pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_FAILED_EVENT", - "description": "

Represents aautomatic_base_change_failedevent on a given pull request.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT", - "description": "

Represents aautomatic_base_change_succeededevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_DISABLED_EVENT", - "description": "

Represents aauto_merge_disabledevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_ENABLED_EVENT", - "description": "

Represents aauto_merge_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_REBASE_ENABLED_EVENT", - "description": "

Represents aauto_rebase_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_SQUASH_ENABLED_EVENT", - "description": "

Represents aauto_squash_enabledevent on a given pull request.

" - }, - { - "name": "BASE_REF_CHANGED_EVENT", - "description": "

Represents abase_ref_changedevent on a given issue or pull request.

" - }, - { - "name": "BASE_REF_DELETED_EVENT", - "description": "

Represents abase_ref_deletedevent on a given pull request.

" - }, - { - "name": "BASE_REF_FORCE_PUSHED_EVENT", - "description": "

Represents abase_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "BLOCKED_BY_ADDED_EVENT", - "description": "

Represents ablocked_by_addedevent on a given issue.

" - }, - { - "name": "BLOCKED_BY_REMOVED_EVENT", - "description": "

Represents ablocked_by_removedevent on a given issue.

" - }, - { - "name": "BLOCKING_ADDED_EVENT", - "description": "

Represents ablocking_addedevent on a given issue.

" - }, - { - "name": "BLOCKING_REMOVED_EVENT", - "description": "

Represents ablocking_removedevent on a given issue.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_FROM_DRAFT_EVENT", - "description": "

Represents aconverted_from_draftevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CONVERT_TO_DRAFT_EVENT", - "description": "

Represents aconvert_to_draftevent on a given pull request.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DEPLOYED_EVENT", - "description": "

Represents adeployedevent on a given pull request.

" - }, - { - "name": "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT", - "description": "

Represents adeployment_environment_changedevent on a given pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "HEAD_REF_DELETED_EVENT", - "description": "

Represents ahead_ref_deletedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_FORCE_PUSHED_EVENT", - "description": "

Represents ahead_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_RESTORED_EVENT", - "description": "

Represents ahead_ref_restoredevent on a given pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "ISSUE_COMMENT_PINNED_EVENT", - "description": "

Represents aissue_comment_pinnedevent on a given issue.

" - }, - { - "name": "ISSUE_COMMENT_UNPINNED_EVENT", - "description": "

Represents aissue_comment_unpinnedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_ADDED_EVENT", - "description": "

Represents aissue_field_addedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_CHANGED_EVENT", - "description": "

Represents aissue_field_changedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_REMOVED_EVENT", - "description": "

Represents aissue_field_removedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_ADDED_EVENT", - "description": "

Represents aissue_type_addedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_CHANGED_EVENT", - "description": "

Represents aissue_type_changedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_REMOVED_EVENT", - "description": "

Represents aissue_type_removedevent on a given issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MERGED_EVENT", - "description": "

Represents amergedevent on a given pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", - "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT", - "description": "

Represents a Git commit part of a pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT_COMMENT_THREAD", - "description": "

Represents a commit comment thread part of a pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW", - "description": "

A review object for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW_THREAD", - "description": "

A threaded list of comments for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVISION_MARKER", - "description": "

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

" - }, - { - "name": "READY_FOR_REVIEW_EVENT", - "description": "

Represents aready_for_reviewevent on a given pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_MERGE_QUEUE_EVENT", - "description": "

Represents aremoved_from_merge_queueevent on a given pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_V2_EVENT", - "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "REVIEW_DISMISSED_EVENT", - "description": "

Represents areview_dismissedevent on a given issue or pull request.

" - }, - { - "name": "REVIEW_REQUESTED_EVENT", - "description": "

Represents anreview_requestedevent on a given pull request.

" - }, - { - "name": "REVIEW_REQUEST_REMOVED_EVENT", - "description": "

Represents anreview_request_removedevent on a given pull request.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNARCHIVED_EVENT", - "description": "

Represents anunarchivedevent on a given pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "RepositoryRuleType", - "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype", - "description": "

The rule types supported in rulesets.

", - "values": [ - { - "name": "AUTHORIZATION", - "description": "

Authorization.

" - }, - { - "name": "BRANCH_NAME_PATTERN", - "description": "

Branch name pattern.

" - }, - { - "name": "CODE_SCANNING", - "description": "

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

" - }, - { - "name": "COMMITTER_EMAIL_PATTERN", - "description": "

Committer email pattern.

" - }, - { - "name": "COMMIT_AUTHOR_EMAIL_PATTERN", - "description": "

Commit author email pattern.

" - }, - { - "name": "COMMIT_MESSAGE_PATTERN", - "description": "

Commit message pattern.

" - }, - { - "name": "COPILOT_CODE_REVIEW", - "description": "

Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.

" - }, - { - "name": "CREATION", - "description": "

Only allow users with bypass permission to create matching refs.

" - }, - { - "name": "DELETION", - "description": "

Only allow users with bypass permissions to delete matching refs.

" - }, - { - "name": "FILE_EXTENSION_RESTRICTION", - "description": "

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

" - }, - { - "name": "FILE_PATH_RESTRICTION", - "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

" - }, - { - "name": "LICENSE_COMPLIANCE_SCANNING", - "description": "

Enforce any added or changed dependencies to comply with the organization's license policy.

" - }, - { - "name": "LOCK_BRANCH", - "description": "

Branch is read-only. Users cannot push to the branch.

" - }, - { - "name": "MAX_FILE_PATH_LENGTH", - "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_FILE_SIZE", - "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_REF_UPDATES", - "description": "

Max ref updates.

" - }, - { - "name": "MERGE_QUEUE", - "description": "

Merges must be performed via a merge queue.

" - }, - { - "name": "MERGE_QUEUE_LOCKED_REF", - "description": "

Merge queue locked ref.

" - }, - { - "name": "NON_FAST_FORWARD", - "description": "

Prevent users with push access from force pushing to refs.

" - }, - { - "name": "PULL_REQUEST", - "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

" - }, - { - "name": "REQUIRED_DEPLOYMENTS", - "description": "

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

" - }, - { - "name": "REQUIRED_LINEAR_HISTORY", - "description": "

Prevent merge commits from being pushed to matching refs.

" - }, - { - "name": "REQUIRED_REVIEW_THREAD_RESOLUTION", - "description": "

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

" - }, - { - "name": "REQUIRED_SIGNATURES", - "description": "

Commits pushed to matching refs must have verified signatures.

" - }, - { - "name": "REQUIRED_STATUS_CHECKS", - "description": "

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

" - }, - { - "name": "REQUIRED_WORKFLOW_STATUS_CHECKS", - "description": "

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

" - }, - { - "name": "SECRET_SCANNING", - "description": "

Secret scanning.

" - }, - { - "name": "TAG", - "description": "

Tag.

" - }, - { - "name": "TAG_NAME_PATTERN", - "description": "

Tag name pattern.

" - }, - { - "name": "UPDATE", - "description": "

Only allow users with bypass permission to update matching refs.

" - }, - { - "name": "WORKFLOWS", - "description": "

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

" - }, - { - "name": "WORKFLOW_UPDATES", - "description": "

Workflow files cannot be modified.

" - } - ], - "category": "other" - } - ], - "unions": [ - { - "name": "RuleParameters", - "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters", - "description": "

Types which can be parameters for RepositoryRule objects.

", - "possibleTypes": [ - { - "name": "BranchNamePatternParameters", - "id": "branchnamepatternparameters", - "href": "/graphql/reference/branches#object-branchnamepatternparameters" - }, - { - "name": "CodeScanningParameters", - "id": "codescanningparameters", - "href": "/graphql/reference/repos#object-codescanningparameters" - }, - { - "name": "CommitAuthorEmailPatternParameters", - "id": "commitauthoremailpatternparameters", - "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" - }, - { - "name": "CommitMessagePatternParameters", - "id": "commitmessagepatternparameters", - "href": "/graphql/reference/commits#object-commitmessagepatternparameters" - }, - { - "name": "CommitterEmailPatternParameters", - "id": "committeremailpatternparameters", - "href": "/graphql/reference/commits#object-committeremailpatternparameters" - }, - { - "name": "CopilotCodeReviewParameters", - "id": "copilotcodereviewparameters", - "href": "/graphql/reference/pulls#object-copilotcodereviewparameters" - }, - { - "name": "FileExtensionRestrictionParameters", - "id": "fileextensionrestrictionparameters", - "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" - }, - { - "name": "FilePathRestrictionParameters", - "id": "filepathrestrictionparameters", - "href": "/graphql/reference/repos#object-filepathrestrictionparameters" - }, - { - "name": "MaxFilePathLengthParameters", - "id": "maxfilepathlengthparameters", - "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" - }, - { - "name": "MaxFileSizeParameters", - "id": "maxfilesizeparameters", - "href": "/graphql/reference/repos#object-maxfilesizeparameters" - }, - { - "name": "MergeQueueParameters", - "id": "mergequeueparameters", - "href": "/graphql/reference/pulls#object-mergequeueparameters" - }, - { - "name": "PullRequestParameters", - "id": "pullrequestparameters", - "href": "/graphql/reference/pulls#object-pullrequestparameters" - }, - { - "name": "RequiredDeploymentsParameters", - "id": "requireddeploymentsparameters", - "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" - }, - { - "name": "RequiredStatusChecksParameters", - "id": "requiredstatuschecksparameters", - "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" - }, - { - "name": "TagNamePatternParameters", - "id": "tagnamepatternparameters", - "href": "/graphql/reference/repos#object-tagnamepatternparameters" - }, - { - "name": "UpdateParameters", - "id": "updateparameters", - "href": "/graphql/reference/repos#object-updateparameters" - }, - { - "name": "WorkflowsParameters", - "id": "workflowsparameters", - "href": "/graphql/reference/actions#object-workflowsparameters" - } - ], - "category": "other" - } - ], - "inputObjects": [ - { - "name": "RuleParametersInput", - "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput", - "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

", - "inputFields": [ - { - "name": "branchNamePattern", - "description": "

Parameters used for the branch_name_pattern rule type.

", - "type": "BranchNamePatternParametersInput", - "id": "branchnamepatternparametersinput", - "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" - }, - { - "name": "codeScanning", - "description": "

Parameters used for the code_scanning rule type.

", - "type": "CodeScanningParametersInput", - "id": "codescanningparametersinput", - "href": "/graphql/reference/repos#input-object-codescanningparametersinput" - }, - { - "name": "commitAuthorEmailPattern", - "description": "

Parameters used for the commit_author_email_pattern rule type.

", - "type": "CommitAuthorEmailPatternParametersInput", - "id": "commitauthoremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" - }, - { - "name": "commitMessagePattern", - "description": "

Parameters used for the commit_message_pattern rule type.

", - "type": "CommitMessagePatternParametersInput", - "id": "commitmessagepatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" - }, - { - "name": "committerEmailPattern", - "description": "

Parameters used for the committer_email_pattern rule type.

", - "type": "CommitterEmailPatternParametersInput", - "id": "committeremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" - }, - { - "name": "copilotCodeReview", - "description": "

Parameters used for the copilot_code_review rule type.

", - "type": "CopilotCodeReviewParametersInput", - "id": "copilotcodereviewparametersinput", - "href": "/graphql/reference/pulls#input-object-copilotcodereviewparametersinput" - }, - { - "name": "fileExtensionRestriction", - "description": "

Parameters used for the file_extension_restriction rule type.

", - "type": "FileExtensionRestrictionParametersInput", - "id": "fileextensionrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" - }, - { - "name": "filePathRestriction", - "description": "

Parameters used for the file_path_restriction rule type.

", - "type": "FilePathRestrictionParametersInput", - "id": "filepathrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" - }, - { - "name": "maxFilePathLength", - "description": "

Parameters used for the max_file_path_length rule type.

", - "type": "MaxFilePathLengthParametersInput", - "id": "maxfilepathlengthparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" - }, - { - "name": "maxFileSize", - "description": "

Parameters used for the max_file_size rule type.

", - "type": "MaxFileSizeParametersInput", - "id": "maxfilesizeparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" - }, - { - "name": "mergeQueue", - "description": "

Parameters used for the merge_queue rule type.

", - "type": "MergeQueueParametersInput", - "id": "mergequeueparametersinput", - "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" - }, - { - "name": "pullRequest", - "description": "

Parameters used for the pull_request rule type.

", - "type": "PullRequestParametersInput", - "id": "pullrequestparametersinput", - "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" - }, - { - "name": "requiredDeployments", - "description": "

Parameters used for the required_deployments rule type.

", - "type": "RequiredDeploymentsParametersInput", - "id": "requireddeploymentsparametersinput", - "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" - }, - { - "name": "requiredStatusChecks", - "description": "

Parameters used for the required_status_checks rule type.

", - "type": "RequiredStatusChecksParametersInput", - "id": "requiredstatuschecksparametersinput", - "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" - }, - { - "name": "tagNamePattern", - "description": "

Parameters used for the tag_name_pattern rule type.

", - "type": "TagNamePatternParametersInput", - "id": "tagnamepatternparametersinput", - "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" - }, - { - "name": "update", - "description": "

Parameters used for the update rule type.

", - "type": "UpdateParametersInput", - "id": "updateparametersinput", - "href": "/graphql/reference/repos#input-object-updateparametersinput" - }, - { - "name": "workflows", - "description": "

Parameters used for the workflows rule type.

", - "type": "WorkflowsParametersInput", - "id": "workflowsparametersinput", - "href": "/graphql/reference/actions#input-object-workflowsparametersinput" - } - ], - "category": "other" - } - ], "scalars": [ { "name": "Base64String", diff --git a/src/graphql/data/fpt/schema-pulls.json b/src/graphql/data/fpt/schema-pulls.json index c1dbeda072ef..30bf004153a7 100644 --- a/src/graphql/data/fpt/schema-pulls.json +++ b/src/graphql/data/fpt/schema-pulls.json @@ -4039,6 +4039,20 @@ } ] }, + { + "name": "stack", + "description": "

The stack this Pull Request belongs to, or null if it is not part of a stack.

", + "type": "PullRequestStack", + "id": "pullrequeststack", + "href": "/graphql/reference/pulls#object-pullrequeststack" + }, + { + "name": "stackEntry", + "description": "

The stack entry for this Pull Request, or null if it is not part of a stack.

", + "type": "PullRequestStackEntry", + "id": "pullrequeststackentry", + "href": "/graphql/reference/pulls#object-pullrequeststackentry" + }, { "name": "state", "description": "

Identifies the state of the pull request.

", @@ -4264,7 +4278,7 @@ "type": { "name": "[PullRequestTimelineItemsItemType!]", "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype" + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype" } }, { @@ -6574,6 +6588,201 @@ ], "category": "pulls" }, + { + "name": "PullRequestStack", + "id": "pullrequeststack", + "href": "/graphql/reference/pulls#object-pullrequeststack", + "description": "

A stack of PullRequests.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/meta#interface-node" + } + ], + "fields": [ + { + "name": "baseRefName", + "description": "

The branch that the stack's pull requests target.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "entries", + "description": "

The entries in the stack.

", + "type": "PullRequestStackEntryConnection!", + "id": "pullrequeststackentryconnection", + "href": "/graphql/reference/pulls#object-pullrequeststackentryconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + } + } + ] + }, + { + "name": "id", + "description": "

The Node ID of the PullRequestStack object.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "number", + "description": "

A number uniquely identifying the stack within its repository.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + }, + { + "name": "size", + "description": "

The total number of pull requests in the stack.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + } + ], + "category": "pulls" + }, + { + "name": "PullRequestStackEntry", + "id": "pullrequeststackentry", + "href": "/graphql/reference/pulls#object-pullrequeststackentry", + "description": "

A member of a PullRequestStack.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/meta#interface-node" + } + ], + "fields": [ + { + "name": "id", + "description": "

The Node ID of the PullRequestStackEntry object.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "position", + "description": "

This entry's position in the stack, where 1 is the closest to the base branch, 2 is stacked on top of 1, etc.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + }, + { + "name": "pullRequest", + "description": "

The pull request that occupies this position in the stack.

", + "type": "PullRequest", + "id": "pullrequest", + "href": "/graphql/reference/pulls#object-pullrequest" + }, + { + "name": "stack", + "description": "

The stack that this entry is a part of.

", + "type": "PullRequestStack", + "id": "pullrequeststack", + "href": "/graphql/reference/pulls#object-pullrequeststack" + } + ], + "category": "pulls" + }, + { + "name": "PullRequestStackEntryConnection", + "id": "pullrequeststackentryconnection", + "href": "/graphql/reference/pulls#object-pullrequeststackentryconnection", + "description": "

Entries in a pull request stack.

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

A list of edges.

", + "type": "[PullRequestStackEntryEdge]", + "id": "pullrequeststackentryedge", + "href": "/graphql/reference/pulls#object-pullrequeststackentryedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[PullRequestStackEntry]", + "id": "pullrequeststackentry", + "href": "/graphql/reference/pulls#object-pullrequeststackentry" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

", + "type": "PageInfo!", + "id": "pageinfo", + "href": "/graphql/reference/other#object-pageinfo" + }, + { + "name": "totalCount", + "description": "

Identifies the total count of items in the connection.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + } + ], + "category": "pulls" + }, + { + "name": "PullRequestStackEntryEdge", + "id": "pullrequeststackentryedge", + "href": "/graphql/reference/pulls#object-pullrequeststackentryedge", + "description": "

An edge in a connection.

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

A cursor for use in pagination.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "node", + "description": "

The item at the end of the edge.

", + "type": "PullRequestStackEntry", + "id": "pullrequeststackentry", + "href": "/graphql/reference/pulls#object-pullrequeststackentry" + } + ], + "category": "pulls" + }, { "name": "PullRequestTemplate", "id": "pullrequesttemplate", @@ -8140,6 +8349,335 @@ ], "category": "pulls" }, + { + "name": "PullRequestTimelineItemsItemType", + "id": "pullrequesttimelineitemsitemtype", + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_MERGE_QUEUE_EVENT", + "description": "

Represents anadded_to_merge_queueevent on a given pull request.

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

Represents aadded_to_projectevent on a given issue or pull request.

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

Represents aadded_to_project_v2event on a given issue or pull request.

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

Represents anarchivedevent on a given pull request.

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

Represents anassignedevent on any assignable object.

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

Represents aautomatic_base_change_failedevent on a given pull request.

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

Represents aautomatic_base_change_succeededevent on a given pull request.

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

Represents aauto_merge_disabledevent on a given pull request.

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

Represents aauto_merge_enabledevent on a given pull request.

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

Represents aauto_rebase_enabledevent on a given pull request.

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

Represents aauto_squash_enabledevent on a given pull request.

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

Represents abase_ref_changedevent on a given issue or pull request.

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

Represents abase_ref_deletedevent on a given pull request.

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

Represents abase_ref_force_pushedevent on a given pull request.

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

Represents ablocked_by_addedevent on a given issue.

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

Represents ablocked_by_removedevent on a given issue.

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

Represents ablocking_addedevent on a given issue.

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

Represents ablocking_removedevent on a given issue.

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

Represents aclosedevent on any Closable.

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

Represents acomment_deletedevent on a given issue or pull request.

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

Represents aconnectedevent on a given issue or pull request.

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

Represents aconverted_from_draftevent on a given issue or pull request.

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

Represents aconverted_note_to_issueevent on a given issue or pull request.

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

Represents aconverted_to_discussionevent on a given issue.

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

Represents aconvert_to_draftevent on a given pull request.

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

Represents a mention made by one issue or pull request to another.

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

Represents ademilestonedevent on a given issue or pull request.

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

Represents adeployedevent on a given pull request.

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

Represents adeployment_environment_changedevent on a given pull request.

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

Represents adisconnectedevent on a given issue or pull request.

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

Represents ahead_ref_deletedevent on a given pull request.

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

Represents ahead_ref_force_pushedevent on a given pull request.

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

Represents ahead_ref_restoredevent on a given pull request.

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

Represents a comment on an Issue.

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

Represents aissue_comment_pinnedevent on a given issue.

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

Represents aissue_comment_unpinnedevent on a given issue.

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

Represents aissue_field_addedevent on a given issue.

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

Represents aissue_field_changedevent on a given issue.

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

Represents aissue_field_removedevent on a given issue.

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

Represents aissue_type_addedevent on a given issue.

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

Represents aissue_type_changedevent on a given issue.

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

Represents aissue_type_removedevent on a given issue.

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

Represents alabeledevent on a given issue or pull request.

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

Represents alockedevent on a given issue or pull request.

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

Represents amarked_as_duplicateevent on a given issue or pull request.

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

Represents amentionedevent on a given issue or pull request.

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

Represents amergedevent on a given pull request.

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

Represents amilestonedevent on a given issue or pull request.

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

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

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

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

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

Represents a Git commit part of a pull request.

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

Represents a commit comment thread part of a pull request.

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

A review object for a given pull request.

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

A threaded list of comments for a given pull request.

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

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

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

Represents aready_for_reviewevent on a given pull request.

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

Represents areferencedevent on a given ReferencedSubject.

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

Represents aremoved_from_merge_queueevent on a given pull request.

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

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents aremoved_from_project_v2event on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

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

Represents areopenedevent on any Closable.

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

Represents areview_dismissedevent on a given issue or pull request.

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

Represents anreview_requestedevent on a given pull request.

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

Represents anreview_request_removedevent on a given pull request.

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

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

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

Represents anunarchivedevent on a given pull request.

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

Represents anunassignedevent on any assignable object.

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

Represents anunlabeledevent on a given issue or pull request.

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

Represents anunlockedevent on a given issue or pull request.

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

Represents anunmarked_as_duplicateevent on a given issue or pull request.

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

Represents anunpinnedevent on a given issue or pull request.

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

Represents anunsubscribedevent on a given Subscribable.

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

Represents auser_blockedevent on a given user.

" + } + ], + "category": "pulls" + }, { "name": "PullRequestUpdateState", "id": "pullrequestupdatestate", diff --git a/src/graphql/data/fpt/schema-repos.json b/src/graphql/data/fpt/schema-repos.json index 35a58dd51966..4be97978010f 100644 --- a/src/graphql/data/fpt/schema-repos.json +++ b/src/graphql/data/fpt/schema-repos.json @@ -7119,7 +7119,7 @@ "description": "

The parameters for this rule.

", "type": "RuleParameters", "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters" + "href": "/graphql/reference/repos#union-ruleparameters" }, { "name": "repositoryRuleset", @@ -7133,7 +7133,7 @@ "description": "

The type of rule.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -7393,7 +7393,7 @@ "type": { "name": "RepositoryRuleType", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } } ] @@ -9356,6 +9356,143 @@ ], "category": "repos" }, + { + "name": "RepositoryRuleType", + "id": "repositoryruletype", + "href": "/graphql/reference/repos#enum-repositoryruletype", + "description": "

The rule types supported in rulesets.

", + "values": [ + { + "name": "AUTHORIZATION", + "description": "

Authorization.

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

Branch name pattern.

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

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

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

Committer email pattern.

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

Commit author email pattern.

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

Commit message pattern.

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

Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.

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

Only allow users with bypass permission to create matching refs.

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

Only allow users with bypass permissions to delete matching refs.

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

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

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

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

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

Enforce any added or changed dependencies to comply with the organization's license policy.

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

Branch is read-only. Users cannot push to the branch.

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

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

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

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

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

Max ref updates.

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

Merges must be performed via a merge queue.

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

Merge queue locked ref.

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

Prevent users with push access from force pushing to refs.

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

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

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

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

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

Prevent merge commits from being pushed to matching refs.

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

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

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

Commits pushed to matching refs must have verified signatures.

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

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

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

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

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

Secret scanning.

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

Tag.

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

Tag name pattern.

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

Only allow users with bypass permission to update matching refs.

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

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

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

Workflow files cannot be modified.

" + } + ], + "category": "repos" + }, { "name": "RepositoryRulesetBypassActorBypassMode", "id": "repositoryrulesetbypassactorbypassmode", @@ -9584,6 +9721,100 @@ ], "category": "repos" }, + { + "name": "RuleParameters", + "id": "ruleparameters", + "href": "/graphql/reference/repos#union-ruleparameters", + "description": "

Types which can be parameters for RepositoryRule objects.

", + "possibleTypes": [ + { + "name": "BranchNamePatternParameters", + "id": "branchnamepatternparameters", + "href": "/graphql/reference/branches#object-branchnamepatternparameters" + }, + { + "name": "CodeScanningParameters", + "id": "codescanningparameters", + "href": "/graphql/reference/repos#object-codescanningparameters" + }, + { + "name": "CommitAuthorEmailPatternParameters", + "id": "commitauthoremailpatternparameters", + "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" + }, + { + "name": "CommitMessagePatternParameters", + "id": "commitmessagepatternparameters", + "href": "/graphql/reference/commits#object-commitmessagepatternparameters" + }, + { + "name": "CommitterEmailPatternParameters", + "id": "committeremailpatternparameters", + "href": "/graphql/reference/commits#object-committeremailpatternparameters" + }, + { + "name": "CopilotCodeReviewParameters", + "id": "copilotcodereviewparameters", + "href": "/graphql/reference/pulls#object-copilotcodereviewparameters" + }, + { + "name": "FileExtensionRestrictionParameters", + "id": "fileextensionrestrictionparameters", + "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" + }, + { + "name": "FilePathRestrictionParameters", + "id": "filepathrestrictionparameters", + "href": "/graphql/reference/repos#object-filepathrestrictionparameters" + }, + { + "name": "MaxFilePathLengthParameters", + "id": "maxfilepathlengthparameters", + "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" + }, + { + "name": "MaxFileSizeParameters", + "id": "maxfilesizeparameters", + "href": "/graphql/reference/repos#object-maxfilesizeparameters" + }, + { + "name": "MergeQueueParameters", + "id": "mergequeueparameters", + "href": "/graphql/reference/pulls#object-mergequeueparameters" + }, + { + "name": "PullRequestParameters", + "id": "pullrequestparameters", + "href": "/graphql/reference/pulls#object-pullrequestparameters" + }, + { + "name": "RequiredDeploymentsParameters", + "id": "requireddeploymentsparameters", + "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" + }, + { + "name": "RequiredStatusChecksParameters", + "id": "requiredstatuschecksparameters", + "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" + }, + { + "name": "TagNamePatternParameters", + "id": "tagnamepatternparameters", + "href": "/graphql/reference/repos#object-tagnamepatternparameters" + }, + { + "name": "UpdateParameters", + "id": "updateparameters", + "href": "/graphql/reference/repos#object-updateparameters" + }, + { + "name": "WorkflowsParameters", + "id": "workflowsparameters", + "href": "/graphql/reference/actions#object-workflowsparameters" + } + ], + "category": "repos" + }, { "name": "RuleSource", "id": "rulesource", @@ -10450,14 +10681,14 @@ "description": "

The parameters for the rule.

", "type": "RuleParametersInput", "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput" + "href": "/graphql/reference/repos#input-object-ruleparametersinput" }, { "name": "type", "description": "

The type of rule to create.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -10545,6 +10776,134 @@ ], "category": "repos" }, + { + "name": "RuleParametersInput", + "id": "ruleparametersinput", + "href": "/graphql/reference/repos#input-object-ruleparametersinput", + "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

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

Parameters used for the branch_name_pattern rule type.

", + "type": "BranchNamePatternParametersInput", + "id": "branchnamepatternparametersinput", + "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" + }, + { + "name": "codeScanning", + "description": "

Parameters used for the code_scanning rule type.

", + "type": "CodeScanningParametersInput", + "id": "codescanningparametersinput", + "href": "/graphql/reference/repos#input-object-codescanningparametersinput" + }, + { + "name": "commitAuthorEmailPattern", + "description": "

Parameters used for the commit_author_email_pattern rule type.

", + "type": "CommitAuthorEmailPatternParametersInput", + "id": "commitauthoremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" + }, + { + "name": "commitMessagePattern", + "description": "

Parameters used for the commit_message_pattern rule type.

", + "type": "CommitMessagePatternParametersInput", + "id": "commitmessagepatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" + }, + { + "name": "committerEmailPattern", + "description": "

Parameters used for the committer_email_pattern rule type.

", + "type": "CommitterEmailPatternParametersInput", + "id": "committeremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" + }, + { + "name": "copilotCodeReview", + "description": "

Parameters used for the copilot_code_review rule type.

", + "type": "CopilotCodeReviewParametersInput", + "id": "copilotcodereviewparametersinput", + "href": "/graphql/reference/pulls#input-object-copilotcodereviewparametersinput" + }, + { + "name": "fileExtensionRestriction", + "description": "

Parameters used for the file_extension_restriction rule type.

", + "type": "FileExtensionRestrictionParametersInput", + "id": "fileextensionrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" + }, + { + "name": "filePathRestriction", + "description": "

Parameters used for the file_path_restriction rule type.

", + "type": "FilePathRestrictionParametersInput", + "id": "filepathrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" + }, + { + "name": "maxFilePathLength", + "description": "

Parameters used for the max_file_path_length rule type.

", + "type": "MaxFilePathLengthParametersInput", + "id": "maxfilepathlengthparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" + }, + { + "name": "maxFileSize", + "description": "

Parameters used for the max_file_size rule type.

", + "type": "MaxFileSizeParametersInput", + "id": "maxfilesizeparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" + }, + { + "name": "mergeQueue", + "description": "

Parameters used for the merge_queue rule type.

", + "type": "MergeQueueParametersInput", + "id": "mergequeueparametersinput", + "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" + }, + { + "name": "pullRequest", + "description": "

Parameters used for the pull_request rule type.

", + "type": "PullRequestParametersInput", + "id": "pullrequestparametersinput", + "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" + }, + { + "name": "requiredDeployments", + "description": "

Parameters used for the required_deployments rule type.

", + "type": "RequiredDeploymentsParametersInput", + "id": "requireddeploymentsparametersinput", + "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" + }, + { + "name": "requiredStatusChecks", + "description": "

Parameters used for the required_status_checks rule type.

", + "type": "RequiredStatusChecksParametersInput", + "id": "requiredstatuschecksparametersinput", + "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" + }, + { + "name": "tagNamePattern", + "description": "

Parameters used for the tag_name_pattern rule type.

", + "type": "TagNamePatternParametersInput", + "id": "tagnamepatternparametersinput", + "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" + }, + { + "name": "update", + "description": "

Parameters used for the update rule type.

", + "type": "UpdateParametersInput", + "id": "updateparametersinput", + "href": "/graphql/reference/repos#input-object-updateparametersinput" + }, + { + "name": "workflows", + "description": "

Parameters used for the workflows rule type.

", + "type": "WorkflowsParametersInput", + "id": "workflowsparametersinput", + "href": "/graphql/reference/actions#input-object-workflowsparametersinput" + } + ], + "category": "repos" + }, { "name": "SetRepositoryCustomPropertyValuesInput", "id": "setrepositorycustompropertyvaluesinput", diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 8c09df80abda..8111e562fc1a 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -1650,6 +1650,50 @@ type App implements Node @docsCategory(name: "apps") { url: URI! } +""" +Autogenerated input type of ApplyPendingIssueSuggestions +""" +input ApplyPendingIssueSuggestionsInput { + """ + The ID of the actor whose suggestions to apply. + """ + actorId: ID! + @possibleTypes( + concreteTypes: ["Bot", "EnterpriseUserAccount", "Mannequin", "Organization", "User"] + abstractType: "Actor" + ) + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue the suggestions apply to. + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + The pending suggestions to apply. + """ + suggestions: [PendingIssueSuggestionRef!]! +} + +""" +Autogenerated return type of ApplyPendingIssueSuggestions. +""" +type ApplyPendingIssueSuggestionsPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated issue. + """ + issue: Issue +} + """ Autogenerated input type of ApproveDeployments """ @@ -1934,6 +1978,11 @@ type AssignedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ Identifies the user who was assigned. """ @@ -5003,6 +5052,11 @@ type ClosedEvent implements Node & UniformResourceLocatable @docsCategory(name: """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The HTTP path for this closed event. """ @@ -20008,6 +20062,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ editor: Actor + """ + A list of rationales associated with this issue's timeline events. + """ + eventRationales: [IssueEventRationale!]! + """ Identifies the primary key from the database as a BigInt. """ @@ -20183,6 +20242,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & last: Int ): UserConnection! + """ + All pending suggestions on this issue. + """ + pendingSuggestions: [PendingIssueSuggestion!] + """ The pinned comment for this issue. """ @@ -21249,6 +21313,45 @@ enum IssueEventConfidenceLevel @docsCategory(name: "issues") { MEDIUM } +""" +Rationale text associated with an issue timeline event. +""" +type IssueEventRationale { + """ + The agent or user who produced the rationale. + """ + actor: Actor + + """ + Identifies the date and time when the rationale was created. + """ + createdAt: DateTime! + + """ + The issue timeline event this rationale is associated with. + """ + issueEvent: IssueEventWithRationale + + """ + The reasoning or explanation text for the event. + """ + rationale: String! +} + +""" +An issue timeline event that may have an associated rationale. +""" +union IssueEventWithRationale @docsCategory(name: "issues") = + | ClosedEvent + | IssueFieldAddedEvent + | IssueFieldChangedEvent + | IssueFieldRemovedEvent + | IssueTypeAddedEvent + | IssueTypeChangedEvent + | IssueTypeRemovedEvent + | LabeledEvent + | UnlabeledEvent + """ Represents a 'issue_field_added' event on a given issue. """ @@ -21273,6 +21376,11 @@ type IssueFieldAddedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The issue field added. """ @@ -21283,6 +21391,11 @@ type IssueFieldAddedEvent implements Node @docsCategory(name: "issues") { """ options: [IssueFieldTimelineOption!] + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale + """ The value of the added field. """ @@ -21308,6 +21421,11 @@ type IssueFieldChangedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The issue field changed. """ @@ -21342,6 +21460,11 @@ type IssueFieldChangedEvent implements Node @docsCategory(name: "issues") { The previous value of the field. """ previousValue: String + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ @@ -21703,6 +21826,11 @@ type IssueFieldRemovedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The issue field removed. """ @@ -21712,6 +21840,11 @@ type IssueFieldRemovedEvent implements Node @docsCategory(name: "issues") { The removed options for option-backed fields; single-select returns one option and multi-select returns many. """ options: [IssueFieldTimelineOption!] + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ @@ -22947,10 +23080,20 @@ type IssueTypeAddedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The issue type added. """ issueType: IssueType + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ @@ -22972,6 +23115,11 @@ type IssueTypeChangedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The issue type added. """ @@ -22981,6 +23129,11 @@ type IssueTypeChangedEvent implements Node @docsCategory(name: "issues") { The issue type removed. """ prevIssueType: IssueType + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ @@ -23117,10 +23270,20 @@ type IssueTypeRemovedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The issue type removed. """ issueType: IssueType + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ @@ -23148,6 +23311,31 @@ input IssueTypeUpdateInput @docsCategory(name: "issues") { suggest: Boolean } +""" +The intent behind an agent's issue event action, including rationale and confidence. +""" +type IssueUpdateIntent @docsCategory(name: "issues") { + """ + The confidence level the agent had when performing this action. + """ + confidence: IssueEventConfidenceLevel + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + Opaque identifier for the underlying intent. Carries the DB bigint as a String. + """ + intentId: String + + """ + The reasoning or explanation text for the event. + """ + rationale: String +} + """ Represents a user signing up for a GitHub account. """ @@ -23489,6 +23677,11 @@ type LabeledEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ Identifies the label associated with the 'labeled' event. """ @@ -23498,6 +23691,11 @@ type LabeledEvent implements Node @docsCategory(name: "issues") { Identifies the `Labelable` associated with the event. """ labelable: Labelable! + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ @@ -26922,6 +27120,16 @@ type Mutation @docsCategory(name: "meta") { input: AddVerifiableDomainInput! ): AddVerifiableDomainPayload @docsCategory(name: "orgs") + """ + Applies a batch of pending issue suggestions to an issue. + """ + applyPendingIssueSuggestions( + """ + Parameters for ApplyPendingIssueSuggestions + """ + input: ApplyPendingIssueSuggestionsInput! + ): ApplyPendingIssueSuggestionsPayload @docsCategory(name: "issues") + """ Approve all pending deployments under one or more environments """ @@ -28182,6 +28390,16 @@ type Mutation @docsCategory(name: "meta") { input: RejectDeploymentsInput! ): RejectDeploymentsPayload @docsCategory(name: "deployments") + """ + Rejects a batch of pending issue suggestions on an issue atomically. + """ + rejectPendingIssueSuggestions( + """ + Parameters for RejectPendingIssueSuggestions + """ + input: RejectPendingIssueSuggestionsInput! + ): RejectPendingIssueSuggestionsPayload @docsCategory(name: "issues") + """ Removes assignees from an assignable object. """ @@ -37806,6 +38024,237 @@ enum PatchStatus @docsCategory(name: "pulls") { RENAMED } +""" +A pending suggestion to assign a user to an issue. +""" +type PendingAssigneeSuggestion @docsCategory(name: "issues") { + """ + The actor who suggested the assignee. + """ + actor: Actor + + """ + The suggested assignee. + """ + assignee: Assignee + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The rationale provided for suggesting this assignee. + """ + rationale: String + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +A pending suggestion to close an issue. +""" +type PendingCloseSuggestion @docsCategory(name: "issues") { + """ + The actor who suggested closing the issue. + """ + actor: Actor + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The issue or pull request the suggestion proposes marking this issue as a + duplicate of. Only set when `stateReason` is `DUPLICATE`. + """ + duplicateOf: IssueOrPullRequest + + """ + The rationale provided for suggesting this close. + """ + rationale: String + + """ + The state reason the suggestion would apply when closing the issue. + """ + stateReason: IssueStateReason + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +A pending suggestion to set an issue field's value. +""" +type PendingFieldSuggestion @docsCategory(name: "issues") { + """ + The actor who suggested the field value. + """ + actor: Actor + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The issue field the suggestion targets. + """ + issueField: IssueFields + + """ + The rationale provided for suggesting this field value. + """ + rationale: String + + """ + The suggested value for the field, as a string representation of the value originally provided. + """ + suggestedValue: String + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +A pending suggestion for an issue. May target the issue's type, labels, field values, assignees, or close state. +""" +union PendingIssueSuggestion @docsCategory(name: "issues") = + | PendingAssigneeSuggestion + | PendingCloseSuggestion + | PendingFieldSuggestion + | PendingLabelSuggestion + | PendingTypeSuggestion + +""" +The kind of pending issue suggestion being applied. +""" +enum PendingIssueSuggestionKind @docsCategory(name: "issues") { + """ + Add the suggested assignee to the issue. + """ + ASSIGNEE + + """ + Close the issue with the suggested state reason (and duplicate target, when applicable). + """ + CLOSE + + """ + Set the suggested issue field value on the issue. + """ + FIELD + + """ + Add the suggested label to the issue. + """ + LABEL + + """ + Set the issue's type to the suggested issue type. + """ + TYPE +} + +""" +A reference to a single pending issue suggestion to apply. +""" +input PendingIssueSuggestionRef @docsCategory(name: "issues") { + """ + The ID of the suggested assignee. Required when kind is ASSIGNEE. + """ + assigneeId: ID + + """ + The ID of the suggested issue field. Required when kind is FIELD. + """ + issueFieldId: ID + + """ + The ID of the suggested issue type. Required when kind is TYPE. + """ + issueTypeId: ID + + """ + The kind of suggestion to apply. + """ + kind: PendingIssueSuggestionKind! + + """ + The ID of the suggested label. Required when kind is LABEL. + """ + labelId: ID +} + +""" +A pending suggestion to add a label to an issue. +""" +type PendingLabelSuggestion @docsCategory(name: "issues") { + """ + The actor who suggested the label. + """ + actor: Actor + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The suggested label. + """ + label: Label + + """ + The rationale provided for suggesting this label. + """ + rationale: String + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +A pending suggestion to change an issue's type. +""" +type PendingTypeSuggestion @docsCategory(name: "issues") { + """ + The actor who suggested the type change. + """ + actor: Actor + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The suggested issue type. + """ + issueType: IssueType + + """ + The rationale provided for suggesting this type change. + """ + rationale: String + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + """ Types that can grant permissions on a repository to a user """ @@ -43845,6 +44294,16 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab states: [PullRequestReviewState!] ): PullRequestReviewConnection + """ + The stack this Pull Request belongs to, or null if it is not part of a stack + """ + stack: PullRequestStack + + """ + The stack entry for this Pull Request, or null if it is not part of a stack + """ + stackEntry: PullRequestStackEntry + """ Identifies the state of the pull request. """ @@ -45662,6 +46121,121 @@ type PullRequestRevisionMarker @docsCategory(name: "pulls") { pullRequest: PullRequest! } +""" +A stack of PullRequests +""" +type PullRequestStack implements Node @docsCategory(name: "pulls") { + """ + The branch that the stack's pull requests target + """ + baseRefName: String! + + """ + The entries in the stack + """ + entries( + """ + 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 + ): PullRequestStackEntryConnection! + + """ + The Node ID of the PullRequestStack object + """ + id: ID! + + """ + A number uniquely identifying the stack within its repository + """ + number: Int! + + """ + The total number of pull requests in the stack + """ + size: Int! +} + +""" +A member of a PullRequestStack +""" +type PullRequestStackEntry implements Node @docsCategory(name: "pulls") { + """ + The Node ID of the PullRequestStackEntry object + """ + id: ID! + + """ + This entry's position in the stack, where 1 is the closest to the base branch, 2 is stacked on top of 1, etc. + """ + position: Int! + + """ + The pull request that occupies this position in the stack + """ + pullRequest: PullRequest + + """ + The stack that this entry is a part of + """ + stack: PullRequestStack +} + +""" +Entries in a pull request stack +""" +type PullRequestStackEntryConnection { + """ + A list of edges. + """ + edges: [PullRequestStackEntryEdge] + + """ + A list of nodes. + """ + nodes: [PullRequestStackEntry] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PullRequestStackEntryEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PullRequestStackEntry +} + """ The possible states of a pull request. """ @@ -48042,6 +48616,50 @@ type RejectDeploymentsPayload { deployments: [Deployment!] } +""" +Autogenerated input type of RejectPendingIssueSuggestions +""" +input RejectPendingIssueSuggestionsInput { + """ + The ID of the actor whose suggestions to reject. + """ + actorId: ID! + @possibleTypes( + concreteTypes: ["Bot", "EnterpriseUserAccount", "Mannequin", "Organization", "User"] + abstractType: "Actor" + ) + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue the suggestions apply to. + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + The pending suggestions to reject. All are rejected atomically; any failure rolls back the entire batch. + """ + suggestions: [PendingIssueSuggestionRef!]! +} + +""" +Autogenerated return type of RejectPendingIssueSuggestions. +""" +type RejectPendingIssueSuggestionsPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The issue the suggestions were rejected from. + """ + issue: Issue +} + """ A release contains the content for a release. """ @@ -66448,6 +67066,11 @@ type UnlabeledEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ Identifies the label associated with the 'unlabeled' event. """ @@ -66457,6 +67080,11 @@ type UnlabeledEvent implements Node @docsCategory(name: "issues") { Identifies the `Labelable` associated with the event. """ labelable: Labelable! + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ diff --git a/src/graphql/data/ghec/category-map.json b/src/graphql/data/ghec/category-map.json index 0fc0ba941d0e..9401787dcb85 100644 --- a/src/graphql/data/ghec/category-map.json +++ b/src/graphql/data/ghec/category-map.json @@ -130,6 +130,7 @@ "addcomment": "issues", "addlabelstolabelable": "issues", "addsubissue": "issues", + "applypendingissuesuggestions": "issues", "clearlabelsfromlabelable": "issues", "closeissue": "issues", "createissue": "issues", @@ -149,6 +150,7 @@ "minimizecomment": "issues", "pinissue": "issues", "pinissuecomment": "issues", + "rejectpendingissuesuggestions": "issues", "removeassigneesfromassignable": "issues", "removeblockedby": "issues", "removelabelsfromlabelable": "issues", @@ -367,6 +369,7 @@ "usernamespacerepository": "enterprise-admin", "usernamespacerepositoryconnection": "enterprise-admin", "usernamespacerepositoryedge": "enterprise-admin", + "issueeventrationale": "other", "pageinfo": "other", "license": "licenses", "licenserule": "licenses", @@ -677,6 +680,7 @@ "issuetypeconnection": "issues", "issuetypeedge": "issues", "issuetyperemovedevent": "issues", + "issueupdateintent": "issues", "label": "issues", "labelconnection": "issues", "labeledge": "issues", @@ -693,6 +697,11 @@ "milestonedevent": "issues", "parentissueaddedevent": "issues", "parentissueremovedevent": "issues", + "pendingassigneesuggestion": "issues", + "pendingclosesuggestion": "issues", + "pendingfieldsuggestion": "issues", + "pendinglabelsuggestion": "issues", + "pendingtypesuggestion": "issues", "pinnedevent": "issues", "pinnedissue": "issues", "pinnedissuecomment": "issues", @@ -841,6 +850,10 @@ "pullrequestreviewthreadconnection": "pulls", "pullrequestreviewthreadedge": "pulls", "pullrequestrevisionmarker": "pulls", + "pullrequeststack": "pulls", + "pullrequeststackentry": "pulls", + "pullrequeststackentryconnection": "pulls", + "pullrequeststackentryedge": "pulls", "pullrequesttemplate": "pulls", "pullrequestthread": "pulls", "pullrequesttimelineconnection": "pulls", @@ -1121,9 +1134,6 @@ "samldigestalgorithm": "enterprise-admin", "samlsignaturealgorithm": "enterprise-admin", "twofactorcredentialsecuritytype": "enterprise-admin", - "issuetimelineitemsitemtype": "other", - "pullrequesttimelineitemsitemtype": "other", - "repositoryruletype": "other", "oauthapplicationcreateauditentrystate": "apps", "orgaddmemberauditentrypermission": "orgs", "orgcreateauditentrybillingplan": "orgs", @@ -1170,6 +1180,7 @@ "repositorypermission": "repos", "repositoryprivacy": "repos", "repositoryruleorderfield": "repos", + "repositoryruletype": "repos", "repositoryrulesetbypassactorbypassmode": "repos", "repositoryrulesettarget": "repos", "repositorysuggestedactorfilter": "repos", @@ -1229,12 +1240,14 @@ "issuesearchtype": "issues", "issuestate": "issues", "issuestatereason": "issues", + "issuetimelineitemsitemtype": "issues", "issuetypecolor": "issues", "issuetypeorderfield": "issues", "labelorderfield": "issues", "lockreason": "issues", "milestoneorderfield": "issues", "milestonestate": "issues", + "pendingissuesuggestionkind": "issues", "trackedissuestates": "issues", "discussionclosereason": "discussions", "discussionorderfield": "discussions", @@ -1286,6 +1299,7 @@ "pullrequestreviewstate": "pulls", "pullrequestreviewthreadsubjecttype": "pulls", "pullrequeststate": "pulls", + "pullrequesttimelineitemsitemtype": "pulls", "pullrequestupdatestate": "pulls", "reactioncontent": "reactions", "reactionorderfield": "reactions", @@ -1341,13 +1355,13 @@ "auditentryactor": "enterprise-admin", "enterprisemember": "enterprise-admin", "ipallowlistowner": "enterprise-admin", - "ruleparameters": "other", "orgrestorememberauditentrymembership": "orgs", "organizationauditentry": "orgs", "permissiongranter": "orgs", "verifiabledomainowner": "orgs", "bypassactor": "repos", "custompropertysource": "repos", + "ruleparameters": "repos", "rulesource": "repos", "searchresultitem": "search", "sponsor": "sponsors", @@ -1361,12 +1375,14 @@ "userlistitems": "users", "assignee": "issues", "closer": "issues", + "issueeventwithrationale": "issues", "issuefieldvalue": "issues", "issuefields": "issues", "issueorpullrequest": "issues", "issuetimelineitem": "issues", "issuetimelineitems": "issues", "milestoneitem": "issues", + "pendingissuesuggestion": "issues", "referencedsubject": "issues", "renamedtitlesubject": "issues", "projectcarditem": "projects-classic", @@ -1444,7 +1460,6 @@ "updateipallowlistentryinput": "enterprise-admin", "updateipallowlistforinstalledappsenabledsettinginput": "enterprise-admin", "updateipallowlistuserlevelenforcementenabledsettinginput": "enterprise-admin", - "ruleparametersinput": "other", "addverifiabledomaininput": "orgs", "approveverifiabledomaininput": "orgs", "deleteverifiabledomaininput": "orgs", @@ -1489,6 +1504,7 @@ "repositoryruleinput": "repos", "repositoryruleorder": "repos", "repositoryrulesetbypassactorinput": "repos", + "ruleparametersinput": "repos", "setrepositorycustompropertyvaluesinput": "repos", "setrepositoryinteractionlimitinput": "repos", "tagnamepatternparametersinput": "repos", @@ -1547,6 +1563,7 @@ "addcommentinput": "issues", "addlabelstolabelableinput": "issues", "addsubissueinput": "issues", + "applypendingissuesuggestionsinput": "issues", "assigneeupdateinput": "issues", "clearlabelsfromlabelableinput": "issues", "closeissueinput": "issues", @@ -1578,8 +1595,10 @@ "locklockableinput": "issues", "milestoneorder": "issues", "minimizecommentinput": "issues", + "pendingissuesuggestionref": "issues", "pinissuecommentinput": "issues", "pinissueinput": "issues", + "rejectpendingissuesuggestionsinput": "issues", "removeassigneesfromassignableinput": "issues", "removeblockedbyinput": "issues", "removelabelsfromlabelableinput": "issues", diff --git a/src/graphql/data/ghec/schema-issues.json b/src/graphql/data/ghec/schema-issues.json index f5e2509bc0f0..e8b922c029b0 100644 --- a/src/graphql/data/ghec/schema-issues.json +++ b/src/graphql/data/ghec/schema-issues.json @@ -188,6 +188,38 @@ ], "category": "issues" }, + { + "name": "applyPendingIssueSuggestions", + "id": "applypendingissuesuggestions", + "href": "/graphql/reference/issues#mutation-applypendingissuesuggestions", + "description": "

Applies a batch of pending issue suggestions to an issue.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "input", + "type": "ApplyPendingIssueSuggestionsInput!", + "id": "applypendingissuesuggestionsinput", + "href": "/graphql/reference/issues#input-object-applypendingissuesuggestionsinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issue", + "type": "Issue", + "id": "issue", + "href": "/graphql/reference/issues#object-issue", + "description": "

The updated issue.

" + } + ], + "category": "issues" + }, { "name": "clearLabelsFromLabelable", "id": "clearlabelsfromlabelable", @@ -810,6 +842,38 @@ ], "category": "issues" }, + { + "name": "rejectPendingIssueSuggestions", + "id": "rejectpendingissuesuggestions", + "href": "/graphql/reference/issues#mutation-rejectpendingissuesuggestions", + "description": "

Rejects a batch of pending issue suggestions on an issue atomically.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "input", + "type": "RejectPendingIssueSuggestionsInput!", + "id": "rejectpendingissuesuggestionsinput", + "href": "/graphql/reference/issues#input-object-rejectpendingissuesuggestionsinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "issue", + "type": "Issue", + "id": "issue", + "href": "/graphql/reference/issues#object-issue", + "description": "

The issue the suggestions were rejected from.

" + } + ], + "category": "issues" + }, { "name": "removeAssigneesFromAssignable", "id": "removeassigneesfromassignable", @@ -1582,6 +1646,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "user", "description": "

Identifies the user who was assigned.

", @@ -1895,6 +1966,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "resourcePath", "description": "

The HTTP path for this closed event.

", @@ -2864,6 +2942,13 @@ "id": "actor", "href": "/graphql/reference/users#interface-actor" }, + { + "name": "eventRationales", + "description": "

A list of rationales associated with this issue's timeline events.

", + "type": "[IssueEventRationale!]!", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" + }, { "name": "fullDatabaseId", "description": "

Identifies the primary key from the database as a BigInt.

", @@ -3156,6 +3241,13 @@ } ] }, + { + "name": "pendingSuggestions", + "description": "

All pending suggestions on this issue.

", + "type": "[PendingIssueSuggestion!]", + "id": "pendingissuesuggestion", + "href": "/graphql/reference/issues#union-pendingissuesuggestion" + }, { "name": "pinnedIssueComment", "description": "

The pinned comment for this issue.

", @@ -3684,7 +3776,7 @@ "type": { "name": "[IssueTimelineItemsItemType!]", "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype" + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype" } }, { @@ -4790,6 +4882,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "issueField", "description": "

The issue field added.

", @@ -4804,6 +4903,13 @@ "id": "issuefieldtimelineoption", "href": "/graphql/reference/issues#object-issuefieldtimelineoption" }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" + }, { "name": "value", "description": "

The value of the added field.

", @@ -4849,6 +4955,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "issueField", "description": "

The issue field changed.

", @@ -4897,6 +5010,13 @@ "type": "String", "id": "string", "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" } ], "category": "issues" @@ -5292,6 +5412,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "issueField", "description": "

The issue field removed.

", @@ -5305,6 +5432,13 @@ "type": "[IssueFieldTimelineOption!]", "id": "issuefieldtimelineoption", "href": "/graphql/reference/issues#object-issuefieldtimelineoption" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" } ], "category": "issues" @@ -6267,12 +6401,26 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "issueType", "description": "

The issue type added.

", "type": "IssueType", "id": "issuetype", "href": "/graphql/reference/issues#object-issuetype" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" } ], "category": "issues" @@ -6312,6 +6460,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "issueType", "description": "

The issue type added.

", @@ -6325,6 +6480,13 @@ "type": "IssueType", "id": "issuetype", "href": "/graphql/reference/issues#object-issuetype" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" } ], "category": "issues" @@ -6424,12 +6586,64 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "issueType", "description": "

The issue type removed.

", "type": "IssueType", "id": "issuetype", "href": "/graphql/reference/issues#object-issuetype" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" + } + ], + "category": "issues" + }, + { + "name": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent", + "description": "

The intent behind an agent's issue event action, including rationale and confidence.

", + "isDeprecated": false, + "fields": [ + { + "name": "confidence", + "description": "

The confidence level the agent had when performing this action.

", + "type": "IssueEventConfidenceLevel", + "id": "issueeventconfidencelevel", + "href": "/graphql/reference/issues#enum-issueeventconfidencelevel" + }, + { + "name": "databaseId", + "description": "

Identifies the primary key from the database.

", + "type": "Int", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + }, + { + "name": "intentId", + "description": "

Opaque identifier for the underlying intent. Carries the DB bigint as a String.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "rationale", + "description": "

The reasoning or explanation text for the event.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" } ], "category": "issues" @@ -6787,6 +7001,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "label", "description": "

Identifies the label associated with thelabeledevent.

", @@ -6800,6 +7021,13 @@ "type": "Labelable!", "id": "labelable", "href": "/graphql/reference/issues#interface-labelable" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" } ], "category": "issues" @@ -7592,141 +7820,380 @@ "category": "issues" }, { - "name": "PinnedEvent", - "id": "pinnedevent", - "href": "/graphql/reference/issues#object-pinnedevent", - "description": "

Represents apinnedevent on a given issue or pull request.

", + "name": "PendingAssigneeSuggestion", + "id": "pendingassigneesuggestion", + "href": "/graphql/reference/issues#object-pendingassigneesuggestion", + "description": "

A pending suggestion to assign a user to an issue.

", "isDeprecated": false, - "implements": [ - { - "name": "Node", - "id": "node", - "href": "/graphql/reference/meta#interface-node" - } - ], "fields": [ { "name": "actor", - "description": "

Identifies the actor who performed the event.

", + "description": "

The actor who suggested the assignee.

", "type": "Actor", "id": "actor", "href": "/graphql/reference/users#interface-actor" }, + { + "name": "assignee", + "description": "

The suggested assignee.

", + "type": "Assignee", + "id": "assignee", + "href": "/graphql/reference/issues#union-assignee" + }, { "name": "createdAt", - "description": "

Identifies the date and time when the object was created.

", + "description": "

When the suggestion was created.

", "type": "DateTime!", "id": "datetime", "href": "/graphql/reference/other#scalar-datetime" }, { - "name": "id", - "description": "

The Node ID of the PinnedEvent object.

", - "type": "ID!", - "id": "id", - "href": "/graphql/reference/other#scalar-id" + "name": "rationale", + "description": "

The rationale provided for suggesting this assignee.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" }, { - "name": "issue", - "description": "

Identifies the issue associated with the event.

", - "type": "Issue!", - "id": "issue", - "href": "/graphql/reference/issues#object-issue" + "name": "updatedAt", + "description": "

When the suggestion was last updated.

", + "type": "DateTime", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" } ], "category": "issues" }, { - "name": "PinnedIssue", - "id": "pinnedissue", - "href": "/graphql/reference/issues#object-pinnedissue", - "description": "

A Pinned Issue is a issue pinned to a repository's index page.

", + "name": "PendingCloseSuggestion", + "id": "pendingclosesuggestion", + "href": "/graphql/reference/issues#object-pendingclosesuggestion", + "description": "

A pending suggestion to close an issue.

", "isDeprecated": false, - "implements": [ - { - "name": "Node", - "id": "node", - "href": "/graphql/reference/meta#interface-node" - } - ], "fields": [ { - "name": "databaseId", - "description": "

Identifies the primary key from the database.

", - "type": "Int", - "id": "int", - "href": "/graphql/reference/other#scalar-int" + "name": "actor", + "description": "

The actor who suggested closing the issue.

", + "type": "Actor", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" }, { - "name": "fullDatabaseId", - "description": "

Identifies the primary key from the database as a BigInt.

", - "type": "BigInt", - "id": "bigint", - "href": "/graphql/reference/other#scalar-bigint" + "name": "createdAt", + "description": "

When the suggestion was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" }, { - "name": "id", - "description": "

The Node ID of the PinnedIssue object.

", - "type": "ID!", - "id": "id", - "href": "/graphql/reference/other#scalar-id" + "name": "duplicateOf", + "description": "

The issue or pull request the suggestion proposes marking this issue as a\nduplicate of. Only set when stateReason is DUPLICATE.

", + "type": "IssueOrPullRequest", + "id": "issueorpullrequest", + "href": "/graphql/reference/issues#union-issueorpullrequest" }, { - "name": "issue", - "description": "

The issue that was pinned.

", - "type": "Issue!", - "id": "issue", - "href": "/graphql/reference/issues#object-issue" + "name": "rationale", + "description": "

The rationale provided for suggesting this close.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" }, { - "name": "pinnedBy", - "description": "

The actor that pinned this issue.

", - "type": "Actor!", - "id": "actor", - "href": "/graphql/reference/users#interface-actor" + "name": "stateReason", + "description": "

The state reason the suggestion would apply when closing the issue.

", + "type": "IssueStateReason", + "id": "issuestatereason", + "href": "/graphql/reference/issues#enum-issuestatereason" }, { - "name": "repository", - "description": "

The repository that this issue was pinned to.

", - "type": "Repository!", - "id": "repository", - "href": "/graphql/reference/repos#object-repository" + "name": "updatedAt", + "description": "

When the suggestion was last updated.

", + "type": "DateTime", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" } ], "category": "issues" }, { - "name": "PinnedIssueComment", - "id": "pinnedissuecomment", - "href": "/graphql/reference/issues#object-pinnedissuecomment", - "description": "

A comment pinned to an Issue.

", + "name": "PendingFieldSuggestion", + "id": "pendingfieldsuggestion", + "href": "/graphql/reference/issues#object-pendingfieldsuggestion", + "description": "

A pending suggestion to set an issue field's value.

", "isDeprecated": false, - "implements": [ - { - "name": "Node", - "id": "node", - "href": "/graphql/reference/meta#interface-node" - } - ], "fields": [ { - "name": "databaseId", - "description": "

Identifies the primary key from the database.

", - "type": "Int", - "id": "int", - "href": "/graphql/reference/other#scalar-int" + "name": "actor", + "description": "

The actor who suggested the field value.

", + "type": "Actor", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" }, { - "name": "fullDatabaseId", - "description": "

Identifies the primary key from the database as a BigInt.

", - "type": "BigInt", - "id": "bigint", - "href": "/graphql/reference/other#scalar-bigint" + "name": "createdAt", + "description": "

When the suggestion was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" }, { - "name": "id", - "description": "

The Node ID of the PinnedIssueComment object.

", - "type": "ID!", + "name": "issueField", + "description": "

The issue field the suggestion targets.

", + "type": "IssueFields", + "id": "issuefields", + "href": "/graphql/reference/issues#union-issuefields" + }, + { + "name": "rationale", + "description": "

The rationale provided for suggesting this field value.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "suggestedValue", + "description": "

The suggested value for the field, as a string representation of the value originally provided.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "updatedAt", + "description": "

When the suggestion was last updated.

", + "type": "DateTime", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + } + ], + "category": "issues" + }, + { + "name": "PendingLabelSuggestion", + "id": "pendinglabelsuggestion", + "href": "/graphql/reference/issues#object-pendinglabelsuggestion", + "description": "

A pending suggestion to add a label to an issue.

", + "isDeprecated": false, + "fields": [ + { + "name": "actor", + "description": "

The actor who suggested the label.

", + "type": "Actor", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" + }, + { + "name": "createdAt", + "description": "

When the suggestion was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + }, + { + "name": "label", + "description": "

The suggested label.

", + "type": "Label", + "id": "label", + "href": "/graphql/reference/issues#object-label" + }, + { + "name": "rationale", + "description": "

The rationale provided for suggesting this label.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "updatedAt", + "description": "

When the suggestion was last updated.

", + "type": "DateTime", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + } + ], + "category": "issues" + }, + { + "name": "PendingTypeSuggestion", + "id": "pendingtypesuggestion", + "href": "/graphql/reference/issues#object-pendingtypesuggestion", + "description": "

A pending suggestion to change an issue's type.

", + "isDeprecated": false, + "fields": [ + { + "name": "actor", + "description": "

The actor who suggested the type change.

", + "type": "Actor", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" + }, + { + "name": "createdAt", + "description": "

When the suggestion was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + }, + { + "name": "issueType", + "description": "

The suggested issue type.

", + "type": "IssueType", + "id": "issuetype", + "href": "/graphql/reference/issues#object-issuetype" + }, + { + "name": "rationale", + "description": "

The rationale provided for suggesting this type change.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "updatedAt", + "description": "

When the suggestion was last updated.

", + "type": "DateTime", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + } + ], + "category": "issues" + }, + { + "name": "PinnedEvent", + "id": "pinnedevent", + "href": "/graphql/reference/issues#object-pinnedevent", + "description": "

Represents apinnedevent on a given issue or pull request.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/meta#interface-node" + } + ], + "fields": [ + { + "name": "actor", + "description": "

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + }, + { + "name": "id", + "description": "

The Node ID of the PinnedEvent object.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "issue", + "description": "

Identifies the issue associated with the event.

", + "type": "Issue!", + "id": "issue", + "href": "/graphql/reference/issues#object-issue" + } + ], + "category": "issues" + }, + { + "name": "PinnedIssue", + "id": "pinnedissue", + "href": "/graphql/reference/issues#object-pinnedissue", + "description": "

A Pinned Issue is a issue pinned to a repository's index page.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/meta#interface-node" + } + ], + "fields": [ + { + "name": "databaseId", + "description": "

Identifies the primary key from the database.

", + "type": "Int", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + }, + { + "name": "fullDatabaseId", + "description": "

Identifies the primary key from the database as a BigInt.

", + "type": "BigInt", + "id": "bigint", + "href": "/graphql/reference/other#scalar-bigint" + }, + { + "name": "id", + "description": "

The Node ID of the PinnedIssue object.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "issue", + "description": "

The issue that was pinned.

", + "type": "Issue!", + "id": "issue", + "href": "/graphql/reference/issues#object-issue" + }, + { + "name": "pinnedBy", + "description": "

The actor that pinned this issue.

", + "type": "Actor!", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" + }, + { + "name": "repository", + "description": "

The repository that this issue was pinned to.

", + "type": "Repository!", + "id": "repository", + "href": "/graphql/reference/repos#object-repository" + } + ], + "category": "issues" + }, + { + "name": "PinnedIssueComment", + "id": "pinnedissuecomment", + "href": "/graphql/reference/issues#object-pinnedissuecomment", + "description": "

A comment pinned to an Issue.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/meta#interface-node" + } + ], + "fields": [ + { + "name": "databaseId", + "description": "

Identifies the primary key from the database.

", + "type": "Int", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + }, + { + "name": "fullDatabaseId", + "description": "

Identifies the primary key from the database as a BigInt.

", + "type": "BigInt", + "id": "bigint", + "href": "/graphql/reference/other#scalar-bigint" + }, + { + "name": "id", + "description": "

The Node ID of the PinnedIssueComment object.

", + "type": "ID!", "id": "id", "href": "/graphql/reference/other#scalar-id" }, @@ -8319,6 +8786,13 @@ "id": "id", "href": "/graphql/reference/other#scalar-id" }, + { + "name": "intent", + "description": "

The intent behind the agent's action, including rationale and confidence.

", + "type": "IssueUpdateIntent", + "id": "issueupdateintent", + "href": "/graphql/reference/issues#object-issueupdateintent" + }, { "name": "label", "description": "

Identifies the label associated with theunlabeledevent.

", @@ -8332,6 +8806,13 @@ "type": "Labelable!", "id": "labelable", "href": "/graphql/reference/issues#interface-labelable" + }, + { + "name": "rationale", + "description": "

The rationale associated with this event.

", + "type": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale" } ], "category": "issues" @@ -9411,100 +9892,313 @@ "isDeprecated": false, "values": [ { - "name": "ALL", - "description": "

All.

" + "name": "ALL", + "description": "

All.

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

Org Only.

" + } + ], + "category": "issues" + }, + { + "name": "IssueOrderField", + "id": "issueorderfield", + "href": "/graphql/reference/issues#enum-issueorderfield", + "description": "

Properties by which issue connections can be ordered.

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

Order issues by comment count.

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

Order issues by creation time.

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

Order issues by update time.

" + } + ], + "category": "issues" + }, + { + "name": "IssueSearchType", + "id": "issuesearchtype", + "href": "/graphql/reference/issues#enum-issuesearchtype", + "description": "

Type of issue search performed.

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

Hybrid search combining lexical and semantic approaches.

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

Lexical (keyword-based) search.

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

Semantic (meaning-based) search using embeddings.

" + } + ], + "category": "issues" + }, + { + "name": "IssueState", + "id": "issuestate", + "href": "/graphql/reference/issues#enum-issuestate", + "description": "

The possible states of an issue.

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

An issue that has been closed.

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

An issue that is still open.

" + } + ], + "category": "issues" + }, + { + "name": "IssueStateReason", + "id": "issuestatereason", + "href": "/graphql/reference/issues#enum-issuestatereason", + "description": "

The possible state reasons of an issue.

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

An issue that has been closed as completed.

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

An issue that has been closed as a duplicate.

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

An issue that has been closed as not planned.

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

An issue that has been reopened.

" + } + ], + "category": "issues" + }, + { + "name": "IssueTimelineItemsItemType", + "id": "issuetimelineitemsitemtype", + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_PROJECT_EVENT", + "description": "

Represents aadded_to_projectevent on a given issue or pull request.

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

Represents aadded_to_project_v2event on a given issue or pull request.

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

Represents anassignedevent on any assignable object.

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

Represents ablocked_by_addedevent on a given issue.

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

Represents ablocked_by_removedevent on a given issue.

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

Represents ablocking_addedevent on a given issue.

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

Represents ablocking_removedevent on a given issue.

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

Represents aclosedevent on any Closable.

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

Represents acomment_deletedevent on a given issue or pull request.

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

Represents aconnectedevent on a given issue or pull request.

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

Represents aconverted_from_draftevent on a given issue or pull request.

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

Represents aconverted_note_to_issueevent on a given issue or pull request.

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

Represents aconverted_to_discussionevent on a given issue.

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

Represents a mention made by one issue or pull request to another.

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

Represents ademilestonedevent on a given issue or pull request.

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

Represents adisconnectedevent on a given issue or pull request.

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

Represents a comment on an Issue.

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

Represents aissue_comment_pinnedevent on a given issue.

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

Represents aissue_comment_unpinnedevent on a given issue.

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

Represents aissue_field_addedevent on a given issue.

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

Represents aissue_field_changedevent on a given issue.

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

Represents aissue_field_removedevent on a given issue.

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

Represents aissue_type_addedevent on a given issue.

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

Represents aissue_type_changedevent on a given issue.

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

Represents aissue_type_removedevent on a given issue.

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

Represents alabeledevent on a given issue or pull request.

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

Represents alockedevent on a given issue or pull request.

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

Represents amarked_as_duplicateevent on a given issue or pull request.

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

Represents amentionedevent on a given issue or pull request.

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

Represents amilestonedevent on a given issue or pull request.

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

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

" }, { - "name": "ORG_ONLY", - "description": "

Org Only.

" - } - ], - "category": "issues" - }, - { - "name": "IssueOrderField", - "id": "issueorderfield", - "href": "/graphql/reference/issues#enum-issueorderfield", - "description": "

Properties by which issue connections can be ordered.

", - "isDeprecated": false, - "values": [ + "name": "PINNED_EVENT", + "description": "

Represents apinnedevent on a given issue or pull request.

" + }, { - "name": "COMMENTS", - "description": "

Order issues by comment count.

" + "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", + "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" }, { - "name": "CREATED_AT", - "description": "

Order issues by creation time.

" + "name": "REFERENCED_EVENT", + "description": "

Represents areferencedevent on a given ReferencedSubject.

" }, { - "name": "UPDATED_AT", - "description": "

Order issues by update time.

" - } - ], - "category": "issues" - }, - { - "name": "IssueSearchType", - "id": "issuesearchtype", - "href": "/graphql/reference/issues#enum-issuesearchtype", - "description": "

Type of issue search performed.

", - "isDeprecated": false, - "values": [ + "name": "REMOVED_FROM_PROJECT_EVENT", + "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" + }, { - "name": "HYBRID", - "description": "

Hybrid search combining lexical and semantic approaches.

" + "name": "REMOVED_FROM_PROJECT_V2_EVENT", + "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

" }, { - "name": "LEXICAL", - "description": "

Lexical (keyword-based) search.

" + "name": "RENAMED_TITLE_EVENT", + "description": "

Represents arenamedevent on a given issue or pull request.

" }, { - "name": "SEMANTIC", - "description": "

Semantic (meaning-based) search using embeddings.

" - } - ], - "category": "issues" - }, - { - "name": "IssueState", - "id": "issuestate", - "href": "/graphql/reference/issues#enum-issuestate", - "description": "

The possible states of an issue.

", - "isDeprecated": false, - "values": [ + "name": "REOPENED_EVENT", + "description": "

Represents areopenedevent on any Closable.

" + }, { - "name": "CLOSED", - "description": "

An issue that has been closed.

" + "name": "SUBSCRIBED_EVENT", + "description": "

Represents asubscribedevent on a given Subscribable.

" }, { - "name": "OPEN", - "description": "

An issue that is still open.

" - } - ], - "category": "issues" - }, - { - "name": "IssueStateReason", - "id": "issuestatereason", - "href": "/graphql/reference/issues#enum-issuestatereason", - "description": "

The possible state reasons of an issue.

", - "isDeprecated": false, - "values": [ + "name": "SUB_ISSUE_ADDED_EVENT", + "description": "

Represents asub_issue_addedevent on a given issue.

" + }, { - "name": "COMPLETED", - "description": "

An issue that has been closed as completed.

" + "name": "SUB_ISSUE_REMOVED_EVENT", + "description": "

Represents asub_issue_removedevent on a given issue.

" }, { - "name": "DUPLICATE", - "description": "

An issue that has been closed as a duplicate.

" + "name": "TRANSFERRED_EVENT", + "description": "

Represents atransferredevent on a given issue or pull request.

" }, { - "name": "NOT_PLANNED", - "description": "

An issue that has been closed as not planned.

" + "name": "UNASSIGNED_EVENT", + "description": "

Represents anunassignedevent on any assignable object.

" }, { - "name": "REOPENED", - "description": "

An issue that has been reopened.

" + "name": "UNLABELED_EVENT", + "description": "

Represents anunlabeledevent on a given issue or pull request.

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

Represents anunlockedevent on a given issue or pull request.

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

Represents anunmarked_as_duplicateevent on a given issue or pull request.

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

Represents anunpinnedevent on a given issue or pull request.

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

Represents anunsubscribedevent on a given Subscribable.

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

Represents auser_blockedevent on a given user.

" } ], "category": "issues" @@ -9661,6 +10355,36 @@ ], "category": "issues" }, + { + "name": "PendingIssueSuggestionKind", + "id": "pendingissuesuggestionkind", + "href": "/graphql/reference/issues#enum-pendingissuesuggestionkind", + "description": "

The kind of pending issue suggestion being applied.

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

Add the suggested assignee to the issue.

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

Close the issue with the suggested state reason (and duplicate target, when applicable).

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

Set the suggested issue field value on the issue.

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

Add the suggested label to the issue.

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

Set the issue's type to the suggested issue type.

" + } + ], + "category": "issues" + }, { "name": "TrackedIssueStates", "id": "trackedissuestates", @@ -9736,6 +10460,61 @@ ], "category": "issues" }, + { + "name": "IssueEventWithRationale", + "id": "issueeventwithrationale", + "href": "/graphql/reference/issues#union-issueeventwithrationale", + "description": "

An issue timeline event that may have an associated rationale.

", + "isDeprecated": false, + "possibleTypes": [ + { + "name": "ClosedEvent", + "id": "closedevent", + "href": "/graphql/reference/issues#object-closedevent" + }, + { + "name": "IssueFieldAddedEvent", + "id": "issuefieldaddedevent", + "href": "/graphql/reference/issues#object-issuefieldaddedevent" + }, + { + "name": "IssueFieldChangedEvent", + "id": "issuefieldchangedevent", + "href": "/graphql/reference/issues#object-issuefieldchangedevent" + }, + { + "name": "IssueFieldRemovedEvent", + "id": "issuefieldremovedevent", + "href": "/graphql/reference/issues#object-issuefieldremovedevent" + }, + { + "name": "IssueTypeAddedEvent", + "id": "issuetypeaddedevent", + "href": "/graphql/reference/issues#object-issuetypeaddedevent" + }, + { + "name": "IssueTypeChangedEvent", + "id": "issuetypechangedevent", + "href": "/graphql/reference/issues#object-issuetypechangedevent" + }, + { + "name": "IssueTypeRemovedEvent", + "id": "issuetyperemovedevent", + "href": "/graphql/reference/issues#object-issuetyperemovedevent" + }, + { + "name": "LabeledEvent", + "id": "labeledevent", + "href": "/graphql/reference/issues#object-labeledevent" + }, + { + "name": "UnlabeledEvent", + "id": "unlabeledevent", + "href": "/graphql/reference/issues#object-unlabeledevent" + } + ], + "category": "issues" + }, { "name": "IssueFieldValue", "id": "issuefieldvalue", @@ -10216,6 +10995,41 @@ ], "category": "issues" }, + { + "name": "PendingIssueSuggestion", + "id": "pendingissuesuggestion", + "href": "/graphql/reference/issues#union-pendingissuesuggestion", + "description": "

A pending suggestion for an issue. May target the issue's type, labels, field values, assignees, or close state.

", + "isDeprecated": false, + "possibleTypes": [ + { + "name": "PendingAssigneeSuggestion", + "id": "pendingassigneesuggestion", + "href": "/graphql/reference/issues#object-pendingassigneesuggestion" + }, + { + "name": "PendingCloseSuggestion", + "id": "pendingclosesuggestion", + "href": "/graphql/reference/issues#object-pendingclosesuggestion" + }, + { + "name": "PendingFieldSuggestion", + "id": "pendingfieldsuggestion", + "href": "/graphql/reference/issues#object-pendingfieldsuggestion" + }, + { + "name": "PendingLabelSuggestion", + "id": "pendinglabelsuggestion", + "href": "/graphql/reference/issues#object-pendinglabelsuggestion" + }, + { + "name": "PendingTypeSuggestion", + "id": "pendingtypesuggestion", + "href": "/graphql/reference/issues#object-pendingtypesuggestion" + } + ], + "category": "issues" + }, { "name": "ReferencedSubject", "id": "referencedsubject", @@ -10452,6 +11266,45 @@ ], "category": "issues" }, + { + "name": "ApplyPendingIssueSuggestionsInput", + "id": "applypendingissuesuggestionsinput", + "href": "/graphql/reference/issues#input-object-applypendingissuesuggestionsinput", + "description": "

Autogenerated input type of ApplyPendingIssueSuggestions.

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

The ID of the actor whose suggestions to apply.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id", + "isDeprecated": false + }, + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "issueId", + "description": "

The ID of the issue the suggestions apply to.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id", + "isDeprecated": false + }, + { + "name": "suggestions", + "description": "

The pending suggestions to apply.

", + "type": "[PendingIssueSuggestionRef!]!", + "id": "pendingissuesuggestionref", + "href": "/graphql/reference/issues#input-object-pendingissuesuggestionref" + } + ], + "category": "issues" + }, { "name": "AssigneeUpdateInput", "id": "assigneeupdateinput", @@ -11655,6 +12508,51 @@ ], "category": "issues" }, + { + "name": "PendingIssueSuggestionRef", + "id": "pendingissuesuggestionref", + "href": "/graphql/reference/issues#input-object-pendingissuesuggestionref", + "description": "

A reference to a single pending issue suggestion to apply.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "assigneeId", + "description": "

The ID of the suggested assignee. Required when kind is ASSIGNEE.

", + "type": "ID", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "issueFieldId", + "description": "

The ID of the suggested issue field. Required when kind is FIELD.

", + "type": "ID", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "issueTypeId", + "description": "

The ID of the suggested issue type. Required when kind is TYPE.

", + "type": "ID", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "kind", + "description": "

The kind of suggestion to apply.

", + "type": "PendingIssueSuggestionKind!", + "id": "pendingissuesuggestionkind", + "href": "/graphql/reference/issues#enum-pendingissuesuggestionkind" + }, + { + "name": "labelId", + "description": "

The ID of the suggested label. Required when kind is LABEL.

", + "type": "ID", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + } + ], + "category": "issues" + }, { "name": "PinIssueCommentInput", "id": "pinissuecommentinput", @@ -11703,6 +12601,45 @@ ], "category": "issues" }, + { + "name": "RejectPendingIssueSuggestionsInput", + "id": "rejectpendingissuesuggestionsinput", + "href": "/graphql/reference/issues#input-object-rejectpendingissuesuggestionsinput", + "description": "

Autogenerated input type of RejectPendingIssueSuggestions.

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

The ID of the actor whose suggestions to reject.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id", + "isDeprecated": false + }, + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "issueId", + "description": "

The ID of the issue the suggestions apply to.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id", + "isDeprecated": false + }, + { + "name": "suggestions", + "description": "

The pending suggestions to reject. All are rejected atomically; any failure rolls back the entire batch.

", + "type": "[PendingIssueSuggestionRef!]!", + "id": "pendingissuesuggestionref", + "href": "/graphql/reference/issues#input-object-pendingissuesuggestionref" + } + ], + "category": "issues" + }, { "name": "RemoveAssigneesFromAssignableInput", "id": "removeassigneesfromassignableinput", diff --git a/src/graphql/data/ghec/schema-other.json b/src/graphql/data/ghec/schema-other.json index 1986229f022c..ee4ed38c6d29 100644 --- a/src/graphql/data/ghec/schema-other.json +++ b/src/graphql/data/ghec/schema-other.json @@ -20,6 +20,43 @@ } ], "objects": [ + { + "name": "IssueEventRationale", + "id": "issueeventrationale", + "href": "/graphql/reference/other#object-issueeventrationale", + "description": "

Rationale text associated with an issue timeline event.

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

The agent or user who produced the rationale.

", + "type": "Actor", + "id": "actor", + "href": "/graphql/reference/users#interface-actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the rationale was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/other#scalar-datetime" + }, + { + "name": "issueEvent", + "description": "

The issue timeline event this rationale is associated with.

", + "type": "IssueEventWithRationale", + "id": "issueeventwithrationale", + "href": "/graphql/reference/issues#union-issueeventwithrationale" + }, + { + "name": "rationale", + "description": "

The reasoning or explanation text for the event.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + } + ], + "category": "other" + }, { "name": "PageInfo", "id": "pageinfo", @@ -58,913 +95,6 @@ "category": "other" } ], - "enums": [ - { - "name": "IssueTimelineItemsItemType", - "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_V2_EVENT", - "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "BLOCKED_BY_ADDED_EVENT", - "description": "

Represents ablocked_by_addedevent on a given issue.

" - }, - { - "name": "BLOCKED_BY_REMOVED_EVENT", - "description": "

Represents ablocked_by_removedevent on a given issue.

" - }, - { - "name": "BLOCKING_ADDED_EVENT", - "description": "

Represents ablocking_addedevent on a given issue.

" - }, - { - "name": "BLOCKING_REMOVED_EVENT", - "description": "

Represents ablocking_removedevent on a given issue.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_FROM_DRAFT_EVENT", - "description": "

Represents aconverted_from_draftevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "ISSUE_COMMENT_PINNED_EVENT", - "description": "

Represents aissue_comment_pinnedevent on a given issue.

" - }, - { - "name": "ISSUE_COMMENT_UNPINNED_EVENT", - "description": "

Represents aissue_comment_unpinnedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_ADDED_EVENT", - "description": "

Represents aissue_field_addedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_CHANGED_EVENT", - "description": "

Represents aissue_field_changedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_REMOVED_EVENT", - "description": "

Represents aissue_field_removedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_ADDED_EVENT", - "description": "

Represents aissue_type_addedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_CHANGED_EVENT", - "description": "

Represents aissue_type_changedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_REMOVED_EVENT", - "description": "

Represents aissue_type_removedevent on a given issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", - "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_V2_EVENT", - "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "PullRequestTimelineItemsItemType", - "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_MERGE_QUEUE_EVENT", - "description": "

Represents anadded_to_merge_queueevent on a given pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_V2_EVENT", - "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

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

Represents anarchivedevent on a given pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_FAILED_EVENT", - "description": "

Represents aautomatic_base_change_failedevent on a given pull request.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT", - "description": "

Represents aautomatic_base_change_succeededevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_DISABLED_EVENT", - "description": "

Represents aauto_merge_disabledevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_ENABLED_EVENT", - "description": "

Represents aauto_merge_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_REBASE_ENABLED_EVENT", - "description": "

Represents aauto_rebase_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_SQUASH_ENABLED_EVENT", - "description": "

Represents aauto_squash_enabledevent on a given pull request.

" - }, - { - "name": "BASE_REF_CHANGED_EVENT", - "description": "

Represents abase_ref_changedevent on a given issue or pull request.

" - }, - { - "name": "BASE_REF_DELETED_EVENT", - "description": "

Represents abase_ref_deletedevent on a given pull request.

" - }, - { - "name": "BASE_REF_FORCE_PUSHED_EVENT", - "description": "

Represents abase_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "BLOCKED_BY_ADDED_EVENT", - "description": "

Represents ablocked_by_addedevent on a given issue.

" - }, - { - "name": "BLOCKED_BY_REMOVED_EVENT", - "description": "

Represents ablocked_by_removedevent on a given issue.

" - }, - { - "name": "BLOCKING_ADDED_EVENT", - "description": "

Represents ablocking_addedevent on a given issue.

" - }, - { - "name": "BLOCKING_REMOVED_EVENT", - "description": "

Represents ablocking_removedevent on a given issue.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_FROM_DRAFT_EVENT", - "description": "

Represents aconverted_from_draftevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CONVERT_TO_DRAFT_EVENT", - "description": "

Represents aconvert_to_draftevent on a given pull request.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DEPLOYED_EVENT", - "description": "

Represents adeployedevent on a given pull request.

" - }, - { - "name": "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT", - "description": "

Represents adeployment_environment_changedevent on a given pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "HEAD_REF_DELETED_EVENT", - "description": "

Represents ahead_ref_deletedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_FORCE_PUSHED_EVENT", - "description": "

Represents ahead_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_RESTORED_EVENT", - "description": "

Represents ahead_ref_restoredevent on a given pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "ISSUE_COMMENT_PINNED_EVENT", - "description": "

Represents aissue_comment_pinnedevent on a given issue.

" - }, - { - "name": "ISSUE_COMMENT_UNPINNED_EVENT", - "description": "

Represents aissue_comment_unpinnedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_ADDED_EVENT", - "description": "

Represents aissue_field_addedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_CHANGED_EVENT", - "description": "

Represents aissue_field_changedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_REMOVED_EVENT", - "description": "

Represents aissue_field_removedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_ADDED_EVENT", - "description": "

Represents aissue_type_addedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_CHANGED_EVENT", - "description": "

Represents aissue_type_changedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_REMOVED_EVENT", - "description": "

Represents aissue_type_removedevent on a given issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MERGED_EVENT", - "description": "

Represents amergedevent on a given pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", - "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT", - "description": "

Represents a Git commit part of a pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT_COMMENT_THREAD", - "description": "

Represents a commit comment thread part of a pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW", - "description": "

A review object for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW_THREAD", - "description": "

A threaded list of comments for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVISION_MARKER", - "description": "

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

" - }, - { - "name": "READY_FOR_REVIEW_EVENT", - "description": "

Represents aready_for_reviewevent on a given pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_MERGE_QUEUE_EVENT", - "description": "

Represents aremoved_from_merge_queueevent on a given pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_V2_EVENT", - "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "REVIEW_DISMISSED_EVENT", - "description": "

Represents areview_dismissedevent on a given issue or pull request.

" - }, - { - "name": "REVIEW_REQUESTED_EVENT", - "description": "

Represents anreview_requestedevent on a given pull request.

" - }, - { - "name": "REVIEW_REQUEST_REMOVED_EVENT", - "description": "

Represents anreview_request_removedevent on a given pull request.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNARCHIVED_EVENT", - "description": "

Represents anunarchivedevent on a given pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "RepositoryRuleType", - "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype", - "description": "

The rule types supported in rulesets.

", - "values": [ - { - "name": "AUTHORIZATION", - "description": "

Authorization.

" - }, - { - "name": "BRANCH_NAME_PATTERN", - "description": "

Branch name pattern.

" - }, - { - "name": "CODE_SCANNING", - "description": "

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

" - }, - { - "name": "COMMITTER_EMAIL_PATTERN", - "description": "

Committer email pattern.

" - }, - { - "name": "COMMIT_AUTHOR_EMAIL_PATTERN", - "description": "

Commit author email pattern.

" - }, - { - "name": "COMMIT_MESSAGE_PATTERN", - "description": "

Commit message pattern.

" - }, - { - "name": "COPILOT_CODE_REVIEW", - "description": "

Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.

" - }, - { - "name": "CREATION", - "description": "

Only allow users with bypass permission to create matching refs.

" - }, - { - "name": "DELETION", - "description": "

Only allow users with bypass permissions to delete matching refs.

" - }, - { - "name": "FILE_EXTENSION_RESTRICTION", - "description": "

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

" - }, - { - "name": "FILE_PATH_RESTRICTION", - "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

" - }, - { - "name": "LICENSE_COMPLIANCE_SCANNING", - "description": "

Enforce any added or changed dependencies to comply with the organization's license policy.

" - }, - { - "name": "LOCK_BRANCH", - "description": "

Branch is read-only. Users cannot push to the branch.

" - }, - { - "name": "MAX_FILE_PATH_LENGTH", - "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_FILE_SIZE", - "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_REF_UPDATES", - "description": "

Max ref updates.

" - }, - { - "name": "MERGE_QUEUE", - "description": "

Merges must be performed via a merge queue.

" - }, - { - "name": "MERGE_QUEUE_LOCKED_REF", - "description": "

Merge queue locked ref.

" - }, - { - "name": "NON_FAST_FORWARD", - "description": "

Prevent users with push access from force pushing to refs.

" - }, - { - "name": "PULL_REQUEST", - "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

" - }, - { - "name": "REQUIRED_DEPLOYMENTS", - "description": "

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

" - }, - { - "name": "REQUIRED_LINEAR_HISTORY", - "description": "

Prevent merge commits from being pushed to matching refs.

" - }, - { - "name": "REQUIRED_REVIEW_THREAD_RESOLUTION", - "description": "

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

" - }, - { - "name": "REQUIRED_SIGNATURES", - "description": "

Commits pushed to matching refs must have verified signatures.

" - }, - { - "name": "REQUIRED_STATUS_CHECKS", - "description": "

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

" - }, - { - "name": "REQUIRED_WORKFLOW_STATUS_CHECKS", - "description": "

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

" - }, - { - "name": "SECRET_SCANNING", - "description": "

Secret scanning.

" - }, - { - "name": "TAG", - "description": "

Tag.

" - }, - { - "name": "TAG_NAME_PATTERN", - "description": "

Tag name pattern.

" - }, - { - "name": "UPDATE", - "description": "

Only allow users with bypass permission to update matching refs.

" - }, - { - "name": "WORKFLOWS", - "description": "

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

" - }, - { - "name": "WORKFLOW_UPDATES", - "description": "

Workflow files cannot be modified.

" - } - ], - "category": "other" - } - ], - "unions": [ - { - "name": "RuleParameters", - "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters", - "description": "

Types which can be parameters for RepositoryRule objects.

", - "possibleTypes": [ - { - "name": "BranchNamePatternParameters", - "id": "branchnamepatternparameters", - "href": "/graphql/reference/branches#object-branchnamepatternparameters" - }, - { - "name": "CodeScanningParameters", - "id": "codescanningparameters", - "href": "/graphql/reference/repos#object-codescanningparameters" - }, - { - "name": "CommitAuthorEmailPatternParameters", - "id": "commitauthoremailpatternparameters", - "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" - }, - { - "name": "CommitMessagePatternParameters", - "id": "commitmessagepatternparameters", - "href": "/graphql/reference/commits#object-commitmessagepatternparameters" - }, - { - "name": "CommitterEmailPatternParameters", - "id": "committeremailpatternparameters", - "href": "/graphql/reference/commits#object-committeremailpatternparameters" - }, - { - "name": "CopilotCodeReviewParameters", - "id": "copilotcodereviewparameters", - "href": "/graphql/reference/pulls#object-copilotcodereviewparameters" - }, - { - "name": "FileExtensionRestrictionParameters", - "id": "fileextensionrestrictionparameters", - "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" - }, - { - "name": "FilePathRestrictionParameters", - "id": "filepathrestrictionparameters", - "href": "/graphql/reference/repos#object-filepathrestrictionparameters" - }, - { - "name": "MaxFilePathLengthParameters", - "id": "maxfilepathlengthparameters", - "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" - }, - { - "name": "MaxFileSizeParameters", - "id": "maxfilesizeparameters", - "href": "/graphql/reference/repos#object-maxfilesizeparameters" - }, - { - "name": "MergeQueueParameters", - "id": "mergequeueparameters", - "href": "/graphql/reference/pulls#object-mergequeueparameters" - }, - { - "name": "PullRequestParameters", - "id": "pullrequestparameters", - "href": "/graphql/reference/pulls#object-pullrequestparameters" - }, - { - "name": "RequiredDeploymentsParameters", - "id": "requireddeploymentsparameters", - "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" - }, - { - "name": "RequiredStatusChecksParameters", - "id": "requiredstatuschecksparameters", - "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" - }, - { - "name": "TagNamePatternParameters", - "id": "tagnamepatternparameters", - "href": "/graphql/reference/repos#object-tagnamepatternparameters" - }, - { - "name": "UpdateParameters", - "id": "updateparameters", - "href": "/graphql/reference/repos#object-updateparameters" - }, - { - "name": "WorkflowsParameters", - "id": "workflowsparameters", - "href": "/graphql/reference/actions#object-workflowsparameters" - } - ], - "category": "other" - } - ], - "inputObjects": [ - { - "name": "RuleParametersInput", - "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput", - "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

", - "inputFields": [ - { - "name": "branchNamePattern", - "description": "

Parameters used for the branch_name_pattern rule type.

", - "type": "BranchNamePatternParametersInput", - "id": "branchnamepatternparametersinput", - "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" - }, - { - "name": "codeScanning", - "description": "

Parameters used for the code_scanning rule type.

", - "type": "CodeScanningParametersInput", - "id": "codescanningparametersinput", - "href": "/graphql/reference/repos#input-object-codescanningparametersinput" - }, - { - "name": "commitAuthorEmailPattern", - "description": "

Parameters used for the commit_author_email_pattern rule type.

", - "type": "CommitAuthorEmailPatternParametersInput", - "id": "commitauthoremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" - }, - { - "name": "commitMessagePattern", - "description": "

Parameters used for the commit_message_pattern rule type.

", - "type": "CommitMessagePatternParametersInput", - "id": "commitmessagepatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" - }, - { - "name": "committerEmailPattern", - "description": "

Parameters used for the committer_email_pattern rule type.

", - "type": "CommitterEmailPatternParametersInput", - "id": "committeremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" - }, - { - "name": "copilotCodeReview", - "description": "

Parameters used for the copilot_code_review rule type.

", - "type": "CopilotCodeReviewParametersInput", - "id": "copilotcodereviewparametersinput", - "href": "/graphql/reference/pulls#input-object-copilotcodereviewparametersinput" - }, - { - "name": "fileExtensionRestriction", - "description": "

Parameters used for the file_extension_restriction rule type.

", - "type": "FileExtensionRestrictionParametersInput", - "id": "fileextensionrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" - }, - { - "name": "filePathRestriction", - "description": "

Parameters used for the file_path_restriction rule type.

", - "type": "FilePathRestrictionParametersInput", - "id": "filepathrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" - }, - { - "name": "maxFilePathLength", - "description": "

Parameters used for the max_file_path_length rule type.

", - "type": "MaxFilePathLengthParametersInput", - "id": "maxfilepathlengthparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" - }, - { - "name": "maxFileSize", - "description": "

Parameters used for the max_file_size rule type.

", - "type": "MaxFileSizeParametersInput", - "id": "maxfilesizeparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" - }, - { - "name": "mergeQueue", - "description": "

Parameters used for the merge_queue rule type.

", - "type": "MergeQueueParametersInput", - "id": "mergequeueparametersinput", - "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" - }, - { - "name": "pullRequest", - "description": "

Parameters used for the pull_request rule type.

", - "type": "PullRequestParametersInput", - "id": "pullrequestparametersinput", - "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" - }, - { - "name": "requiredDeployments", - "description": "

Parameters used for the required_deployments rule type.

", - "type": "RequiredDeploymentsParametersInput", - "id": "requireddeploymentsparametersinput", - "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" - }, - { - "name": "requiredStatusChecks", - "description": "

Parameters used for the required_status_checks rule type.

", - "type": "RequiredStatusChecksParametersInput", - "id": "requiredstatuschecksparametersinput", - "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" - }, - { - "name": "tagNamePattern", - "description": "

Parameters used for the tag_name_pattern rule type.

", - "type": "TagNamePatternParametersInput", - "id": "tagnamepatternparametersinput", - "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" - }, - { - "name": "update", - "description": "

Parameters used for the update rule type.

", - "type": "UpdateParametersInput", - "id": "updateparametersinput", - "href": "/graphql/reference/repos#input-object-updateparametersinput" - }, - { - "name": "workflows", - "description": "

Parameters used for the workflows rule type.

", - "type": "WorkflowsParametersInput", - "id": "workflowsparametersinput", - "href": "/graphql/reference/actions#input-object-workflowsparametersinput" - } - ], - "category": "other" - } - ], "scalars": [ { "name": "Base64String", diff --git a/src/graphql/data/ghec/schema-pulls.json b/src/graphql/data/ghec/schema-pulls.json index c1dbeda072ef..30bf004153a7 100644 --- a/src/graphql/data/ghec/schema-pulls.json +++ b/src/graphql/data/ghec/schema-pulls.json @@ -4039,6 +4039,20 @@ } ] }, + { + "name": "stack", + "description": "

The stack this Pull Request belongs to, or null if it is not part of a stack.

", + "type": "PullRequestStack", + "id": "pullrequeststack", + "href": "/graphql/reference/pulls#object-pullrequeststack" + }, + { + "name": "stackEntry", + "description": "

The stack entry for this Pull Request, or null if it is not part of a stack.

", + "type": "PullRequestStackEntry", + "id": "pullrequeststackentry", + "href": "/graphql/reference/pulls#object-pullrequeststackentry" + }, { "name": "state", "description": "

Identifies the state of the pull request.

", @@ -4264,7 +4278,7 @@ "type": { "name": "[PullRequestTimelineItemsItemType!]", "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype" + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype" } }, { @@ -6574,6 +6588,201 @@ ], "category": "pulls" }, + { + "name": "PullRequestStack", + "id": "pullrequeststack", + "href": "/graphql/reference/pulls#object-pullrequeststack", + "description": "

A stack of PullRequests.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/meta#interface-node" + } + ], + "fields": [ + { + "name": "baseRefName", + "description": "

The branch that the stack's pull requests target.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "entries", + "description": "

The entries in the stack.

", + "type": "PullRequestStackEntryConnection!", + "id": "pullrequeststackentryconnection", + "href": "/graphql/reference/pulls#object-pullrequeststackentryconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + } + } + ] + }, + { + "name": "id", + "description": "

The Node ID of the PullRequestStack object.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "number", + "description": "

A number uniquely identifying the stack within its repository.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + }, + { + "name": "size", + "description": "

The total number of pull requests in the stack.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + } + ], + "category": "pulls" + }, + { + "name": "PullRequestStackEntry", + "id": "pullrequeststackentry", + "href": "/graphql/reference/pulls#object-pullrequeststackentry", + "description": "

A member of a PullRequestStack.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/meta#interface-node" + } + ], + "fields": [ + { + "name": "id", + "description": "

The Node ID of the PullRequestStackEntry object.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/other#scalar-id" + }, + { + "name": "position", + "description": "

This entry's position in the stack, where 1 is the closest to the base branch, 2 is stacked on top of 1, etc.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + }, + { + "name": "pullRequest", + "description": "

The pull request that occupies this position in the stack.

", + "type": "PullRequest", + "id": "pullrequest", + "href": "/graphql/reference/pulls#object-pullrequest" + }, + { + "name": "stack", + "description": "

The stack that this entry is a part of.

", + "type": "PullRequestStack", + "id": "pullrequeststack", + "href": "/graphql/reference/pulls#object-pullrequeststack" + } + ], + "category": "pulls" + }, + { + "name": "PullRequestStackEntryConnection", + "id": "pullrequeststackentryconnection", + "href": "/graphql/reference/pulls#object-pullrequeststackentryconnection", + "description": "

Entries in a pull request stack.

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

A list of edges.

", + "type": "[PullRequestStackEntryEdge]", + "id": "pullrequeststackentryedge", + "href": "/graphql/reference/pulls#object-pullrequeststackentryedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[PullRequestStackEntry]", + "id": "pullrequeststackentry", + "href": "/graphql/reference/pulls#object-pullrequeststackentry" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

", + "type": "PageInfo!", + "id": "pageinfo", + "href": "/graphql/reference/other#object-pageinfo" + }, + { + "name": "totalCount", + "description": "

Identifies the total count of items in the connection.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/other#scalar-int" + } + ], + "category": "pulls" + }, + { + "name": "PullRequestStackEntryEdge", + "id": "pullrequeststackentryedge", + "href": "/graphql/reference/pulls#object-pullrequeststackentryedge", + "description": "

An edge in a connection.

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

A cursor for use in pagination.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "node", + "description": "

The item at the end of the edge.

", + "type": "PullRequestStackEntry", + "id": "pullrequeststackentry", + "href": "/graphql/reference/pulls#object-pullrequeststackentry" + } + ], + "category": "pulls" + }, { "name": "PullRequestTemplate", "id": "pullrequesttemplate", @@ -8140,6 +8349,335 @@ ], "category": "pulls" }, + { + "name": "PullRequestTimelineItemsItemType", + "id": "pullrequesttimelineitemsitemtype", + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_MERGE_QUEUE_EVENT", + "description": "

Represents anadded_to_merge_queueevent on a given pull request.

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

Represents aadded_to_projectevent on a given issue or pull request.

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

Represents aadded_to_project_v2event on a given issue or pull request.

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

Represents anarchivedevent on a given pull request.

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

Represents anassignedevent on any assignable object.

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

Represents aautomatic_base_change_failedevent on a given pull request.

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

Represents aautomatic_base_change_succeededevent on a given pull request.

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

Represents aauto_merge_disabledevent on a given pull request.

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

Represents aauto_merge_enabledevent on a given pull request.

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

Represents aauto_rebase_enabledevent on a given pull request.

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

Represents aauto_squash_enabledevent on a given pull request.

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

Represents abase_ref_changedevent on a given issue or pull request.

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

Represents abase_ref_deletedevent on a given pull request.

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

Represents abase_ref_force_pushedevent on a given pull request.

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

Represents ablocked_by_addedevent on a given issue.

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

Represents ablocked_by_removedevent on a given issue.

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

Represents ablocking_addedevent on a given issue.

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

Represents ablocking_removedevent on a given issue.

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

Represents aclosedevent on any Closable.

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

Represents acomment_deletedevent on a given issue or pull request.

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

Represents aconnectedevent on a given issue or pull request.

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

Represents aconverted_from_draftevent on a given issue or pull request.

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

Represents aconverted_note_to_issueevent on a given issue or pull request.

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

Represents aconverted_to_discussionevent on a given issue.

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

Represents aconvert_to_draftevent on a given pull request.

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

Represents a mention made by one issue or pull request to another.

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

Represents ademilestonedevent on a given issue or pull request.

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

Represents adeployedevent on a given pull request.

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

Represents adeployment_environment_changedevent on a given pull request.

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

Represents adisconnectedevent on a given issue or pull request.

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

Represents ahead_ref_deletedevent on a given pull request.

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

Represents ahead_ref_force_pushedevent on a given pull request.

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

Represents ahead_ref_restoredevent on a given pull request.

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

Represents a comment on an Issue.

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

Represents aissue_comment_pinnedevent on a given issue.

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

Represents aissue_comment_unpinnedevent on a given issue.

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

Represents aissue_field_addedevent on a given issue.

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

Represents aissue_field_changedevent on a given issue.

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

Represents aissue_field_removedevent on a given issue.

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

Represents aissue_type_addedevent on a given issue.

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

Represents aissue_type_changedevent on a given issue.

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

Represents aissue_type_removedevent on a given issue.

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

Represents alabeledevent on a given issue or pull request.

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

Represents alockedevent on a given issue or pull request.

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

Represents amarked_as_duplicateevent on a given issue or pull request.

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

Represents amentionedevent on a given issue or pull request.

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

Represents amergedevent on a given pull request.

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

Represents amilestonedevent on a given issue or pull request.

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

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

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

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

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

Represents a Git commit part of a pull request.

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

Represents a commit comment thread part of a pull request.

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

A review object for a given pull request.

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

A threaded list of comments for a given pull request.

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

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

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

Represents aready_for_reviewevent on a given pull request.

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

Represents areferencedevent on a given ReferencedSubject.

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

Represents aremoved_from_merge_queueevent on a given pull request.

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

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents aremoved_from_project_v2event on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

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

Represents areopenedevent on any Closable.

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

Represents areview_dismissedevent on a given issue or pull request.

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

Represents anreview_requestedevent on a given pull request.

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

Represents anreview_request_removedevent on a given pull request.

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

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

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

Represents anunarchivedevent on a given pull request.

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

Represents anunassignedevent on any assignable object.

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

Represents anunlabeledevent on a given issue or pull request.

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

Represents anunlockedevent on a given issue or pull request.

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

Represents anunmarked_as_duplicateevent on a given issue or pull request.

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

Represents anunpinnedevent on a given issue or pull request.

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

Represents anunsubscribedevent on a given Subscribable.

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

Represents auser_blockedevent on a given user.

" + } + ], + "category": "pulls" + }, { "name": "PullRequestUpdateState", "id": "pullrequestupdatestate", diff --git a/src/graphql/data/ghec/schema-repos.json b/src/graphql/data/ghec/schema-repos.json index 35a58dd51966..4be97978010f 100644 --- a/src/graphql/data/ghec/schema-repos.json +++ b/src/graphql/data/ghec/schema-repos.json @@ -7119,7 +7119,7 @@ "description": "

The parameters for this rule.

", "type": "RuleParameters", "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters" + "href": "/graphql/reference/repos#union-ruleparameters" }, { "name": "repositoryRuleset", @@ -7133,7 +7133,7 @@ "description": "

The type of rule.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -7393,7 +7393,7 @@ "type": { "name": "RepositoryRuleType", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } } ] @@ -9356,6 +9356,143 @@ ], "category": "repos" }, + { + "name": "RepositoryRuleType", + "id": "repositoryruletype", + "href": "/graphql/reference/repos#enum-repositoryruletype", + "description": "

The rule types supported in rulesets.

", + "values": [ + { + "name": "AUTHORIZATION", + "description": "

Authorization.

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

Branch name pattern.

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

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

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

Committer email pattern.

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

Commit author email pattern.

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

Commit message pattern.

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

Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.

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

Only allow users with bypass permission to create matching refs.

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

Only allow users with bypass permissions to delete matching refs.

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

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

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

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

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

Enforce any added or changed dependencies to comply with the organization's license policy.

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

Branch is read-only. Users cannot push to the branch.

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

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

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

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

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

Max ref updates.

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

Merges must be performed via a merge queue.

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

Merge queue locked ref.

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

Prevent users with push access from force pushing to refs.

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

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

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

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

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

Prevent merge commits from being pushed to matching refs.

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

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

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

Commits pushed to matching refs must have verified signatures.

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

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

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

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

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

Secret scanning.

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

Tag.

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

Tag name pattern.

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

Only allow users with bypass permission to update matching refs.

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

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

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

Workflow files cannot be modified.

" + } + ], + "category": "repos" + }, { "name": "RepositoryRulesetBypassActorBypassMode", "id": "repositoryrulesetbypassactorbypassmode", @@ -9584,6 +9721,100 @@ ], "category": "repos" }, + { + "name": "RuleParameters", + "id": "ruleparameters", + "href": "/graphql/reference/repos#union-ruleparameters", + "description": "

Types which can be parameters for RepositoryRule objects.

", + "possibleTypes": [ + { + "name": "BranchNamePatternParameters", + "id": "branchnamepatternparameters", + "href": "/graphql/reference/branches#object-branchnamepatternparameters" + }, + { + "name": "CodeScanningParameters", + "id": "codescanningparameters", + "href": "/graphql/reference/repos#object-codescanningparameters" + }, + { + "name": "CommitAuthorEmailPatternParameters", + "id": "commitauthoremailpatternparameters", + "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" + }, + { + "name": "CommitMessagePatternParameters", + "id": "commitmessagepatternparameters", + "href": "/graphql/reference/commits#object-commitmessagepatternparameters" + }, + { + "name": "CommitterEmailPatternParameters", + "id": "committeremailpatternparameters", + "href": "/graphql/reference/commits#object-committeremailpatternparameters" + }, + { + "name": "CopilotCodeReviewParameters", + "id": "copilotcodereviewparameters", + "href": "/graphql/reference/pulls#object-copilotcodereviewparameters" + }, + { + "name": "FileExtensionRestrictionParameters", + "id": "fileextensionrestrictionparameters", + "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" + }, + { + "name": "FilePathRestrictionParameters", + "id": "filepathrestrictionparameters", + "href": "/graphql/reference/repos#object-filepathrestrictionparameters" + }, + { + "name": "MaxFilePathLengthParameters", + "id": "maxfilepathlengthparameters", + "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" + }, + { + "name": "MaxFileSizeParameters", + "id": "maxfilesizeparameters", + "href": "/graphql/reference/repos#object-maxfilesizeparameters" + }, + { + "name": "MergeQueueParameters", + "id": "mergequeueparameters", + "href": "/graphql/reference/pulls#object-mergequeueparameters" + }, + { + "name": "PullRequestParameters", + "id": "pullrequestparameters", + "href": "/graphql/reference/pulls#object-pullrequestparameters" + }, + { + "name": "RequiredDeploymentsParameters", + "id": "requireddeploymentsparameters", + "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" + }, + { + "name": "RequiredStatusChecksParameters", + "id": "requiredstatuschecksparameters", + "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" + }, + { + "name": "TagNamePatternParameters", + "id": "tagnamepatternparameters", + "href": "/graphql/reference/repos#object-tagnamepatternparameters" + }, + { + "name": "UpdateParameters", + "id": "updateparameters", + "href": "/graphql/reference/repos#object-updateparameters" + }, + { + "name": "WorkflowsParameters", + "id": "workflowsparameters", + "href": "/graphql/reference/actions#object-workflowsparameters" + } + ], + "category": "repos" + }, { "name": "RuleSource", "id": "rulesource", @@ -10450,14 +10681,14 @@ "description": "

The parameters for the rule.

", "type": "RuleParametersInput", "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput" + "href": "/graphql/reference/repos#input-object-ruleparametersinput" }, { "name": "type", "description": "

The type of rule to create.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -10545,6 +10776,134 @@ ], "category": "repos" }, + { + "name": "RuleParametersInput", + "id": "ruleparametersinput", + "href": "/graphql/reference/repos#input-object-ruleparametersinput", + "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

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

Parameters used for the branch_name_pattern rule type.

", + "type": "BranchNamePatternParametersInput", + "id": "branchnamepatternparametersinput", + "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" + }, + { + "name": "codeScanning", + "description": "

Parameters used for the code_scanning rule type.

", + "type": "CodeScanningParametersInput", + "id": "codescanningparametersinput", + "href": "/graphql/reference/repos#input-object-codescanningparametersinput" + }, + { + "name": "commitAuthorEmailPattern", + "description": "

Parameters used for the commit_author_email_pattern rule type.

", + "type": "CommitAuthorEmailPatternParametersInput", + "id": "commitauthoremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" + }, + { + "name": "commitMessagePattern", + "description": "

Parameters used for the commit_message_pattern rule type.

", + "type": "CommitMessagePatternParametersInput", + "id": "commitmessagepatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" + }, + { + "name": "committerEmailPattern", + "description": "

Parameters used for the committer_email_pattern rule type.

", + "type": "CommitterEmailPatternParametersInput", + "id": "committeremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" + }, + { + "name": "copilotCodeReview", + "description": "

Parameters used for the copilot_code_review rule type.

", + "type": "CopilotCodeReviewParametersInput", + "id": "copilotcodereviewparametersinput", + "href": "/graphql/reference/pulls#input-object-copilotcodereviewparametersinput" + }, + { + "name": "fileExtensionRestriction", + "description": "

Parameters used for the file_extension_restriction rule type.

", + "type": "FileExtensionRestrictionParametersInput", + "id": "fileextensionrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" + }, + { + "name": "filePathRestriction", + "description": "

Parameters used for the file_path_restriction rule type.

", + "type": "FilePathRestrictionParametersInput", + "id": "filepathrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" + }, + { + "name": "maxFilePathLength", + "description": "

Parameters used for the max_file_path_length rule type.

", + "type": "MaxFilePathLengthParametersInput", + "id": "maxfilepathlengthparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" + }, + { + "name": "maxFileSize", + "description": "

Parameters used for the max_file_size rule type.

", + "type": "MaxFileSizeParametersInput", + "id": "maxfilesizeparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" + }, + { + "name": "mergeQueue", + "description": "

Parameters used for the merge_queue rule type.

", + "type": "MergeQueueParametersInput", + "id": "mergequeueparametersinput", + "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" + }, + { + "name": "pullRequest", + "description": "

Parameters used for the pull_request rule type.

", + "type": "PullRequestParametersInput", + "id": "pullrequestparametersinput", + "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" + }, + { + "name": "requiredDeployments", + "description": "

Parameters used for the required_deployments rule type.

", + "type": "RequiredDeploymentsParametersInput", + "id": "requireddeploymentsparametersinput", + "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" + }, + { + "name": "requiredStatusChecks", + "description": "

Parameters used for the required_status_checks rule type.

", + "type": "RequiredStatusChecksParametersInput", + "id": "requiredstatuschecksparametersinput", + "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" + }, + { + "name": "tagNamePattern", + "description": "

Parameters used for the tag_name_pattern rule type.

", + "type": "TagNamePatternParametersInput", + "id": "tagnamepatternparametersinput", + "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" + }, + { + "name": "update", + "description": "

Parameters used for the update rule type.

", + "type": "UpdateParametersInput", + "id": "updateparametersinput", + "href": "/graphql/reference/repos#input-object-updateparametersinput" + }, + { + "name": "workflows", + "description": "

Parameters used for the workflows rule type.

", + "type": "WorkflowsParametersInput", + "id": "workflowsparametersinput", + "href": "/graphql/reference/actions#input-object-workflowsparametersinput" + } + ], + "category": "repos" + }, { "name": "SetRepositoryCustomPropertyValuesInput", "id": "setrepositorycustompropertyvaluesinput", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 8c09df80abda..8111e562fc1a 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -1650,6 +1650,50 @@ type App implements Node @docsCategory(name: "apps") { url: URI! } +""" +Autogenerated input type of ApplyPendingIssueSuggestions +""" +input ApplyPendingIssueSuggestionsInput { + """ + The ID of the actor whose suggestions to apply. + """ + actorId: ID! + @possibleTypes( + concreteTypes: ["Bot", "EnterpriseUserAccount", "Mannequin", "Organization", "User"] + abstractType: "Actor" + ) + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue the suggestions apply to. + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + The pending suggestions to apply. + """ + suggestions: [PendingIssueSuggestionRef!]! +} + +""" +Autogenerated return type of ApplyPendingIssueSuggestions. +""" +type ApplyPendingIssueSuggestionsPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated issue. + """ + issue: Issue +} + """ Autogenerated input type of ApproveDeployments """ @@ -1934,6 +1978,11 @@ type AssignedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ Identifies the user who was assigned. """ @@ -5003,6 +5052,11 @@ type ClosedEvent implements Node & UniformResourceLocatable @docsCategory(name: """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The HTTP path for this closed event. """ @@ -20008,6 +20062,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ editor: Actor + """ + A list of rationales associated with this issue's timeline events. + """ + eventRationales: [IssueEventRationale!]! + """ Identifies the primary key from the database as a BigInt. """ @@ -20183,6 +20242,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & last: Int ): UserConnection! + """ + All pending suggestions on this issue. + """ + pendingSuggestions: [PendingIssueSuggestion!] + """ The pinned comment for this issue. """ @@ -21249,6 +21313,45 @@ enum IssueEventConfidenceLevel @docsCategory(name: "issues") { MEDIUM } +""" +Rationale text associated with an issue timeline event. +""" +type IssueEventRationale { + """ + The agent or user who produced the rationale. + """ + actor: Actor + + """ + Identifies the date and time when the rationale was created. + """ + createdAt: DateTime! + + """ + The issue timeline event this rationale is associated with. + """ + issueEvent: IssueEventWithRationale + + """ + The reasoning or explanation text for the event. + """ + rationale: String! +} + +""" +An issue timeline event that may have an associated rationale. +""" +union IssueEventWithRationale @docsCategory(name: "issues") = + | ClosedEvent + | IssueFieldAddedEvent + | IssueFieldChangedEvent + | IssueFieldRemovedEvent + | IssueTypeAddedEvent + | IssueTypeChangedEvent + | IssueTypeRemovedEvent + | LabeledEvent + | UnlabeledEvent + """ Represents a 'issue_field_added' event on a given issue. """ @@ -21273,6 +21376,11 @@ type IssueFieldAddedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The issue field added. """ @@ -21283,6 +21391,11 @@ type IssueFieldAddedEvent implements Node @docsCategory(name: "issues") { """ options: [IssueFieldTimelineOption!] + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale + """ The value of the added field. """ @@ -21308,6 +21421,11 @@ type IssueFieldChangedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The issue field changed. """ @@ -21342,6 +21460,11 @@ type IssueFieldChangedEvent implements Node @docsCategory(name: "issues") { The previous value of the field. """ previousValue: String + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ @@ -21703,6 +21826,11 @@ type IssueFieldRemovedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The issue field removed. """ @@ -21712,6 +21840,11 @@ type IssueFieldRemovedEvent implements Node @docsCategory(name: "issues") { The removed options for option-backed fields; single-select returns one option and multi-select returns many. """ options: [IssueFieldTimelineOption!] + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ @@ -22947,10 +23080,20 @@ type IssueTypeAddedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The issue type added. """ issueType: IssueType + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ @@ -22972,6 +23115,11 @@ type IssueTypeChangedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The issue type added. """ @@ -22981,6 +23129,11 @@ type IssueTypeChangedEvent implements Node @docsCategory(name: "issues") { The issue type removed. """ prevIssueType: IssueType + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ @@ -23117,10 +23270,20 @@ type IssueTypeRemovedEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The issue type removed. """ issueType: IssueType + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ @@ -23148,6 +23311,31 @@ input IssueTypeUpdateInput @docsCategory(name: "issues") { suggest: Boolean } +""" +The intent behind an agent's issue event action, including rationale and confidence. +""" +type IssueUpdateIntent @docsCategory(name: "issues") { + """ + The confidence level the agent had when performing this action. + """ + confidence: IssueEventConfidenceLevel + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + Opaque identifier for the underlying intent. Carries the DB bigint as a String. + """ + intentId: String + + """ + The reasoning or explanation text for the event. + """ + rationale: String +} + """ Represents a user signing up for a GitHub account. """ @@ -23489,6 +23677,11 @@ type LabeledEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ Identifies the label associated with the 'labeled' event. """ @@ -23498,6 +23691,11 @@ type LabeledEvent implements Node @docsCategory(name: "issues") { Identifies the `Labelable` associated with the event. """ labelable: Labelable! + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ @@ -26922,6 +27120,16 @@ type Mutation @docsCategory(name: "meta") { input: AddVerifiableDomainInput! ): AddVerifiableDomainPayload @docsCategory(name: "orgs") + """ + Applies a batch of pending issue suggestions to an issue. + """ + applyPendingIssueSuggestions( + """ + Parameters for ApplyPendingIssueSuggestions + """ + input: ApplyPendingIssueSuggestionsInput! + ): ApplyPendingIssueSuggestionsPayload @docsCategory(name: "issues") + """ Approve all pending deployments under one or more environments """ @@ -28182,6 +28390,16 @@ type Mutation @docsCategory(name: "meta") { input: RejectDeploymentsInput! ): RejectDeploymentsPayload @docsCategory(name: "deployments") + """ + Rejects a batch of pending issue suggestions on an issue atomically. + """ + rejectPendingIssueSuggestions( + """ + Parameters for RejectPendingIssueSuggestions + """ + input: RejectPendingIssueSuggestionsInput! + ): RejectPendingIssueSuggestionsPayload @docsCategory(name: "issues") + """ Removes assignees from an assignable object. """ @@ -37806,6 +38024,237 @@ enum PatchStatus @docsCategory(name: "pulls") { RENAMED } +""" +A pending suggestion to assign a user to an issue. +""" +type PendingAssigneeSuggestion @docsCategory(name: "issues") { + """ + The actor who suggested the assignee. + """ + actor: Actor + + """ + The suggested assignee. + """ + assignee: Assignee + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The rationale provided for suggesting this assignee. + """ + rationale: String + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +A pending suggestion to close an issue. +""" +type PendingCloseSuggestion @docsCategory(name: "issues") { + """ + The actor who suggested closing the issue. + """ + actor: Actor + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The issue or pull request the suggestion proposes marking this issue as a + duplicate of. Only set when `stateReason` is `DUPLICATE`. + """ + duplicateOf: IssueOrPullRequest + + """ + The rationale provided for suggesting this close. + """ + rationale: String + + """ + The state reason the suggestion would apply when closing the issue. + """ + stateReason: IssueStateReason + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +A pending suggestion to set an issue field's value. +""" +type PendingFieldSuggestion @docsCategory(name: "issues") { + """ + The actor who suggested the field value. + """ + actor: Actor + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The issue field the suggestion targets. + """ + issueField: IssueFields + + """ + The rationale provided for suggesting this field value. + """ + rationale: String + + """ + The suggested value for the field, as a string representation of the value originally provided. + """ + suggestedValue: String + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +A pending suggestion for an issue. May target the issue's type, labels, field values, assignees, or close state. +""" +union PendingIssueSuggestion @docsCategory(name: "issues") = + | PendingAssigneeSuggestion + | PendingCloseSuggestion + | PendingFieldSuggestion + | PendingLabelSuggestion + | PendingTypeSuggestion + +""" +The kind of pending issue suggestion being applied. +""" +enum PendingIssueSuggestionKind @docsCategory(name: "issues") { + """ + Add the suggested assignee to the issue. + """ + ASSIGNEE + + """ + Close the issue with the suggested state reason (and duplicate target, when applicable). + """ + CLOSE + + """ + Set the suggested issue field value on the issue. + """ + FIELD + + """ + Add the suggested label to the issue. + """ + LABEL + + """ + Set the issue's type to the suggested issue type. + """ + TYPE +} + +""" +A reference to a single pending issue suggestion to apply. +""" +input PendingIssueSuggestionRef @docsCategory(name: "issues") { + """ + The ID of the suggested assignee. Required when kind is ASSIGNEE. + """ + assigneeId: ID + + """ + The ID of the suggested issue field. Required when kind is FIELD. + """ + issueFieldId: ID + + """ + The ID of the suggested issue type. Required when kind is TYPE. + """ + issueTypeId: ID + + """ + The kind of suggestion to apply. + """ + kind: PendingIssueSuggestionKind! + + """ + The ID of the suggested label. Required when kind is LABEL. + """ + labelId: ID +} + +""" +A pending suggestion to add a label to an issue. +""" +type PendingLabelSuggestion @docsCategory(name: "issues") { + """ + The actor who suggested the label. + """ + actor: Actor + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The suggested label. + """ + label: Label + + """ + The rationale provided for suggesting this label. + """ + rationale: String + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +A pending suggestion to change an issue's type. +""" +type PendingTypeSuggestion @docsCategory(name: "issues") { + """ + The actor who suggested the type change. + """ + actor: Actor + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The suggested issue type. + """ + issueType: IssueType + + """ + The rationale provided for suggesting this type change. + """ + rationale: String + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + """ Types that can grant permissions on a repository to a user """ @@ -43845,6 +44294,16 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab states: [PullRequestReviewState!] ): PullRequestReviewConnection + """ + The stack this Pull Request belongs to, or null if it is not part of a stack + """ + stack: PullRequestStack + + """ + The stack entry for this Pull Request, or null if it is not part of a stack + """ + stackEntry: PullRequestStackEntry + """ Identifies the state of the pull request. """ @@ -45662,6 +46121,121 @@ type PullRequestRevisionMarker @docsCategory(name: "pulls") { pullRequest: PullRequest! } +""" +A stack of PullRequests +""" +type PullRequestStack implements Node @docsCategory(name: "pulls") { + """ + The branch that the stack's pull requests target + """ + baseRefName: String! + + """ + The entries in the stack + """ + entries( + """ + 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 + ): PullRequestStackEntryConnection! + + """ + The Node ID of the PullRequestStack object + """ + id: ID! + + """ + A number uniquely identifying the stack within its repository + """ + number: Int! + + """ + The total number of pull requests in the stack + """ + size: Int! +} + +""" +A member of a PullRequestStack +""" +type PullRequestStackEntry implements Node @docsCategory(name: "pulls") { + """ + The Node ID of the PullRequestStackEntry object + """ + id: ID! + + """ + This entry's position in the stack, where 1 is the closest to the base branch, 2 is stacked on top of 1, etc. + """ + position: Int! + + """ + The pull request that occupies this position in the stack + """ + pullRequest: PullRequest + + """ + The stack that this entry is a part of + """ + stack: PullRequestStack +} + +""" +Entries in a pull request stack +""" +type PullRequestStackEntryConnection { + """ + A list of edges. + """ + edges: [PullRequestStackEntryEdge] + + """ + A list of nodes. + """ + nodes: [PullRequestStackEntry] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PullRequestStackEntryEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PullRequestStackEntry +} + """ The possible states of a pull request. """ @@ -48042,6 +48616,50 @@ type RejectDeploymentsPayload { deployments: [Deployment!] } +""" +Autogenerated input type of RejectPendingIssueSuggestions +""" +input RejectPendingIssueSuggestionsInput { + """ + The ID of the actor whose suggestions to reject. + """ + actorId: ID! + @possibleTypes( + concreteTypes: ["Bot", "EnterpriseUserAccount", "Mannequin", "Organization", "User"] + abstractType: "Actor" + ) + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue the suggestions apply to. + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + The pending suggestions to reject. All are rejected atomically; any failure rolls back the entire batch. + """ + suggestions: [PendingIssueSuggestionRef!]! +} + +""" +Autogenerated return type of RejectPendingIssueSuggestions. +""" +type RejectPendingIssueSuggestionsPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The issue the suggestions were rejected from. + """ + issue: Issue +} + """ A release contains the content for a release. """ @@ -66448,6 +67066,11 @@ type UnlabeledEvent implements Node @docsCategory(name: "issues") { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ Identifies the label associated with the 'unlabeled' event. """ @@ -66457,6 +67080,11 @@ type UnlabeledEvent implements Node @docsCategory(name: "issues") { Identifies the `Labelable` associated with the event. """ labelable: Labelable! + + """ + The rationale associated with this event. + """ + rationale: IssueEventRationale } """ diff --git a/src/graphql/data/ghes-3.17/category-map.json b/src/graphql/data/ghes-3.17/category-map.json index e4d621efed80..c9cadde776a2 100644 --- a/src/graphql/data/ghes-3.17/category-map.json +++ b/src/graphql/data/ghes-3.17/category-map.json @@ -966,11 +966,7 @@ "samldigestalgorithm": "enterprise-admin", "samlsignaturealgorithm": "enterprise-admin", "twofactorcredentialsecuritytype": "enterprise-admin", - "issuetimelineitemsitemtype": "other", - "pullrequesttimelineitemsitemtype": "other", - "repositoryruletype": "other", "teamdiscussioncommentorderfield": "other", - "teamdiscussionorderfield": "other", "orgaddmemberauditentrypermission": "orgs", "orgcreateauditentrybillingplan": "orgs", "orgenterpriseownerorderfield": "orgs", @@ -1010,6 +1006,7 @@ "repositorypermission": "repos", "repositoryprivacy": "repos", "repositoryruleorderfield": "repos", + "repositoryruletype": "repos", "repositoryrulesetbypassactorbypassmode": "repos", "repositoryrulesettarget": "repos", "repositoryvisibility": "repos", @@ -1041,6 +1038,7 @@ "issueorderfield": "issues", "issuestate": "issues", "issuestatereason": "issues", + "issuetimelineitemsitemtype": "issues", "issuetypecolor": "issues", "issuetypeorderfield": "issues", "labelorderfield": "issues", @@ -1095,6 +1093,7 @@ "pullrequestreviewstate": "pulls", "pullrequestreviewthreadsubjecttype": "pulls", "pullrequeststate": "pulls", + "pullrequesttimelineitemsitemtype": "pulls", "pullrequestupdatestate": "pulls", "reactioncontent": "reactions", "reactionorderfield": "reactions", @@ -1129,6 +1128,7 @@ "dismissreason": "dependabot", "repositoryvulnerabilityalertdependencyscope": "dependabot", "repositoryvulnerabilityalertstate": "dependabot", + "teamdiscussionorderfield": "teams", "teammemberorderfield": "teams", "teammemberrole": "teams", "teammembershiptype": "teams", @@ -1149,12 +1149,12 @@ "auditentryactor": "enterprise-admin", "enterprisemember": "enterprise-admin", "ipallowlistowner": "enterprise-admin", - "ruleparameters": "other", "orgrestorememberauditentrymembership": "orgs", "organizationauditentry": "orgs", "permissiongranter": "orgs", "verifiabledomainowner": "orgs", "bypassactor": "repos", + "ruleparameters": "repos", "rulesource": "repos", "searchresultitem": "search", "claimable": "users", @@ -1230,9 +1230,7 @@ "createteamdiscussioninput": "other", "deleteteamdiscussioncommentinput": "other", "deleteteamdiscussioninput": "other", - "ruleparametersinput": "other", "teamdiscussioncommentorder": "other", - "teamdiscussionorder": "other", "updateenterpriseteamdiscussionssettinginput": "other", "updateteamdiscussioncommentinput": "other", "updateteamdiscussioninput": "other", @@ -1271,6 +1269,7 @@ "repositoryruleinput": "repos", "repositoryruleorder": "repos", "repositoryrulesetbypassactorinput": "repos", + "ruleparametersinput": "repos", "tagnamepatternparametersinput": "repos", "unarchiverepositoryinput": "repos", "updateparametersinput": "repos", @@ -1512,6 +1511,7 @@ "packageorder": "packages", "packageversionorder": "packages", "dismissrepositoryvulnerabilityalertinput": "dependabot", + "teamdiscussionorder": "teams", "teammemberorder": "teams", "teamorder": "teams", "teamrepositoryorder": "teams", diff --git a/src/graphql/data/ghes-3.17/schema-issues.json b/src/graphql/data/ghes-3.17/schema-issues.json index a23b7e7bb450..85bdc6c1965a 100644 --- a/src/graphql/data/ghes-3.17/schema-issues.json +++ b/src/graphql/data/ghes-3.17/schema-issues.json @@ -2695,7 +2695,7 @@ "type": { "name": "[IssueTimelineItemsItemType!]", "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype" + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype" } }, { @@ -6523,6 +6523,155 @@ ], "category": "issues" }, + { + "name": "IssueTimelineItemsItemType", + "id": "issuetimelineitemsitemtype", + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_PROJECT_EVENT", + "description": "

Represents aadded_to_projectevent on a given issue or pull request.

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

Represents anassignedevent on any assignable object.

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

Represents aclosedevent on any Closable.

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

Represents acomment_deletedevent on a given issue or pull request.

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

Represents aconnectedevent on a given issue or pull request.

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

Represents aconverted_note_to_issueevent on a given issue or pull request.

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

Represents aconverted_to_discussionevent on a given issue.

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

Represents a mention made by one issue or pull request to another.

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

Represents ademilestonedevent on a given issue or pull request.

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

Represents adisconnectedevent on a given issue or pull request.

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

Represents a comment on an Issue.

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

Represents alabeledevent on a given issue or pull request.

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

Represents alockedevent on a given issue or pull request.

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

Represents amarked_as_duplicateevent on a given issue or pull request.

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

Represents amentionedevent on a given issue or pull request.

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

Represents amilestonedevent on a given issue or pull request.

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

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

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

Represents areferencedevent on a given ReferencedSubject.

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

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

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

Represents areopenedevent on any Closable.

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

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

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

Represents anunassignedevent on any assignable object.

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

Represents anunlabeledevent on a given issue or pull request.

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

Represents anunlockedevent on a given issue or pull request.

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

Represents anunmarked_as_duplicateevent on a given issue or pull request.

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

Represents anunpinnedevent on a given issue or pull request.

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

Represents anunsubscribedevent on a given Subscribable.

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

Represents auser_blockedevent on a given user.

" + } + ], + "category": "issues" + }, { "name": "IssueTypeColor", "id": "issuetypecolor", diff --git a/src/graphql/data/ghes-3.17/schema-other.json b/src/graphql/data/ghes-3.17/schema-other.json index f734711ed22e..774f1a0d42be 100644 --- a/src/graphql/data/ghes-3.17/schema-other.json +++ b/src/graphql/data/ghes-3.17/schema-other.json @@ -1314,541 +1314,6 @@ } ], "enums": [ - { - "name": "IssueTimelineItemsItemType", - "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "PullRequestTimelineItemsItemType", - "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_MERGE_QUEUE_EVENT", - "description": "

Represents anadded_to_merge_queueevent on a given pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_FAILED_EVENT", - "description": "

Represents aautomatic_base_change_failedevent on a given pull request.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT", - "description": "

Represents aautomatic_base_change_succeededevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_DISABLED_EVENT", - "description": "

Represents aauto_merge_disabledevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_ENABLED_EVENT", - "description": "

Represents aauto_merge_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_REBASE_ENABLED_EVENT", - "description": "

Represents aauto_rebase_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_SQUASH_ENABLED_EVENT", - "description": "

Represents aauto_squash_enabledevent on a given pull request.

" - }, - { - "name": "BASE_REF_CHANGED_EVENT", - "description": "

Represents abase_ref_changedevent on a given issue or pull request.

" - }, - { - "name": "BASE_REF_DELETED_EVENT", - "description": "

Represents abase_ref_deletedevent on a given pull request.

" - }, - { - "name": "BASE_REF_FORCE_PUSHED_EVENT", - "description": "

Represents abase_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CONVERT_TO_DRAFT_EVENT", - "description": "

Represents aconvert_to_draftevent on a given pull request.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DEPLOYED_EVENT", - "description": "

Represents adeployedevent on a given pull request.

" - }, - { - "name": "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT", - "description": "

Represents adeployment_environment_changedevent on a given pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "HEAD_REF_DELETED_EVENT", - "description": "

Represents ahead_ref_deletedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_FORCE_PUSHED_EVENT", - "description": "

Represents ahead_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_RESTORED_EVENT", - "description": "

Represents ahead_ref_restoredevent on a given pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MERGED_EVENT", - "description": "

Represents amergedevent on a given pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT", - "description": "

Represents a Git commit part of a pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT_COMMENT_THREAD", - "description": "

Represents a commit comment thread part of a pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW", - "description": "

A review object for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW_THREAD", - "description": "

A threaded list of comments for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVISION_MARKER", - "description": "

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

" - }, - { - "name": "READY_FOR_REVIEW_EVENT", - "description": "

Represents aready_for_reviewevent on a given pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_MERGE_QUEUE_EVENT", - "description": "

Represents aremoved_from_merge_queueevent on a given pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "REVIEW_DISMISSED_EVENT", - "description": "

Represents areview_dismissedevent on a given issue or pull request.

" - }, - { - "name": "REVIEW_REQUESTED_EVENT", - "description": "

Represents anreview_requestedevent on a given pull request.

" - }, - { - "name": "REVIEW_REQUEST_REMOVED_EVENT", - "description": "

Represents anreview_request_removedevent on a given pull request.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "RepositoryRuleType", - "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype", - "description": "

The rule types supported in rulesets.

", - "values": [ - { - "name": "AUTHORIZATION", - "description": "

Authorization.

" - }, - { - "name": "BRANCH_NAME_PATTERN", - "description": "

Branch name pattern.

" - }, - { - "name": "CODE_SCANNING", - "description": "

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

" - }, - { - "name": "COMMITTER_EMAIL_PATTERN", - "description": "

Committer email pattern.

" - }, - { - "name": "COMMIT_AUTHOR_EMAIL_PATTERN", - "description": "

Commit author email pattern.

" - }, - { - "name": "COMMIT_MESSAGE_PATTERN", - "description": "

Commit message pattern.

" - }, - { - "name": "CREATION", - "description": "

Only allow users with bypass permission to create matching refs.

" - }, - { - "name": "DELETION", - "description": "

Only allow users with bypass permissions to delete matching refs.

" - }, - { - "name": "FILE_EXTENSION_RESTRICTION", - "description": "

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

" - }, - { - "name": "FILE_PATH_RESTRICTION", - "description": "

Prevent commits that include changes in specified file paths from being pushed to the commit graph.

" - }, - { - "name": "LOCK_BRANCH", - "description": "

Branch is read-only. Users cannot push to the branch.

" - }, - { - "name": "MAX_FILE_PATH_LENGTH", - "description": "

Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_FILE_SIZE", - "description": "

Prevent commits that exceed a specified file size limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_REF_UPDATES", - "description": "

Max ref updates.

" - }, - { - "name": "MERGE_QUEUE", - "description": "

Merges must be performed via a merge queue.

" - }, - { - "name": "MERGE_QUEUE_LOCKED_REF", - "description": "

Merge queue locked ref.

" - }, - { - "name": "NON_FAST_FORWARD", - "description": "

Prevent users with push access from force pushing to refs.

" - }, - { - "name": "PULL_REQUEST", - "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

" - }, - { - "name": "REQUIRED_DEPLOYMENTS", - "description": "

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

" - }, - { - "name": "REQUIRED_LINEAR_HISTORY", - "description": "

Prevent merge commits from being pushed to matching refs.

" - }, - { - "name": "REQUIRED_REVIEW_THREAD_RESOLUTION", - "description": "

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

" - }, - { - "name": "REQUIRED_SIGNATURES", - "description": "

Commits pushed to matching refs must have verified signatures.

" - }, - { - "name": "REQUIRED_STATUS_CHECKS", - "description": "

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

" - }, - { - "name": "REQUIRED_WORKFLOW_STATUS_CHECKS", - "description": "

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

" - }, - { - "name": "SECRET_SCANNING", - "description": "

Secret scanning.

" - }, - { - "name": "TAG", - "description": "

Tag.

" - }, - { - "name": "TAG_NAME_PATTERN", - "description": "

Tag name pattern.

" - }, - { - "name": "UPDATE", - "description": "

Only allow users with bypass permission to update matching refs.

" - }, - { - "name": "WORKFLOWS", - "description": "

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

" - }, - { - "name": "WORKFLOW_UPDATES", - "description": "

Workflow files cannot be modified.

" - } - ], - "category": "other" - }, { "name": "TeamDiscussionCommentOrderField", "id": "teamdiscussioncommentorderfield", @@ -1861,110 +1326,6 @@ } ], "category": "other" - }, - { - "name": "TeamDiscussionOrderField", - "id": "teamdiscussionorderfield", - "href": "/graphql/reference/other#enum-teamdiscussionorderfield", - "description": "

Properties by which team discussion connections can be ordered.

", - "values": [ - { - "name": "CREATED_AT", - "description": "

Allows chronological ordering of team discussions.

" - } - ], - "category": "other" - } - ], - "unions": [ - { - "name": "RuleParameters", - "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters", - "description": "

Types which can be parameters for RepositoryRule objects.

", - "possibleTypes": [ - { - "name": "BranchNamePatternParameters", - "id": "branchnamepatternparameters", - "href": "/graphql/reference/branches#object-branchnamepatternparameters" - }, - { - "name": "CodeScanningParameters", - "id": "codescanningparameters", - "href": "/graphql/reference/repos#object-codescanningparameters" - }, - { - "name": "CommitAuthorEmailPatternParameters", - "id": "commitauthoremailpatternparameters", - "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" - }, - { - "name": "CommitMessagePatternParameters", - "id": "commitmessagepatternparameters", - "href": "/graphql/reference/commits#object-commitmessagepatternparameters" - }, - { - "name": "CommitterEmailPatternParameters", - "id": "committeremailpatternparameters", - "href": "/graphql/reference/commits#object-committeremailpatternparameters" - }, - { - "name": "FileExtensionRestrictionParameters", - "id": "fileextensionrestrictionparameters", - "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" - }, - { - "name": "FilePathRestrictionParameters", - "id": "filepathrestrictionparameters", - "href": "/graphql/reference/repos#object-filepathrestrictionparameters" - }, - { - "name": "MaxFilePathLengthParameters", - "id": "maxfilepathlengthparameters", - "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" - }, - { - "name": "MaxFileSizeParameters", - "id": "maxfilesizeparameters", - "href": "/graphql/reference/repos#object-maxfilesizeparameters" - }, - { - "name": "MergeQueueParameters", - "id": "mergequeueparameters", - "href": "/graphql/reference/pulls#object-mergequeueparameters" - }, - { - "name": "PullRequestParameters", - "id": "pullrequestparameters", - "href": "/graphql/reference/pulls#object-pullrequestparameters" - }, - { - "name": "RequiredDeploymentsParameters", - "id": "requireddeploymentsparameters", - "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" - }, - { - "name": "RequiredStatusChecksParameters", - "id": "requiredstatuschecksparameters", - "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" - }, - { - "name": "TagNamePatternParameters", - "id": "tagnamepatternparameters", - "href": "/graphql/reference/repos#object-tagnamepatternparameters" - }, - { - "name": "UpdateParameters", - "id": "updateparameters", - "href": "/graphql/reference/repos#object-updateparameters" - }, - { - "name": "WorkflowsParameters", - "id": "workflowsparameters", - "href": "/graphql/reference/actions#object-workflowsparameters" - } - ], - "category": "other" } ], "inputObjects": [ @@ -2123,127 +1484,6 @@ ], "category": "other" }, - { - "name": "RuleParametersInput", - "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput", - "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

", - "inputFields": [ - { - "name": "branchNamePattern", - "description": "

Parameters used for the branch_name_pattern rule type.

", - "type": "BranchNamePatternParametersInput", - "id": "branchnamepatternparametersinput", - "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" - }, - { - "name": "codeScanning", - "description": "

Parameters used for the code_scanning rule type.

", - "type": "CodeScanningParametersInput", - "id": "codescanningparametersinput", - "href": "/graphql/reference/repos#input-object-codescanningparametersinput" - }, - { - "name": "commitAuthorEmailPattern", - "description": "

Parameters used for the commit_author_email_pattern rule type.

", - "type": "CommitAuthorEmailPatternParametersInput", - "id": "commitauthoremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" - }, - { - "name": "commitMessagePattern", - "description": "

Parameters used for the commit_message_pattern rule type.

", - "type": "CommitMessagePatternParametersInput", - "id": "commitmessagepatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" - }, - { - "name": "committerEmailPattern", - "description": "

Parameters used for the committer_email_pattern rule type.

", - "type": "CommitterEmailPatternParametersInput", - "id": "committeremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" - }, - { - "name": "fileExtensionRestriction", - "description": "

Parameters used for the file_extension_restriction rule type.

", - "type": "FileExtensionRestrictionParametersInput", - "id": "fileextensionrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" - }, - { - "name": "filePathRestriction", - "description": "

Parameters used for the file_path_restriction rule type.

", - "type": "FilePathRestrictionParametersInput", - "id": "filepathrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" - }, - { - "name": "maxFilePathLength", - "description": "

Parameters used for the max_file_path_length rule type.

", - "type": "MaxFilePathLengthParametersInput", - "id": "maxfilepathlengthparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" - }, - { - "name": "maxFileSize", - "description": "

Parameters used for the max_file_size rule type.

", - "type": "MaxFileSizeParametersInput", - "id": "maxfilesizeparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" - }, - { - "name": "mergeQueue", - "description": "

Parameters used for the merge_queue rule type.

", - "type": "MergeQueueParametersInput", - "id": "mergequeueparametersinput", - "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" - }, - { - "name": "pullRequest", - "description": "

Parameters used for the pull_request rule type.

", - "type": "PullRequestParametersInput", - "id": "pullrequestparametersinput", - "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" - }, - { - "name": "requiredDeployments", - "description": "

Parameters used for the required_deployments rule type.

", - "type": "RequiredDeploymentsParametersInput", - "id": "requireddeploymentsparametersinput", - "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" - }, - { - "name": "requiredStatusChecks", - "description": "

Parameters used for the required_status_checks rule type.

", - "type": "RequiredStatusChecksParametersInput", - "id": "requiredstatuschecksparametersinput", - "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" - }, - { - "name": "tagNamePattern", - "description": "

Parameters used for the tag_name_pattern rule type.

", - "type": "TagNamePatternParametersInput", - "id": "tagnamepatternparametersinput", - "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" - }, - { - "name": "update", - "description": "

Parameters used for the update rule type.

", - "type": "UpdateParametersInput", - "id": "updateparametersinput", - "href": "/graphql/reference/repos#input-object-updateparametersinput" - }, - { - "name": "workflows", - "description": "

Parameters used for the workflows rule type.

", - "type": "WorkflowsParametersInput", - "id": "workflowsparametersinput", - "href": "/graphql/reference/actions#input-object-workflowsparametersinput" - } - ], - "category": "other" - }, { "name": "TeamDiscussionCommentOrder", "id": "teamdiscussioncommentorder", @@ -2267,29 +1507,6 @@ ], "category": "other" }, - { - "name": "TeamDiscussionOrder", - "id": "teamdiscussionorder", - "href": "/graphql/reference/other#input-object-teamdiscussionorder", - "description": "

Ways in which team discussion connections can be ordered.

", - "inputFields": [ - { - "name": "direction", - "description": "

The direction in which to order nodes.

", - "type": "OrderDirection!", - "id": "orderdirection", - "href": "/graphql/reference/meta#enum-orderdirection" - }, - { - "name": "field", - "description": "

The field by which to order nodes.

", - "type": "TeamDiscussionOrderField!", - "id": "teamdiscussionorderfield", - "href": "/graphql/reference/other#enum-teamdiscussionorderfield" - } - ], - "category": "other" - }, { "name": "UpdateEnterpriseTeamDiscussionsSettingInput", "id": "updateenterpriseteamdiscussionssettinginput", diff --git a/src/graphql/data/ghes-3.17/schema-pulls.json b/src/graphql/data/ghes-3.17/schema-pulls.json index 66d670363be5..5895c19669a9 100644 --- a/src/graphql/data/ghes-3.17/schema-pulls.json +++ b/src/graphql/data/ghes-3.17/schema-pulls.json @@ -3782,7 +3782,7 @@ "type": { "name": "[PullRequestTimelineItemsItemType!]", "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype" + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype" } }, { @@ -7388,6 +7388,263 @@ ], "category": "pulls" }, + { + "name": "PullRequestTimelineItemsItemType", + "id": "pullrequesttimelineitemsitemtype", + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_MERGE_QUEUE_EVENT", + "description": "

Represents anadded_to_merge_queueevent on a given pull request.

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

Represents aadded_to_projectevent on a given issue or pull request.

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

Represents anassignedevent on any assignable object.

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

Represents aautomatic_base_change_failedevent on a given pull request.

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

Represents aautomatic_base_change_succeededevent on a given pull request.

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

Represents aauto_merge_disabledevent on a given pull request.

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

Represents aauto_merge_enabledevent on a given pull request.

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

Represents aauto_rebase_enabledevent on a given pull request.

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

Represents aauto_squash_enabledevent on a given pull request.

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

Represents abase_ref_changedevent on a given issue or pull request.

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

Represents abase_ref_deletedevent on a given pull request.

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

Represents abase_ref_force_pushedevent on a given pull request.

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

Represents aclosedevent on any Closable.

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

Represents acomment_deletedevent on a given issue or pull request.

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

Represents aconnectedevent on a given issue or pull request.

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

Represents aconverted_note_to_issueevent on a given issue or pull request.

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

Represents aconverted_to_discussionevent on a given issue.

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

Represents aconvert_to_draftevent on a given pull request.

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

Represents a mention made by one issue or pull request to another.

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

Represents ademilestonedevent on a given issue or pull request.

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

Represents adeployedevent on a given pull request.

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

Represents adeployment_environment_changedevent on a given pull request.

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

Represents adisconnectedevent on a given issue or pull request.

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

Represents ahead_ref_deletedevent on a given pull request.

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

Represents ahead_ref_force_pushedevent on a given pull request.

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

Represents ahead_ref_restoredevent on a given pull request.

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

Represents a comment on an Issue.

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

Represents alabeledevent on a given issue or pull request.

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

Represents alockedevent on a given issue or pull request.

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

Represents amarked_as_duplicateevent on a given issue or pull request.

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

Represents amentionedevent on a given issue or pull request.

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

Represents amergedevent on a given pull request.

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

Represents amilestonedevent on a given issue or pull request.

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

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

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

Represents a Git commit part of a pull request.

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

Represents a commit comment thread part of a pull request.

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

A review object for a given pull request.

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

A threaded list of comments for a given pull request.

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

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

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

Represents aready_for_reviewevent on a given pull request.

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

Represents areferencedevent on a given ReferencedSubject.

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

Represents aremoved_from_merge_queueevent on a given pull request.

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

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

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

Represents areopenedevent on any Closable.

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

Represents areview_dismissedevent on a given issue or pull request.

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

Represents anreview_requestedevent on a given pull request.

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

Represents anreview_request_removedevent on a given pull request.

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

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

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

Represents anunassignedevent on any assignable object.

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

Represents anunlabeledevent on a given issue or pull request.

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

Represents anunlockedevent on a given issue or pull request.

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

Represents anunmarked_as_duplicateevent on a given issue or pull request.

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

Represents anunpinnedevent on a given issue or pull request.

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

Represents anunsubscribedevent on a given Subscribable.

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

Represents auser_blockedevent on a given user.

" + } + ], + "category": "pulls" + }, { "name": "PullRequestUpdateState", "id": "pullrequestupdatestate", diff --git a/src/graphql/data/ghes-3.17/schema-repos.json b/src/graphql/data/ghes-3.17/schema-repos.json index a8bcaba4832a..538637745abc 100644 --- a/src/graphql/data/ghes-3.17/schema-repos.json +++ b/src/graphql/data/ghes-3.17/schema-repos.json @@ -5940,7 +5940,7 @@ "description": "

The parameters for this rule.

", "type": "RuleParameters", "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters" + "href": "/graphql/reference/repos#union-ruleparameters" }, { "name": "repositoryRuleset", @@ -5954,7 +5954,7 @@ "description": "

The type of rule.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -6205,7 +6205,7 @@ "type": { "name": "RepositoryRuleType", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } } ] @@ -7913,6 +7913,135 @@ ], "category": "repos" }, + { + "name": "RepositoryRuleType", + "id": "repositoryruletype", + "href": "/graphql/reference/repos#enum-repositoryruletype", + "description": "

The rule types supported in rulesets.

", + "values": [ + { + "name": "AUTHORIZATION", + "description": "

Authorization.

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

Branch name pattern.

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

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

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

Committer email pattern.

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

Commit author email pattern.

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

Commit message pattern.

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

Only allow users with bypass permission to create matching refs.

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

Only allow users with bypass permissions to delete matching refs.

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

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

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

Prevent commits that include changes in specified file paths from being pushed to the commit graph.

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

Branch is read-only. Users cannot push to the branch.

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

Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.

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

Prevent commits that exceed a specified file size limit from being pushed to the commit graph.

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

Max ref updates.

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

Merges must be performed via a merge queue.

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

Merge queue locked ref.

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

Prevent users with push access from force pushing to refs.

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

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

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

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

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

Prevent merge commits from being pushed to matching refs.

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

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

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

Commits pushed to matching refs must have verified signatures.

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

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

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

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

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

Secret scanning.

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

Tag.

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

Tag name pattern.

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

Only allow users with bypass permission to update matching refs.

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

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

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

Workflow files cannot be modified.

" + } + ], + "category": "repos" + }, { "name": "RepositoryRulesetBypassActorBypassMode", "id": "repositoryrulesetbypassactorbypassmode", @@ -8056,6 +8185,95 @@ ], "category": "repos" }, + { + "name": "RuleParameters", + "id": "ruleparameters", + "href": "/graphql/reference/repos#union-ruleparameters", + "description": "

Types which can be parameters for RepositoryRule objects.

", + "possibleTypes": [ + { + "name": "BranchNamePatternParameters", + "id": "branchnamepatternparameters", + "href": "/graphql/reference/branches#object-branchnamepatternparameters" + }, + { + "name": "CodeScanningParameters", + "id": "codescanningparameters", + "href": "/graphql/reference/repos#object-codescanningparameters" + }, + { + "name": "CommitAuthorEmailPatternParameters", + "id": "commitauthoremailpatternparameters", + "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" + }, + { + "name": "CommitMessagePatternParameters", + "id": "commitmessagepatternparameters", + "href": "/graphql/reference/commits#object-commitmessagepatternparameters" + }, + { + "name": "CommitterEmailPatternParameters", + "id": "committeremailpatternparameters", + "href": "/graphql/reference/commits#object-committeremailpatternparameters" + }, + { + "name": "FileExtensionRestrictionParameters", + "id": "fileextensionrestrictionparameters", + "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" + }, + { + "name": "FilePathRestrictionParameters", + "id": "filepathrestrictionparameters", + "href": "/graphql/reference/repos#object-filepathrestrictionparameters" + }, + { + "name": "MaxFilePathLengthParameters", + "id": "maxfilepathlengthparameters", + "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" + }, + { + "name": "MaxFileSizeParameters", + "id": "maxfilesizeparameters", + "href": "/graphql/reference/repos#object-maxfilesizeparameters" + }, + { + "name": "MergeQueueParameters", + "id": "mergequeueparameters", + "href": "/graphql/reference/pulls#object-mergequeueparameters" + }, + { + "name": "PullRequestParameters", + "id": "pullrequestparameters", + "href": "/graphql/reference/pulls#object-pullrequestparameters" + }, + { + "name": "RequiredDeploymentsParameters", + "id": "requireddeploymentsparameters", + "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" + }, + { + "name": "RequiredStatusChecksParameters", + "id": "requiredstatuschecksparameters", + "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" + }, + { + "name": "TagNamePatternParameters", + "id": "tagnamepatternparameters", + "href": "/graphql/reference/repos#object-tagnamepatternparameters" + }, + { + "name": "UpdateParameters", + "id": "updateparameters", + "href": "/graphql/reference/repos#object-updateparameters" + }, + { + "name": "WorkflowsParameters", + "id": "workflowsparameters", + "href": "/graphql/reference/actions#object-workflowsparameters" + } + ], + "category": "repos" + }, { "name": "RuleSource", "id": "rulesource", @@ -8671,14 +8889,14 @@ "description": "

The parameters for the rule.

", "type": "RuleParametersInput", "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput" + "href": "/graphql/reference/repos#input-object-ruleparametersinput" }, { "name": "type", "description": "

The type of rule to create.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -8757,6 +8975,127 @@ ], "category": "repos" }, + { + "name": "RuleParametersInput", + "id": "ruleparametersinput", + "href": "/graphql/reference/repos#input-object-ruleparametersinput", + "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

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

Parameters used for the branch_name_pattern rule type.

", + "type": "BranchNamePatternParametersInput", + "id": "branchnamepatternparametersinput", + "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" + }, + { + "name": "codeScanning", + "description": "

Parameters used for the code_scanning rule type.

", + "type": "CodeScanningParametersInput", + "id": "codescanningparametersinput", + "href": "/graphql/reference/repos#input-object-codescanningparametersinput" + }, + { + "name": "commitAuthorEmailPattern", + "description": "

Parameters used for the commit_author_email_pattern rule type.

", + "type": "CommitAuthorEmailPatternParametersInput", + "id": "commitauthoremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" + }, + { + "name": "commitMessagePattern", + "description": "

Parameters used for the commit_message_pattern rule type.

", + "type": "CommitMessagePatternParametersInput", + "id": "commitmessagepatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" + }, + { + "name": "committerEmailPattern", + "description": "

Parameters used for the committer_email_pattern rule type.

", + "type": "CommitterEmailPatternParametersInput", + "id": "committeremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" + }, + { + "name": "fileExtensionRestriction", + "description": "

Parameters used for the file_extension_restriction rule type.

", + "type": "FileExtensionRestrictionParametersInput", + "id": "fileextensionrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" + }, + { + "name": "filePathRestriction", + "description": "

Parameters used for the file_path_restriction rule type.

", + "type": "FilePathRestrictionParametersInput", + "id": "filepathrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" + }, + { + "name": "maxFilePathLength", + "description": "

Parameters used for the max_file_path_length rule type.

", + "type": "MaxFilePathLengthParametersInput", + "id": "maxfilepathlengthparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" + }, + { + "name": "maxFileSize", + "description": "

Parameters used for the max_file_size rule type.

", + "type": "MaxFileSizeParametersInput", + "id": "maxfilesizeparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" + }, + { + "name": "mergeQueue", + "description": "

Parameters used for the merge_queue rule type.

", + "type": "MergeQueueParametersInput", + "id": "mergequeueparametersinput", + "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" + }, + { + "name": "pullRequest", + "description": "

Parameters used for the pull_request rule type.

", + "type": "PullRequestParametersInput", + "id": "pullrequestparametersinput", + "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" + }, + { + "name": "requiredDeployments", + "description": "

Parameters used for the required_deployments rule type.

", + "type": "RequiredDeploymentsParametersInput", + "id": "requireddeploymentsparametersinput", + "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" + }, + { + "name": "requiredStatusChecks", + "description": "

Parameters used for the required_status_checks rule type.

", + "type": "RequiredStatusChecksParametersInput", + "id": "requiredstatuschecksparametersinput", + "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" + }, + { + "name": "tagNamePattern", + "description": "

Parameters used for the tag_name_pattern rule type.

", + "type": "TagNamePatternParametersInput", + "id": "tagnamepatternparametersinput", + "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" + }, + { + "name": "update", + "description": "

Parameters used for the update rule type.

", + "type": "UpdateParametersInput", + "id": "updateparametersinput", + "href": "/graphql/reference/repos#input-object-updateparametersinput" + }, + { + "name": "workflows", + "description": "

Parameters used for the workflows rule type.

", + "type": "WorkflowsParametersInput", + "id": "workflowsparametersinput", + "href": "/graphql/reference/actions#input-object-workflowsparametersinput" + } + ], + "category": "repos" + }, { "name": "TagNamePatternParametersInput", "id": "tagnamepatternparametersinput", diff --git a/src/graphql/data/ghes-3.17/schema-teams.json b/src/graphql/data/ghes-3.17/schema-teams.json index 4b4c5b1fc8ae..90b673d7f384 100644 --- a/src/graphql/data/ghes-3.17/schema-teams.json +++ b/src/graphql/data/ghes-3.17/schema-teams.json @@ -400,7 +400,7 @@ "type": { "name": "TeamDiscussionOrder", "id": "teamdiscussionorder", - "href": "/graphql/reference/other#input-object-teamdiscussionorder" + "href": "/graphql/reference/teams#input-object-teamdiscussionorder" } } ] @@ -2139,6 +2139,19 @@ } ], "enums": [ + { + "name": "TeamDiscussionOrderField", + "id": "teamdiscussionorderfield", + "href": "/graphql/reference/teams#enum-teamdiscussionorderfield", + "description": "

Properties by which team discussion connections can be ordered.

", + "values": [ + { + "name": "CREATED_AT", + "description": "

Allows chronological ordering of team discussions.

" + } + ], + "category": "teams" + }, { "name": "TeamMemberOrderField", "id": "teammemberorderfield", @@ -2310,6 +2323,29 @@ } ], "inputObjects": [ + { + "name": "TeamDiscussionOrder", + "id": "teamdiscussionorder", + "href": "/graphql/reference/teams#input-object-teamdiscussionorder", + "description": "

Ways in which team discussion connections can be ordered.

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

The direction in which to order nodes.

", + "type": "OrderDirection!", + "id": "orderdirection", + "href": "/graphql/reference/meta#enum-orderdirection" + }, + { + "name": "field", + "description": "

The field by which to order nodes.

", + "type": "TeamDiscussionOrderField!", + "id": "teamdiscussionorderfield", + "href": "/graphql/reference/teams#enum-teamdiscussionorderfield" + } + ], + "category": "teams" + }, { "name": "TeamMemberOrder", "id": "teammemberorder", diff --git a/src/graphql/data/ghes-3.18/category-map.json b/src/graphql/data/ghes-3.18/category-map.json index d5c79f9e50ef..170b79cb5089 100644 --- a/src/graphql/data/ghes-3.18/category-map.json +++ b/src/graphql/data/ghes-3.18/category-map.json @@ -973,11 +973,7 @@ "samldigestalgorithm": "enterprise-admin", "samlsignaturealgorithm": "enterprise-admin", "twofactorcredentialsecuritytype": "enterprise-admin", - "issuetimelineitemsitemtype": "other", - "pullrequesttimelineitemsitemtype": "other", - "repositoryruletype": "other", "teamdiscussioncommentorderfield": "other", - "teamdiscussionorderfield": "other", "orgaddmemberauditentrypermission": "orgs", "orgcreateauditentrybillingplan": "orgs", "orgenterpriseownerorderfield": "orgs", @@ -1017,6 +1013,7 @@ "repositorypermission": "repos", "repositoryprivacy": "repos", "repositoryruleorderfield": "repos", + "repositoryruletype": "repos", "repositoryrulesetbypassactorbypassmode": "repos", "repositoryrulesettarget": "repos", "repositorysuggestedactorfilter": "repos", @@ -1049,6 +1046,7 @@ "issueorderfield": "issues", "issuestate": "issues", "issuestatereason": "issues", + "issuetimelineitemsitemtype": "issues", "issuetypecolor": "issues", "issuetypeorderfield": "issues", "labelorderfield": "issues", @@ -1103,6 +1101,7 @@ "pullrequestreviewstate": "pulls", "pullrequestreviewthreadsubjecttype": "pulls", "pullrequeststate": "pulls", + "pullrequesttimelineitemsitemtype": "pulls", "pullrequestupdatestate": "pulls", "reactioncontent": "reactions", "reactionorderfield": "reactions", @@ -1137,6 +1136,7 @@ "dismissreason": "dependabot", "repositoryvulnerabilityalertdependencyscope": "dependabot", "repositoryvulnerabilityalertstate": "dependabot", + "teamdiscussionorderfield": "teams", "teammemberorderfield": "teams", "teammemberrole": "teams", "teammembershiptype": "teams", @@ -1158,12 +1158,12 @@ "enterprisemember": "enterprise-admin", "ipallowlistowner": "enterprise-admin", "botoruser": "other", - "ruleparameters": "other", "orgrestorememberauditentrymembership": "orgs", "organizationauditentry": "orgs", "permissiongranter": "orgs", "verifiabledomainowner": "orgs", "bypassactor": "repos", + "ruleparameters": "repos", "rulesource": "repos", "searchresultitem": "search", "claimable": "users", @@ -1239,9 +1239,7 @@ "createteamdiscussioninput": "other", "deleteteamdiscussioncommentinput": "other", "deleteteamdiscussioninput": "other", - "ruleparametersinput": "other", "teamdiscussioncommentorder": "other", - "teamdiscussionorder": "other", "updateenterpriseteamdiscussionssettinginput": "other", "updateteamdiscussioncommentinput": "other", "updateteamdiscussioninput": "other", @@ -1280,6 +1278,7 @@ "repositoryruleinput": "repos", "repositoryruleorder": "repos", "repositoryrulesetbypassactorinput": "repos", + "ruleparametersinput": "repos", "tagnamepatternparametersinput": "repos", "unarchiverepositoryinput": "repos", "updateparametersinput": "repos", @@ -1522,6 +1521,7 @@ "packageorder": "packages", "packageversionorder": "packages", "dismissrepositoryvulnerabilityalertinput": "dependabot", + "teamdiscussionorder": "teams", "teammemberorder": "teams", "teamorder": "teams", "teamrepositoryorder": "teams", diff --git a/src/graphql/data/ghes-3.18/schema-issues.json b/src/graphql/data/ghes-3.18/schema-issues.json index 164465dfe8cf..e18c04c779d6 100644 --- a/src/graphql/data/ghes-3.18/schema-issues.json +++ b/src/graphql/data/ghes-3.18/schema-issues.json @@ -2899,7 +2899,7 @@ "type": { "name": "[IssueTimelineItemsItemType!]", "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype" + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype" } }, { @@ -6979,6 +6979,167 @@ ], "category": "issues" }, + { + "name": "IssueTimelineItemsItemType", + "id": "issuetimelineitemsitemtype", + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_PROJECT_EVENT", + "description": "

Represents aadded_to_projectevent on a given issue or pull request.

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

Represents anassignedevent on any assignable object.

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

Represents aclosedevent on any Closable.

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

Represents acomment_deletedevent on a given issue or pull request.

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

Represents aconnectedevent on a given issue or pull request.

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

Represents aconverted_note_to_issueevent on a given issue or pull request.

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

Represents aconverted_to_discussionevent on a given issue.

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

Represents a mention made by one issue or pull request to another.

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

Represents ademilestonedevent on a given issue or pull request.

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

Represents adisconnectedevent on a given issue or pull request.

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

Represents a comment on an Issue.

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

Represents aissue_type_addedevent on a given issue.

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

Represents aissue_type_changedevent on a given issue.

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

Represents aissue_type_removedevent on a given issue.

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

Represents alabeledevent on a given issue or pull request.

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

Represents alockedevent on a given issue or pull request.

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

Represents amarked_as_duplicateevent on a given issue or pull request.

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

Represents amentionedevent on a given issue or pull request.

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

Represents amilestonedevent on a given issue or pull request.

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

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

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

Represents areferencedevent on a given ReferencedSubject.

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

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

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

Represents areopenedevent on any Closable.

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

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

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

Represents anunassignedevent on any assignable object.

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

Represents anunlabeledevent on a given issue or pull request.

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

Represents anunlockedevent on a given issue or pull request.

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

Represents anunmarked_as_duplicateevent on a given issue or pull request.

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

Represents anunpinnedevent on a given issue or pull request.

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

Represents anunsubscribedevent on a given Subscribable.

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

Represents auser_blockedevent on a given user.

" + } + ], + "category": "issues" + }, { "name": "IssueTypeColor", "id": "issuetypecolor", diff --git a/src/graphql/data/ghes-3.18/schema-other.json b/src/graphql/data/ghes-3.18/schema-other.json index 5379473dccfc..0dae994e7001 100644 --- a/src/graphql/data/ghes-3.18/schema-other.json +++ b/src/graphql/data/ghes-3.18/schema-other.json @@ -1267,565 +1267,6 @@ } ], "enums": [ - { - "name": "IssueTimelineItemsItemType", - "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "ISSUE_TYPE_ADDED_EVENT", - "description": "

Represents aissue_type_addedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_CHANGED_EVENT", - "description": "

Represents aissue_type_changedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_REMOVED_EVENT", - "description": "

Represents aissue_type_removedevent on a given issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "PullRequestTimelineItemsItemType", - "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_MERGE_QUEUE_EVENT", - "description": "

Represents anadded_to_merge_queueevent on a given pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_FAILED_EVENT", - "description": "

Represents aautomatic_base_change_failedevent on a given pull request.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT", - "description": "

Represents aautomatic_base_change_succeededevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_DISABLED_EVENT", - "description": "

Represents aauto_merge_disabledevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_ENABLED_EVENT", - "description": "

Represents aauto_merge_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_REBASE_ENABLED_EVENT", - "description": "

Represents aauto_rebase_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_SQUASH_ENABLED_EVENT", - "description": "

Represents aauto_squash_enabledevent on a given pull request.

" - }, - { - "name": "BASE_REF_CHANGED_EVENT", - "description": "

Represents abase_ref_changedevent on a given issue or pull request.

" - }, - { - "name": "BASE_REF_DELETED_EVENT", - "description": "

Represents abase_ref_deletedevent on a given pull request.

" - }, - { - "name": "BASE_REF_FORCE_PUSHED_EVENT", - "description": "

Represents abase_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CONVERT_TO_DRAFT_EVENT", - "description": "

Represents aconvert_to_draftevent on a given pull request.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DEPLOYED_EVENT", - "description": "

Represents adeployedevent on a given pull request.

" - }, - { - "name": "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT", - "description": "

Represents adeployment_environment_changedevent on a given pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "HEAD_REF_DELETED_EVENT", - "description": "

Represents ahead_ref_deletedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_FORCE_PUSHED_EVENT", - "description": "

Represents ahead_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_RESTORED_EVENT", - "description": "

Represents ahead_ref_restoredevent on a given pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "ISSUE_TYPE_ADDED_EVENT", - "description": "

Represents aissue_type_addedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_CHANGED_EVENT", - "description": "

Represents aissue_type_changedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_REMOVED_EVENT", - "description": "

Represents aissue_type_removedevent on a given issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MERGED_EVENT", - "description": "

Represents amergedevent on a given pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT", - "description": "

Represents a Git commit part of a pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT_COMMENT_THREAD", - "description": "

Represents a commit comment thread part of a pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW", - "description": "

A review object for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW_THREAD", - "description": "

A threaded list of comments for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVISION_MARKER", - "description": "

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

" - }, - { - "name": "READY_FOR_REVIEW_EVENT", - "description": "

Represents aready_for_reviewevent on a given pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_MERGE_QUEUE_EVENT", - "description": "

Represents aremoved_from_merge_queueevent on a given pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "REVIEW_DISMISSED_EVENT", - "description": "

Represents areview_dismissedevent on a given issue or pull request.

" - }, - { - "name": "REVIEW_REQUESTED_EVENT", - "description": "

Represents anreview_requestedevent on a given pull request.

" - }, - { - "name": "REVIEW_REQUEST_REMOVED_EVENT", - "description": "

Represents anreview_request_removedevent on a given pull request.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "RepositoryRuleType", - "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype", - "description": "

The rule types supported in rulesets.

", - "values": [ - { - "name": "AUTHORIZATION", - "description": "

Authorization.

" - }, - { - "name": "BRANCH_NAME_PATTERN", - "description": "

Branch name pattern.

" - }, - { - "name": "CODE_SCANNING", - "description": "

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

" - }, - { - "name": "COMMITTER_EMAIL_PATTERN", - "description": "

Committer email pattern.

" - }, - { - "name": "COMMIT_AUTHOR_EMAIL_PATTERN", - "description": "

Commit author email pattern.

" - }, - { - "name": "COMMIT_MESSAGE_PATTERN", - "description": "

Commit message pattern.

" - }, - { - "name": "CREATION", - "description": "

Only allow users with bypass permission to create matching refs.

" - }, - { - "name": "DELETION", - "description": "

Only allow users with bypass permissions to delete matching refs.

" - }, - { - "name": "FILE_EXTENSION_RESTRICTION", - "description": "

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

" - }, - { - "name": "FILE_PATH_RESTRICTION", - "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

" - }, - { - "name": "LOCK_BRANCH", - "description": "

Branch is read-only. Users cannot push to the branch.

" - }, - { - "name": "MAX_FILE_PATH_LENGTH", - "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_FILE_SIZE", - "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_REF_UPDATES", - "description": "

Max ref updates.

" - }, - { - "name": "MERGE_QUEUE", - "description": "

Merges must be performed via a merge queue.

" - }, - { - "name": "MERGE_QUEUE_LOCKED_REF", - "description": "

Merge queue locked ref.

" - }, - { - "name": "NON_FAST_FORWARD", - "description": "

Prevent users with push access from force pushing to refs.

" - }, - { - "name": "PULL_REQUEST", - "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

" - }, - { - "name": "REQUIRED_DEPLOYMENTS", - "description": "

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

" - }, - { - "name": "REQUIRED_LINEAR_HISTORY", - "description": "

Prevent merge commits from being pushed to matching refs.

" - }, - { - "name": "REQUIRED_REVIEW_THREAD_RESOLUTION", - "description": "

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

" - }, - { - "name": "REQUIRED_SIGNATURES", - "description": "

Commits pushed to matching refs must have verified signatures.

" - }, - { - "name": "REQUIRED_STATUS_CHECKS", - "description": "

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

" - }, - { - "name": "REQUIRED_WORKFLOW_STATUS_CHECKS", - "description": "

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

" - }, - { - "name": "SECRET_SCANNING", - "description": "

Secret scanning.

" - }, - { - "name": "TAG", - "description": "

Tag.

" - }, - { - "name": "TAG_NAME_PATTERN", - "description": "

Tag name pattern.

" - }, - { - "name": "UPDATE", - "description": "

Only allow users with bypass permission to update matching refs.

" - }, - { - "name": "WORKFLOWS", - "description": "

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

" - }, - { - "name": "WORKFLOW_UPDATES", - "description": "

Workflow files cannot be modified.

" - } - ], - "category": "other" - }, { "name": "TeamDiscussionCommentOrderField", "id": "teamdiscussioncommentorderfield", @@ -1838,19 +1279,6 @@ } ], "category": "other" - }, - { - "name": "TeamDiscussionOrderField", - "id": "teamdiscussionorderfield", - "href": "/graphql/reference/other#enum-teamdiscussionorderfield", - "description": "

Properties by which team discussion connections can be ordered.

", - "values": [ - { - "name": "CREATED_AT", - "description": "

Allows chronological ordering of team discussions.

" - } - ], - "category": "other" } ], "unions": [ @@ -1872,95 +1300,6 @@ } ], "category": "other" - }, - { - "name": "RuleParameters", - "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters", - "description": "

Types which can be parameters for RepositoryRule objects.

", - "possibleTypes": [ - { - "name": "BranchNamePatternParameters", - "id": "branchnamepatternparameters", - "href": "/graphql/reference/branches#object-branchnamepatternparameters" - }, - { - "name": "CodeScanningParameters", - "id": "codescanningparameters", - "href": "/graphql/reference/repos#object-codescanningparameters" - }, - { - "name": "CommitAuthorEmailPatternParameters", - "id": "commitauthoremailpatternparameters", - "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" - }, - { - "name": "CommitMessagePatternParameters", - "id": "commitmessagepatternparameters", - "href": "/graphql/reference/commits#object-commitmessagepatternparameters" - }, - { - "name": "CommitterEmailPatternParameters", - "id": "committeremailpatternparameters", - "href": "/graphql/reference/commits#object-committeremailpatternparameters" - }, - { - "name": "FileExtensionRestrictionParameters", - "id": "fileextensionrestrictionparameters", - "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" - }, - { - "name": "FilePathRestrictionParameters", - "id": "filepathrestrictionparameters", - "href": "/graphql/reference/repos#object-filepathrestrictionparameters" - }, - { - "name": "MaxFilePathLengthParameters", - "id": "maxfilepathlengthparameters", - "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" - }, - { - "name": "MaxFileSizeParameters", - "id": "maxfilesizeparameters", - "href": "/graphql/reference/repos#object-maxfilesizeparameters" - }, - { - "name": "MergeQueueParameters", - "id": "mergequeueparameters", - "href": "/graphql/reference/pulls#object-mergequeueparameters" - }, - { - "name": "PullRequestParameters", - "id": "pullrequestparameters", - "href": "/graphql/reference/pulls#object-pullrequestparameters" - }, - { - "name": "RequiredDeploymentsParameters", - "id": "requireddeploymentsparameters", - "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" - }, - { - "name": "RequiredStatusChecksParameters", - "id": "requiredstatuschecksparameters", - "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" - }, - { - "name": "TagNamePatternParameters", - "id": "tagnamepatternparameters", - "href": "/graphql/reference/repos#object-tagnamepatternparameters" - }, - { - "name": "UpdateParameters", - "id": "updateparameters", - "href": "/graphql/reference/repos#object-updateparameters" - }, - { - "name": "WorkflowsParameters", - "id": "workflowsparameters", - "href": "/graphql/reference/actions#object-workflowsparameters" - } - ], - "category": "other" } ], "inputObjects": [ @@ -2119,127 +1458,6 @@ ], "category": "other" }, - { - "name": "RuleParametersInput", - "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput", - "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

", - "inputFields": [ - { - "name": "branchNamePattern", - "description": "

Parameters used for the branch_name_pattern rule type.

", - "type": "BranchNamePatternParametersInput", - "id": "branchnamepatternparametersinput", - "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" - }, - { - "name": "codeScanning", - "description": "

Parameters used for the code_scanning rule type.

", - "type": "CodeScanningParametersInput", - "id": "codescanningparametersinput", - "href": "/graphql/reference/repos#input-object-codescanningparametersinput" - }, - { - "name": "commitAuthorEmailPattern", - "description": "

Parameters used for the commit_author_email_pattern rule type.

", - "type": "CommitAuthorEmailPatternParametersInput", - "id": "commitauthoremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" - }, - { - "name": "commitMessagePattern", - "description": "

Parameters used for the commit_message_pattern rule type.

", - "type": "CommitMessagePatternParametersInput", - "id": "commitmessagepatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" - }, - { - "name": "committerEmailPattern", - "description": "

Parameters used for the committer_email_pattern rule type.

", - "type": "CommitterEmailPatternParametersInput", - "id": "committeremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" - }, - { - "name": "fileExtensionRestriction", - "description": "

Parameters used for the file_extension_restriction rule type.

", - "type": "FileExtensionRestrictionParametersInput", - "id": "fileextensionrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" - }, - { - "name": "filePathRestriction", - "description": "

Parameters used for the file_path_restriction rule type.

", - "type": "FilePathRestrictionParametersInput", - "id": "filepathrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" - }, - { - "name": "maxFilePathLength", - "description": "

Parameters used for the max_file_path_length rule type.

", - "type": "MaxFilePathLengthParametersInput", - "id": "maxfilepathlengthparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" - }, - { - "name": "maxFileSize", - "description": "

Parameters used for the max_file_size rule type.

", - "type": "MaxFileSizeParametersInput", - "id": "maxfilesizeparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" - }, - { - "name": "mergeQueue", - "description": "

Parameters used for the merge_queue rule type.

", - "type": "MergeQueueParametersInput", - "id": "mergequeueparametersinput", - "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" - }, - { - "name": "pullRequest", - "description": "

Parameters used for the pull_request rule type.

", - "type": "PullRequestParametersInput", - "id": "pullrequestparametersinput", - "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" - }, - { - "name": "requiredDeployments", - "description": "

Parameters used for the required_deployments rule type.

", - "type": "RequiredDeploymentsParametersInput", - "id": "requireddeploymentsparametersinput", - "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" - }, - { - "name": "requiredStatusChecks", - "description": "

Parameters used for the required_status_checks rule type.

", - "type": "RequiredStatusChecksParametersInput", - "id": "requiredstatuschecksparametersinput", - "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" - }, - { - "name": "tagNamePattern", - "description": "

Parameters used for the tag_name_pattern rule type.

", - "type": "TagNamePatternParametersInput", - "id": "tagnamepatternparametersinput", - "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" - }, - { - "name": "update", - "description": "

Parameters used for the update rule type.

", - "type": "UpdateParametersInput", - "id": "updateparametersinput", - "href": "/graphql/reference/repos#input-object-updateparametersinput" - }, - { - "name": "workflows", - "description": "

Parameters used for the workflows rule type.

", - "type": "WorkflowsParametersInput", - "id": "workflowsparametersinput", - "href": "/graphql/reference/actions#input-object-workflowsparametersinput" - } - ], - "category": "other" - }, { "name": "TeamDiscussionCommentOrder", "id": "teamdiscussioncommentorder", @@ -2263,29 +1481,6 @@ ], "category": "other" }, - { - "name": "TeamDiscussionOrder", - "id": "teamdiscussionorder", - "href": "/graphql/reference/other#input-object-teamdiscussionorder", - "description": "

Ways in which team discussion connections can be ordered.

", - "inputFields": [ - { - "name": "direction", - "description": "

The direction in which to order nodes.

", - "type": "OrderDirection!", - "id": "orderdirection", - "href": "/graphql/reference/meta#enum-orderdirection" - }, - { - "name": "field", - "description": "

The field by which to order nodes.

", - "type": "TeamDiscussionOrderField!", - "id": "teamdiscussionorderfield", - "href": "/graphql/reference/other#enum-teamdiscussionorderfield" - } - ], - "category": "other" - }, { "name": "UpdateEnterpriseTeamDiscussionsSettingInput", "id": "updateenterpriseteamdiscussionssettinginput", diff --git a/src/graphql/data/ghes-3.18/schema-pulls.json b/src/graphql/data/ghes-3.18/schema-pulls.json index 63f7f7d96c3a..37d03a16a462 100644 --- a/src/graphql/data/ghes-3.18/schema-pulls.json +++ b/src/graphql/data/ghes-3.18/schema-pulls.json @@ -3881,7 +3881,7 @@ "type": { "name": "[PullRequestTimelineItemsItemType!]", "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype" + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype" } }, { @@ -7494,6 +7494,275 @@ ], "category": "pulls" }, + { + "name": "PullRequestTimelineItemsItemType", + "id": "pullrequesttimelineitemsitemtype", + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_MERGE_QUEUE_EVENT", + "description": "

Represents anadded_to_merge_queueevent on a given pull request.

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

Represents aadded_to_projectevent on a given issue or pull request.

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

Represents anassignedevent on any assignable object.

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

Represents aautomatic_base_change_failedevent on a given pull request.

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

Represents aautomatic_base_change_succeededevent on a given pull request.

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

Represents aauto_merge_disabledevent on a given pull request.

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

Represents aauto_merge_enabledevent on a given pull request.

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

Represents aauto_rebase_enabledevent on a given pull request.

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

Represents aauto_squash_enabledevent on a given pull request.

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

Represents abase_ref_changedevent on a given issue or pull request.

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

Represents abase_ref_deletedevent on a given pull request.

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

Represents abase_ref_force_pushedevent on a given pull request.

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

Represents aclosedevent on any Closable.

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

Represents acomment_deletedevent on a given issue or pull request.

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

Represents aconnectedevent on a given issue or pull request.

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

Represents aconverted_note_to_issueevent on a given issue or pull request.

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

Represents aconverted_to_discussionevent on a given issue.

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

Represents aconvert_to_draftevent on a given pull request.

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

Represents a mention made by one issue or pull request to another.

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

Represents ademilestonedevent on a given issue or pull request.

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

Represents adeployedevent on a given pull request.

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

Represents adeployment_environment_changedevent on a given pull request.

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

Represents adisconnectedevent on a given issue or pull request.

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

Represents ahead_ref_deletedevent on a given pull request.

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

Represents ahead_ref_force_pushedevent on a given pull request.

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

Represents ahead_ref_restoredevent on a given pull request.

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

Represents a comment on an Issue.

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

Represents aissue_type_addedevent on a given issue.

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

Represents aissue_type_changedevent on a given issue.

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

Represents aissue_type_removedevent on a given issue.

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

Represents alabeledevent on a given issue or pull request.

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

Represents alockedevent on a given issue or pull request.

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

Represents amarked_as_duplicateevent on a given issue or pull request.

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

Represents amentionedevent on a given issue or pull request.

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

Represents amergedevent on a given pull request.

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

Represents amilestonedevent on a given issue or pull request.

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

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

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

Represents a Git commit part of a pull request.

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

Represents a commit comment thread part of a pull request.

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

A review object for a given pull request.

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

A threaded list of comments for a given pull request.

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

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

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

Represents aready_for_reviewevent on a given pull request.

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

Represents areferencedevent on a given ReferencedSubject.

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

Represents aremoved_from_merge_queueevent on a given pull request.

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

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

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

Represents areopenedevent on any Closable.

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

Represents areview_dismissedevent on a given issue or pull request.

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

Represents anreview_requestedevent on a given pull request.

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

Represents anreview_request_removedevent on a given pull request.

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

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

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

Represents anunassignedevent on any assignable object.

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

Represents anunlabeledevent on a given issue or pull request.

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

Represents anunlockedevent on a given issue or pull request.

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

Represents anunmarked_as_duplicateevent on a given issue or pull request.

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

Represents anunpinnedevent on a given issue or pull request.

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

Represents anunsubscribedevent on a given Subscribable.

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

Represents auser_blockedevent on a given user.

" + } + ], + "category": "pulls" + }, { "name": "PullRequestUpdateState", "id": "pullrequestupdatestate", diff --git a/src/graphql/data/ghes-3.18/schema-repos.json b/src/graphql/data/ghes-3.18/schema-repos.json index 2a76820f2a44..36a30308cc46 100644 --- a/src/graphql/data/ghes-3.18/schema-repos.json +++ b/src/graphql/data/ghes-3.18/schema-repos.json @@ -6338,7 +6338,7 @@ "description": "

The parameters for this rule.

", "type": "RuleParameters", "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters" + "href": "/graphql/reference/repos#union-ruleparameters" }, { "name": "repositoryRuleset", @@ -6352,7 +6352,7 @@ "description": "

The type of rule.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -6603,7 +6603,7 @@ "type": { "name": "RepositoryRuleType", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } } ] @@ -8311,6 +8311,135 @@ ], "category": "repos" }, + { + "name": "RepositoryRuleType", + "id": "repositoryruletype", + "href": "/graphql/reference/repos#enum-repositoryruletype", + "description": "

The rule types supported in rulesets.

", + "values": [ + { + "name": "AUTHORIZATION", + "description": "

Authorization.

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

Branch name pattern.

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

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

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

Committer email pattern.

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

Commit author email pattern.

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

Commit message pattern.

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

Only allow users with bypass permission to create matching refs.

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

Only allow users with bypass permissions to delete matching refs.

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

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

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

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

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

Branch is read-only. Users cannot push to the branch.

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

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

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

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

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

Max ref updates.

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

Merges must be performed via a merge queue.

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

Merge queue locked ref.

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

Prevent users with push access from force pushing to refs.

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

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

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

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

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

Prevent merge commits from being pushed to matching refs.

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

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

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

Commits pushed to matching refs must have verified signatures.

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

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

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

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

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

Secret scanning.

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

Tag.

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

Tag name pattern.

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

Only allow users with bypass permission to update matching refs.

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

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

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

Workflow files cannot be modified.

" + } + ], + "category": "repos" + }, { "name": "RepositoryRulesetBypassActorBypassMode", "id": "repositoryrulesetbypassactorbypassmode", @@ -8471,6 +8600,95 @@ ], "category": "repos" }, + { + "name": "RuleParameters", + "id": "ruleparameters", + "href": "/graphql/reference/repos#union-ruleparameters", + "description": "

Types which can be parameters for RepositoryRule objects.

", + "possibleTypes": [ + { + "name": "BranchNamePatternParameters", + "id": "branchnamepatternparameters", + "href": "/graphql/reference/branches#object-branchnamepatternparameters" + }, + { + "name": "CodeScanningParameters", + "id": "codescanningparameters", + "href": "/graphql/reference/repos#object-codescanningparameters" + }, + { + "name": "CommitAuthorEmailPatternParameters", + "id": "commitauthoremailpatternparameters", + "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" + }, + { + "name": "CommitMessagePatternParameters", + "id": "commitmessagepatternparameters", + "href": "/graphql/reference/commits#object-commitmessagepatternparameters" + }, + { + "name": "CommitterEmailPatternParameters", + "id": "committeremailpatternparameters", + "href": "/graphql/reference/commits#object-committeremailpatternparameters" + }, + { + "name": "FileExtensionRestrictionParameters", + "id": "fileextensionrestrictionparameters", + "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" + }, + { + "name": "FilePathRestrictionParameters", + "id": "filepathrestrictionparameters", + "href": "/graphql/reference/repos#object-filepathrestrictionparameters" + }, + { + "name": "MaxFilePathLengthParameters", + "id": "maxfilepathlengthparameters", + "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" + }, + { + "name": "MaxFileSizeParameters", + "id": "maxfilesizeparameters", + "href": "/graphql/reference/repos#object-maxfilesizeparameters" + }, + { + "name": "MergeQueueParameters", + "id": "mergequeueparameters", + "href": "/graphql/reference/pulls#object-mergequeueparameters" + }, + { + "name": "PullRequestParameters", + "id": "pullrequestparameters", + "href": "/graphql/reference/pulls#object-pullrequestparameters" + }, + { + "name": "RequiredDeploymentsParameters", + "id": "requireddeploymentsparameters", + "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" + }, + { + "name": "RequiredStatusChecksParameters", + "id": "requiredstatuschecksparameters", + "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" + }, + { + "name": "TagNamePatternParameters", + "id": "tagnamepatternparameters", + "href": "/graphql/reference/repos#object-tagnamepatternparameters" + }, + { + "name": "UpdateParameters", + "id": "updateparameters", + "href": "/graphql/reference/repos#object-updateparameters" + }, + { + "name": "WorkflowsParameters", + "id": "workflowsparameters", + "href": "/graphql/reference/actions#object-workflowsparameters" + } + ], + "category": "repos" + }, { "name": "RuleSource", "id": "rulesource", @@ -9086,14 +9304,14 @@ "description": "

The parameters for the rule.

", "type": "RuleParametersInput", "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput" + "href": "/graphql/reference/repos#input-object-ruleparametersinput" }, { "name": "type", "description": "

The type of rule to create.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -9172,6 +9390,127 @@ ], "category": "repos" }, + { + "name": "RuleParametersInput", + "id": "ruleparametersinput", + "href": "/graphql/reference/repos#input-object-ruleparametersinput", + "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

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

Parameters used for the branch_name_pattern rule type.

", + "type": "BranchNamePatternParametersInput", + "id": "branchnamepatternparametersinput", + "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" + }, + { + "name": "codeScanning", + "description": "

Parameters used for the code_scanning rule type.

", + "type": "CodeScanningParametersInput", + "id": "codescanningparametersinput", + "href": "/graphql/reference/repos#input-object-codescanningparametersinput" + }, + { + "name": "commitAuthorEmailPattern", + "description": "

Parameters used for the commit_author_email_pattern rule type.

", + "type": "CommitAuthorEmailPatternParametersInput", + "id": "commitauthoremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" + }, + { + "name": "commitMessagePattern", + "description": "

Parameters used for the commit_message_pattern rule type.

", + "type": "CommitMessagePatternParametersInput", + "id": "commitmessagepatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" + }, + { + "name": "committerEmailPattern", + "description": "

Parameters used for the committer_email_pattern rule type.

", + "type": "CommitterEmailPatternParametersInput", + "id": "committeremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" + }, + { + "name": "fileExtensionRestriction", + "description": "

Parameters used for the file_extension_restriction rule type.

", + "type": "FileExtensionRestrictionParametersInput", + "id": "fileextensionrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" + }, + { + "name": "filePathRestriction", + "description": "

Parameters used for the file_path_restriction rule type.

", + "type": "FilePathRestrictionParametersInput", + "id": "filepathrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" + }, + { + "name": "maxFilePathLength", + "description": "

Parameters used for the max_file_path_length rule type.

", + "type": "MaxFilePathLengthParametersInput", + "id": "maxfilepathlengthparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" + }, + { + "name": "maxFileSize", + "description": "

Parameters used for the max_file_size rule type.

", + "type": "MaxFileSizeParametersInput", + "id": "maxfilesizeparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" + }, + { + "name": "mergeQueue", + "description": "

Parameters used for the merge_queue rule type.

", + "type": "MergeQueueParametersInput", + "id": "mergequeueparametersinput", + "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" + }, + { + "name": "pullRequest", + "description": "

Parameters used for the pull_request rule type.

", + "type": "PullRequestParametersInput", + "id": "pullrequestparametersinput", + "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" + }, + { + "name": "requiredDeployments", + "description": "

Parameters used for the required_deployments rule type.

", + "type": "RequiredDeploymentsParametersInput", + "id": "requireddeploymentsparametersinput", + "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" + }, + { + "name": "requiredStatusChecks", + "description": "

Parameters used for the required_status_checks rule type.

", + "type": "RequiredStatusChecksParametersInput", + "id": "requiredstatuschecksparametersinput", + "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" + }, + { + "name": "tagNamePattern", + "description": "

Parameters used for the tag_name_pattern rule type.

", + "type": "TagNamePatternParametersInput", + "id": "tagnamepatternparametersinput", + "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" + }, + { + "name": "update", + "description": "

Parameters used for the update rule type.

", + "type": "UpdateParametersInput", + "id": "updateparametersinput", + "href": "/graphql/reference/repos#input-object-updateparametersinput" + }, + { + "name": "workflows", + "description": "

Parameters used for the workflows rule type.

", + "type": "WorkflowsParametersInput", + "id": "workflowsparametersinput", + "href": "/graphql/reference/actions#input-object-workflowsparametersinput" + } + ], + "category": "repos" + }, { "name": "TagNamePatternParametersInput", "id": "tagnamepatternparametersinput", diff --git a/src/graphql/data/ghes-3.18/schema-teams.json b/src/graphql/data/ghes-3.18/schema-teams.json index f467663eef91..cbfe22fa8327 100644 --- a/src/graphql/data/ghes-3.18/schema-teams.json +++ b/src/graphql/data/ghes-3.18/schema-teams.json @@ -400,7 +400,7 @@ "type": { "name": "TeamDiscussionOrder", "id": "teamdiscussionorder", - "href": "/graphql/reference/other#input-object-teamdiscussionorder" + "href": "/graphql/reference/teams#input-object-teamdiscussionorder" } } ] @@ -2335,6 +2335,19 @@ } ], "enums": [ + { + "name": "TeamDiscussionOrderField", + "id": "teamdiscussionorderfield", + "href": "/graphql/reference/teams#enum-teamdiscussionorderfield", + "description": "

Properties by which team discussion connections can be ordered.

", + "values": [ + { + "name": "CREATED_AT", + "description": "

Allows chronological ordering of team discussions.

" + } + ], + "category": "teams" + }, { "name": "TeamMemberOrderField", "id": "teammemberorderfield", @@ -2506,6 +2519,29 @@ } ], "inputObjects": [ + { + "name": "TeamDiscussionOrder", + "id": "teamdiscussionorder", + "href": "/graphql/reference/teams#input-object-teamdiscussionorder", + "description": "

Ways in which team discussion connections can be ordered.

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

The direction in which to order nodes.

", + "type": "OrderDirection!", + "id": "orderdirection", + "href": "/graphql/reference/meta#enum-orderdirection" + }, + { + "name": "field", + "description": "

The field by which to order nodes.

", + "type": "TeamDiscussionOrderField!", + "id": "teamdiscussionorderfield", + "href": "/graphql/reference/teams#enum-teamdiscussionorderfield" + } + ], + "category": "teams" + }, { "name": "TeamMemberOrder", "id": "teammemberorder", diff --git a/src/graphql/data/ghes-3.19/category-map.json b/src/graphql/data/ghes-3.19/category-map.json index 3218e37ed641..6b5fc6f271fe 100644 --- a/src/graphql/data/ghes-3.19/category-map.json +++ b/src/graphql/data/ghes-3.19/category-map.json @@ -981,11 +981,7 @@ "samldigestalgorithm": "enterprise-admin", "samlsignaturealgorithm": "enterprise-admin", "twofactorcredentialsecuritytype": "enterprise-admin", - "issuetimelineitemsitemtype": "other", - "pullrequesttimelineitemsitemtype": "other", - "repositoryruletype": "other", "teamdiscussioncommentorderfield": "other", - "teamdiscussionorderfield": "other", "orgaddmemberauditentrypermission": "orgs", "orgcreateauditentrybillingplan": "orgs", "orgenterpriseownerorderfield": "orgs", @@ -1025,6 +1021,7 @@ "repositorypermission": "repos", "repositoryprivacy": "repos", "repositoryruleorderfield": "repos", + "repositoryruletype": "repos", "repositoryrulesetbypassactorbypassmode": "repos", "repositoryrulesettarget": "repos", "repositorysuggestedactorfilter": "repos", @@ -1058,6 +1055,7 @@ "issueorderfield": "issues", "issuestate": "issues", "issuestatereason": "issues", + "issuetimelineitemsitemtype": "issues", "issuetypecolor": "issues", "issuetypeorderfield": "issues", "labelorderfield": "issues", @@ -1112,6 +1110,7 @@ "pullrequestreviewstate": "pulls", "pullrequestreviewthreadsubjecttype": "pulls", "pullrequeststate": "pulls", + "pullrequesttimelineitemsitemtype": "pulls", "pullrequestupdatestate": "pulls", "reactioncontent": "reactions", "reactionorderfield": "reactions", @@ -1146,6 +1145,7 @@ "dismissreason": "dependabot", "repositoryvulnerabilityalertdependencyscope": "dependabot", "repositoryvulnerabilityalertstate": "dependabot", + "teamdiscussionorderfield": "teams", "teammemberorderfield": "teams", "teammemberrole": "teams", "teammembershiptype": "teams", @@ -1166,12 +1166,12 @@ "auditentryactor": "enterprise-admin", "enterprisemember": "enterprise-admin", "ipallowlistowner": "enterprise-admin", - "ruleparameters": "other", "orgrestorememberauditentrymembership": "orgs", "organizationauditentry": "orgs", "permissiongranter": "orgs", "verifiabledomainowner": "orgs", "bypassactor": "repos", + "ruleparameters": "repos", "rulesource": "repos", "searchresultitem": "search", "claimable": "users", @@ -1247,9 +1247,7 @@ "createteamdiscussioninput": "other", "deleteteamdiscussioncommentinput": "other", "deleteteamdiscussioninput": "other", - "ruleparametersinput": "other", "teamdiscussioncommentorder": "other", - "teamdiscussionorder": "other", "updateenterpriseteamdiscussionssettinginput": "other", "updateteamdiscussioncommentinput": "other", "updateteamdiscussioninput": "other", @@ -1288,6 +1286,7 @@ "repositoryruleinput": "repos", "repositoryruleorder": "repos", "repositoryrulesetbypassactorinput": "repos", + "ruleparametersinput": "repos", "tagnamepatternparametersinput": "repos", "unarchiverepositoryinput": "repos", "updateparametersinput": "repos", @@ -1534,6 +1533,7 @@ "packageorder": "packages", "packageversionorder": "packages", "dismissrepositoryvulnerabilityalertinput": "dependabot", + "teamdiscussionorder": "teams", "teammemberorder": "teams", "teamorder": "teams", "teamrepositoryorder": "teams", diff --git a/src/graphql/data/ghes-3.19/schema-issues.json b/src/graphql/data/ghes-3.19/schema-issues.json index 031c59ddf6c6..b02b46fed305 100644 --- a/src/graphql/data/ghes-3.19/schema-issues.json +++ b/src/graphql/data/ghes-3.19/schema-issues.json @@ -3266,7 +3266,7 @@ "type": { "name": "[IssueTimelineItemsItemType!]", "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype" + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype" } }, { @@ -7407,6 +7407,183 @@ ], "category": "issues" }, + { + "name": "IssueTimelineItemsItemType", + "id": "issuetimelineitemsitemtype", + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_PROJECT_EVENT", + "description": "

Represents aadded_to_projectevent on a given issue or pull request.

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

Represents anassignedevent on any assignable object.

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

Represents ablocked_by_addedevent on a given issue.

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

Represents ablocked_by_removedevent on a given issue.

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

Represents ablocking_addedevent on a given issue.

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

Represents ablocking_removedevent on a given issue.

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

Represents aclosedevent on any Closable.

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

Represents acomment_deletedevent on a given issue or pull request.

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

Represents aconnectedevent on a given issue or pull request.

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

Represents aconverted_note_to_issueevent on a given issue or pull request.

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

Represents aconverted_to_discussionevent on a given issue.

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

Represents a mention made by one issue or pull request to another.

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

Represents ademilestonedevent on a given issue or pull request.

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

Represents adisconnectedevent on a given issue or pull request.

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

Represents a comment on an Issue.

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

Represents aissue_type_addedevent on a given issue.

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

Represents aissue_type_changedevent on a given issue.

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

Represents aissue_type_removedevent on a given issue.

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

Represents alabeledevent on a given issue or pull request.

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

Represents alockedevent on a given issue or pull request.

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

Represents amarked_as_duplicateevent on a given issue or pull request.

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

Represents amentionedevent on a given issue or pull request.

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

Represents amilestonedevent on a given issue or pull request.

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

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

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

Represents areferencedevent on a given ReferencedSubject.

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

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

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

Represents areopenedevent on any Closable.

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

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

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

Represents anunassignedevent on any assignable object.

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

Represents anunlabeledevent on a given issue or pull request.

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

Represents anunlockedevent on a given issue or pull request.

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

Represents anunmarked_as_duplicateevent on a given issue or pull request.

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

Represents anunpinnedevent on a given issue or pull request.

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

Represents anunsubscribedevent on a given Subscribable.

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

Represents auser_blockedevent on a given user.

" + } + ], + "category": "issues" + }, { "name": "IssueTypeColor", "id": "issuetypecolor", diff --git a/src/graphql/data/ghes-3.19/schema-other.json b/src/graphql/data/ghes-3.19/schema-other.json index 272a7762b33f..921c14b40ec0 100644 --- a/src/graphql/data/ghes-3.19/schema-other.json +++ b/src/graphql/data/ghes-3.19/schema-other.json @@ -1267,601 +1267,6 @@ } ], "enums": [ - { - "name": "IssueTimelineItemsItemType", - "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "BLOCKED_BY_ADDED_EVENT", - "description": "

Represents ablocked_by_addedevent on a given issue.

" - }, - { - "name": "BLOCKED_BY_REMOVED_EVENT", - "description": "

Represents ablocked_by_removedevent on a given issue.

" - }, - { - "name": "BLOCKING_ADDED_EVENT", - "description": "

Represents ablocking_addedevent on a given issue.

" - }, - { - "name": "BLOCKING_REMOVED_EVENT", - "description": "

Represents ablocking_removedevent on a given issue.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "ISSUE_TYPE_ADDED_EVENT", - "description": "

Represents aissue_type_addedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_CHANGED_EVENT", - "description": "

Represents aissue_type_changedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_REMOVED_EVENT", - "description": "

Represents aissue_type_removedevent on a given issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "PullRequestTimelineItemsItemType", - "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_MERGE_QUEUE_EVENT", - "description": "

Represents anadded_to_merge_queueevent on a given pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_FAILED_EVENT", - "description": "

Represents aautomatic_base_change_failedevent on a given pull request.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT", - "description": "

Represents aautomatic_base_change_succeededevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_DISABLED_EVENT", - "description": "

Represents aauto_merge_disabledevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_ENABLED_EVENT", - "description": "

Represents aauto_merge_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_REBASE_ENABLED_EVENT", - "description": "

Represents aauto_rebase_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_SQUASH_ENABLED_EVENT", - "description": "

Represents aauto_squash_enabledevent on a given pull request.

" - }, - { - "name": "BASE_REF_CHANGED_EVENT", - "description": "

Represents abase_ref_changedevent on a given issue or pull request.

" - }, - { - "name": "BASE_REF_DELETED_EVENT", - "description": "

Represents abase_ref_deletedevent on a given pull request.

" - }, - { - "name": "BASE_REF_FORCE_PUSHED_EVENT", - "description": "

Represents abase_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "BLOCKED_BY_ADDED_EVENT", - "description": "

Represents ablocked_by_addedevent on a given issue.

" - }, - { - "name": "BLOCKED_BY_REMOVED_EVENT", - "description": "

Represents ablocked_by_removedevent on a given issue.

" - }, - { - "name": "BLOCKING_ADDED_EVENT", - "description": "

Represents ablocking_addedevent on a given issue.

" - }, - { - "name": "BLOCKING_REMOVED_EVENT", - "description": "

Represents ablocking_removedevent on a given issue.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CONVERT_TO_DRAFT_EVENT", - "description": "

Represents aconvert_to_draftevent on a given pull request.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DEPLOYED_EVENT", - "description": "

Represents adeployedevent on a given pull request.

" - }, - { - "name": "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT", - "description": "

Represents adeployment_environment_changedevent on a given pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "HEAD_REF_DELETED_EVENT", - "description": "

Represents ahead_ref_deletedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_FORCE_PUSHED_EVENT", - "description": "

Represents ahead_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_RESTORED_EVENT", - "description": "

Represents ahead_ref_restoredevent on a given pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "ISSUE_TYPE_ADDED_EVENT", - "description": "

Represents aissue_type_addedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_CHANGED_EVENT", - "description": "

Represents aissue_type_changedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_REMOVED_EVENT", - "description": "

Represents aissue_type_removedevent on a given issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MERGED_EVENT", - "description": "

Represents amergedevent on a given pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT", - "description": "

Represents a Git commit part of a pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT_COMMENT_THREAD", - "description": "

Represents a commit comment thread part of a pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW", - "description": "

A review object for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW_THREAD", - "description": "

A threaded list of comments for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVISION_MARKER", - "description": "

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

" - }, - { - "name": "READY_FOR_REVIEW_EVENT", - "description": "

Represents aready_for_reviewevent on a given pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_MERGE_QUEUE_EVENT", - "description": "

Represents aremoved_from_merge_queueevent on a given pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "REVIEW_DISMISSED_EVENT", - "description": "

Represents areview_dismissedevent on a given issue or pull request.

" - }, - { - "name": "REVIEW_REQUESTED_EVENT", - "description": "

Represents anreview_requestedevent on a given pull request.

" - }, - { - "name": "REVIEW_REQUEST_REMOVED_EVENT", - "description": "

Represents anreview_request_removedevent on a given pull request.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "RepositoryRuleType", - "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype", - "description": "

The rule types supported in rulesets.

", - "values": [ - { - "name": "AUTHORIZATION", - "description": "

Authorization.

" - }, - { - "name": "BRANCH_NAME_PATTERN", - "description": "

Branch name pattern.

" - }, - { - "name": "CODE_SCANNING", - "description": "

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

" - }, - { - "name": "COMMITTER_EMAIL_PATTERN", - "description": "

Committer email pattern.

" - }, - { - "name": "COMMIT_AUTHOR_EMAIL_PATTERN", - "description": "

Commit author email pattern.

" - }, - { - "name": "COMMIT_MESSAGE_PATTERN", - "description": "

Commit message pattern.

" - }, - { - "name": "COPILOT_CODE_REVIEW", - "description": "

Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.

" - }, - { - "name": "CREATION", - "description": "

Only allow users with bypass permission to create matching refs.

" - }, - { - "name": "DELETION", - "description": "

Only allow users with bypass permissions to delete matching refs.

" - }, - { - "name": "FILE_EXTENSION_RESTRICTION", - "description": "

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

" - }, - { - "name": "FILE_PATH_RESTRICTION", - "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

" - }, - { - "name": "LOCK_BRANCH", - "description": "

Branch is read-only. Users cannot push to the branch.

" - }, - { - "name": "MAX_FILE_PATH_LENGTH", - "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_FILE_SIZE", - "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_REF_UPDATES", - "description": "

Max ref updates.

" - }, - { - "name": "MERGE_QUEUE", - "description": "

Merges must be performed via a merge queue.

" - }, - { - "name": "MERGE_QUEUE_LOCKED_REF", - "description": "

Merge queue locked ref.

" - }, - { - "name": "NON_FAST_FORWARD", - "description": "

Prevent users with push access from force pushing to refs.

" - }, - { - "name": "PULL_REQUEST", - "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

" - }, - { - "name": "REQUIRED_DEPLOYMENTS", - "description": "

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

" - }, - { - "name": "REQUIRED_LINEAR_HISTORY", - "description": "

Prevent merge commits from being pushed to matching refs.

" - }, - { - "name": "REQUIRED_REVIEW_THREAD_RESOLUTION", - "description": "

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

" - }, - { - "name": "REQUIRED_SIGNATURES", - "description": "

Commits pushed to matching refs must have verified signatures.

" - }, - { - "name": "REQUIRED_STATUS_CHECKS", - "description": "

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

" - }, - { - "name": "REQUIRED_WORKFLOW_STATUS_CHECKS", - "description": "

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

" - }, - { - "name": "SECRET_SCANNING", - "description": "

Secret scanning.

" - }, - { - "name": "TAG", - "description": "

Tag.

" - }, - { - "name": "TAG_NAME_PATTERN", - "description": "

Tag name pattern.

" - }, - { - "name": "UPDATE", - "description": "

Only allow users with bypass permission to update matching refs.

" - }, - { - "name": "WORKFLOWS", - "description": "

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

" - }, - { - "name": "WORKFLOW_UPDATES", - "description": "

Workflow files cannot be modified.

" - } - ], - "category": "other" - }, { "name": "TeamDiscussionCommentOrderField", "id": "teamdiscussioncommentorderfield", @@ -1874,115 +1279,6 @@ } ], "category": "other" - }, - { - "name": "TeamDiscussionOrderField", - "id": "teamdiscussionorderfield", - "href": "/graphql/reference/other#enum-teamdiscussionorderfield", - "description": "

Properties by which team discussion connections can be ordered.

", - "values": [ - { - "name": "CREATED_AT", - "description": "

Allows chronological ordering of team discussions.

" - } - ], - "category": "other" - } - ], - "unions": [ - { - "name": "RuleParameters", - "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters", - "description": "

Types which can be parameters for RepositoryRule objects.

", - "possibleTypes": [ - { - "name": "BranchNamePatternParameters", - "id": "branchnamepatternparameters", - "href": "/graphql/reference/branches#object-branchnamepatternparameters" - }, - { - "name": "CodeScanningParameters", - "id": "codescanningparameters", - "href": "/graphql/reference/repos#object-codescanningparameters" - }, - { - "name": "CommitAuthorEmailPatternParameters", - "id": "commitauthoremailpatternparameters", - "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" - }, - { - "name": "CommitMessagePatternParameters", - "id": "commitmessagepatternparameters", - "href": "/graphql/reference/commits#object-commitmessagepatternparameters" - }, - { - "name": "CommitterEmailPatternParameters", - "id": "committeremailpatternparameters", - "href": "/graphql/reference/commits#object-committeremailpatternparameters" - }, - { - "name": "CopilotCodeReviewParameters", - "id": "copilotcodereviewparameters", - "href": "/graphql/reference/pulls#object-copilotcodereviewparameters" - }, - { - "name": "FileExtensionRestrictionParameters", - "id": "fileextensionrestrictionparameters", - "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" - }, - { - "name": "FilePathRestrictionParameters", - "id": "filepathrestrictionparameters", - "href": "/graphql/reference/repos#object-filepathrestrictionparameters" - }, - { - "name": "MaxFilePathLengthParameters", - "id": "maxfilepathlengthparameters", - "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" - }, - { - "name": "MaxFileSizeParameters", - "id": "maxfilesizeparameters", - "href": "/graphql/reference/repos#object-maxfilesizeparameters" - }, - { - "name": "MergeQueueParameters", - "id": "mergequeueparameters", - "href": "/graphql/reference/pulls#object-mergequeueparameters" - }, - { - "name": "PullRequestParameters", - "id": "pullrequestparameters", - "href": "/graphql/reference/pulls#object-pullrequestparameters" - }, - { - "name": "RequiredDeploymentsParameters", - "id": "requireddeploymentsparameters", - "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" - }, - { - "name": "RequiredStatusChecksParameters", - "id": "requiredstatuschecksparameters", - "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" - }, - { - "name": "TagNamePatternParameters", - "id": "tagnamepatternparameters", - "href": "/graphql/reference/repos#object-tagnamepatternparameters" - }, - { - "name": "UpdateParameters", - "id": "updateparameters", - "href": "/graphql/reference/repos#object-updateparameters" - }, - { - "name": "WorkflowsParameters", - "id": "workflowsparameters", - "href": "/graphql/reference/actions#object-workflowsparameters" - } - ], - "category": "other" } ], "inputObjects": [ @@ -2141,134 +1437,6 @@ ], "category": "other" }, - { - "name": "RuleParametersInput", - "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput", - "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

", - "inputFields": [ - { - "name": "branchNamePattern", - "description": "

Parameters used for the branch_name_pattern rule type.

", - "type": "BranchNamePatternParametersInput", - "id": "branchnamepatternparametersinput", - "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" - }, - { - "name": "codeScanning", - "description": "

Parameters used for the code_scanning rule type.

", - "type": "CodeScanningParametersInput", - "id": "codescanningparametersinput", - "href": "/graphql/reference/repos#input-object-codescanningparametersinput" - }, - { - "name": "commitAuthorEmailPattern", - "description": "

Parameters used for the commit_author_email_pattern rule type.

", - "type": "CommitAuthorEmailPatternParametersInput", - "id": "commitauthoremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" - }, - { - "name": "commitMessagePattern", - "description": "

Parameters used for the commit_message_pattern rule type.

", - "type": "CommitMessagePatternParametersInput", - "id": "commitmessagepatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" - }, - { - "name": "committerEmailPattern", - "description": "

Parameters used for the committer_email_pattern rule type.

", - "type": "CommitterEmailPatternParametersInput", - "id": "committeremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" - }, - { - "name": "copilotCodeReview", - "description": "

Parameters used for the copilot_code_review rule type.

", - "type": "CopilotCodeReviewParametersInput", - "id": "copilotcodereviewparametersinput", - "href": "/graphql/reference/pulls#input-object-copilotcodereviewparametersinput" - }, - { - "name": "fileExtensionRestriction", - "description": "

Parameters used for the file_extension_restriction rule type.

", - "type": "FileExtensionRestrictionParametersInput", - "id": "fileextensionrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" - }, - { - "name": "filePathRestriction", - "description": "

Parameters used for the file_path_restriction rule type.

", - "type": "FilePathRestrictionParametersInput", - "id": "filepathrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" - }, - { - "name": "maxFilePathLength", - "description": "

Parameters used for the max_file_path_length rule type.

", - "type": "MaxFilePathLengthParametersInput", - "id": "maxfilepathlengthparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" - }, - { - "name": "maxFileSize", - "description": "

Parameters used for the max_file_size rule type.

", - "type": "MaxFileSizeParametersInput", - "id": "maxfilesizeparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" - }, - { - "name": "mergeQueue", - "description": "

Parameters used for the merge_queue rule type.

", - "type": "MergeQueueParametersInput", - "id": "mergequeueparametersinput", - "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" - }, - { - "name": "pullRequest", - "description": "

Parameters used for the pull_request rule type.

", - "type": "PullRequestParametersInput", - "id": "pullrequestparametersinput", - "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" - }, - { - "name": "requiredDeployments", - "description": "

Parameters used for the required_deployments rule type.

", - "type": "RequiredDeploymentsParametersInput", - "id": "requireddeploymentsparametersinput", - "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" - }, - { - "name": "requiredStatusChecks", - "description": "

Parameters used for the required_status_checks rule type.

", - "type": "RequiredStatusChecksParametersInput", - "id": "requiredstatuschecksparametersinput", - "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" - }, - { - "name": "tagNamePattern", - "description": "

Parameters used for the tag_name_pattern rule type.

", - "type": "TagNamePatternParametersInput", - "id": "tagnamepatternparametersinput", - "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" - }, - { - "name": "update", - "description": "

Parameters used for the update rule type.

", - "type": "UpdateParametersInput", - "id": "updateparametersinput", - "href": "/graphql/reference/repos#input-object-updateparametersinput" - }, - { - "name": "workflows", - "description": "

Parameters used for the workflows rule type.

", - "type": "WorkflowsParametersInput", - "id": "workflowsparametersinput", - "href": "/graphql/reference/actions#input-object-workflowsparametersinput" - } - ], - "category": "other" - }, { "name": "TeamDiscussionCommentOrder", "id": "teamdiscussioncommentorder", @@ -2292,29 +1460,6 @@ ], "category": "other" }, - { - "name": "TeamDiscussionOrder", - "id": "teamdiscussionorder", - "href": "/graphql/reference/other#input-object-teamdiscussionorder", - "description": "

Ways in which team discussion connections can be ordered.

", - "inputFields": [ - { - "name": "direction", - "description": "

The direction in which to order nodes.

", - "type": "OrderDirection!", - "id": "orderdirection", - "href": "/graphql/reference/meta#enum-orderdirection" - }, - { - "name": "field", - "description": "

The field by which to order nodes.

", - "type": "TeamDiscussionOrderField!", - "id": "teamdiscussionorderfield", - "href": "/graphql/reference/other#enum-teamdiscussionorderfield" - } - ], - "category": "other" - }, { "name": "UpdateEnterpriseTeamDiscussionsSettingInput", "id": "updateenterpriseteamdiscussionssettinginput", diff --git a/src/graphql/data/ghes-3.19/schema-pulls.json b/src/graphql/data/ghes-3.19/schema-pulls.json index d0d49458c097..1c47874461e1 100644 --- a/src/graphql/data/ghes-3.19/schema-pulls.json +++ b/src/graphql/data/ghes-3.19/schema-pulls.json @@ -3904,7 +3904,7 @@ "type": { "name": "[PullRequestTimelineItemsItemType!]", "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype" + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype" } }, { @@ -7531,6 +7531,291 @@ ], "category": "pulls" }, + { + "name": "PullRequestTimelineItemsItemType", + "id": "pullrequesttimelineitemsitemtype", + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_MERGE_QUEUE_EVENT", + "description": "

Represents anadded_to_merge_queueevent on a given pull request.

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

Represents aadded_to_projectevent on a given issue or pull request.

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

Represents anassignedevent on any assignable object.

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

Represents aautomatic_base_change_failedevent on a given pull request.

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

Represents aautomatic_base_change_succeededevent on a given pull request.

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

Represents aauto_merge_disabledevent on a given pull request.

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

Represents aauto_merge_enabledevent on a given pull request.

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

Represents aauto_rebase_enabledevent on a given pull request.

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

Represents aauto_squash_enabledevent on a given pull request.

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

Represents abase_ref_changedevent on a given issue or pull request.

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

Represents abase_ref_deletedevent on a given pull request.

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

Represents abase_ref_force_pushedevent on a given pull request.

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

Represents ablocked_by_addedevent on a given issue.

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

Represents ablocked_by_removedevent on a given issue.

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

Represents ablocking_addedevent on a given issue.

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

Represents ablocking_removedevent on a given issue.

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

Represents aclosedevent on any Closable.

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

Represents acomment_deletedevent on a given issue or pull request.

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

Represents aconnectedevent on a given issue or pull request.

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

Represents aconverted_note_to_issueevent on a given issue or pull request.

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

Represents aconverted_to_discussionevent on a given issue.

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

Represents aconvert_to_draftevent on a given pull request.

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

Represents a mention made by one issue or pull request to another.

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

Represents ademilestonedevent on a given issue or pull request.

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

Represents adeployedevent on a given pull request.

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

Represents adeployment_environment_changedevent on a given pull request.

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

Represents adisconnectedevent on a given issue or pull request.

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

Represents ahead_ref_deletedevent on a given pull request.

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

Represents ahead_ref_force_pushedevent on a given pull request.

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

Represents ahead_ref_restoredevent on a given pull request.

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

Represents a comment on an Issue.

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

Represents aissue_type_addedevent on a given issue.

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

Represents aissue_type_changedevent on a given issue.

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

Represents aissue_type_removedevent on a given issue.

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

Represents alabeledevent on a given issue or pull request.

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

Represents alockedevent on a given issue or pull request.

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

Represents amarked_as_duplicateevent on a given issue or pull request.

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

Represents amentionedevent on a given issue or pull request.

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

Represents amergedevent on a given pull request.

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

Represents amilestonedevent on a given issue or pull request.

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

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

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

Represents a Git commit part of a pull request.

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

Represents a commit comment thread part of a pull request.

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

A review object for a given pull request.

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

A threaded list of comments for a given pull request.

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

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

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

Represents aready_for_reviewevent on a given pull request.

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

Represents areferencedevent on a given ReferencedSubject.

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

Represents aremoved_from_merge_queueevent on a given pull request.

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

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

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

Represents areopenedevent on any Closable.

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

Represents areview_dismissedevent on a given issue or pull request.

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

Represents anreview_requestedevent on a given pull request.

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

Represents anreview_request_removedevent on a given pull request.

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

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

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

Represents anunassignedevent on any assignable object.

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

Represents anunlabeledevent on a given issue or pull request.

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

Represents anunlockedevent on a given issue or pull request.

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

Represents anunmarked_as_duplicateevent on a given issue or pull request.

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

Represents anunpinnedevent on a given issue or pull request.

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

Represents anunsubscribedevent on a given Subscribable.

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

Represents auser_blockedevent on a given user.

" + } + ], + "category": "pulls" + }, { "name": "PullRequestUpdateState", "id": "pullrequestupdatestate", diff --git a/src/graphql/data/ghes-3.19/schema-repos.json b/src/graphql/data/ghes-3.19/schema-repos.json index 9be1f80f50fd..09efebdc0f8f 100644 --- a/src/graphql/data/ghes-3.19/schema-repos.json +++ b/src/graphql/data/ghes-3.19/schema-repos.json @@ -6345,7 +6345,7 @@ "description": "

The parameters for this rule.

", "type": "RuleParameters", "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters" + "href": "/graphql/reference/repos#union-ruleparameters" }, { "name": "repositoryRuleset", @@ -6359,7 +6359,7 @@ "description": "

The type of rule.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -6610,7 +6610,7 @@ "type": { "name": "RepositoryRuleType", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } } ] @@ -8318,6 +8318,139 @@ ], "category": "repos" }, + { + "name": "RepositoryRuleType", + "id": "repositoryruletype", + "href": "/graphql/reference/repos#enum-repositoryruletype", + "description": "

The rule types supported in rulesets.

", + "values": [ + { + "name": "AUTHORIZATION", + "description": "

Authorization.

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

Branch name pattern.

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

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

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

Committer email pattern.

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

Commit author email pattern.

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

Commit message pattern.

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

Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.

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

Only allow users with bypass permission to create matching refs.

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

Only allow users with bypass permissions to delete matching refs.

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

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

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

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

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

Branch is read-only. Users cannot push to the branch.

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

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

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

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

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

Max ref updates.

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

Merges must be performed via a merge queue.

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

Merge queue locked ref.

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

Prevent users with push access from force pushing to refs.

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

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

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

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

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

Prevent merge commits from being pushed to matching refs.

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

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

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

Commits pushed to matching refs must have verified signatures.

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

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

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

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

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

Secret scanning.

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

Tag.

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

Tag name pattern.

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

Only allow users with bypass permission to update matching refs.

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

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

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

Workflow files cannot be modified.

" + } + ], + "category": "repos" + }, { "name": "RepositoryRulesetBypassActorBypassMode", "id": "repositoryrulesetbypassactorbypassmode", @@ -8482,6 +8615,100 @@ ], "category": "repos" }, + { + "name": "RuleParameters", + "id": "ruleparameters", + "href": "/graphql/reference/repos#union-ruleparameters", + "description": "

Types which can be parameters for RepositoryRule objects.

", + "possibleTypes": [ + { + "name": "BranchNamePatternParameters", + "id": "branchnamepatternparameters", + "href": "/graphql/reference/branches#object-branchnamepatternparameters" + }, + { + "name": "CodeScanningParameters", + "id": "codescanningparameters", + "href": "/graphql/reference/repos#object-codescanningparameters" + }, + { + "name": "CommitAuthorEmailPatternParameters", + "id": "commitauthoremailpatternparameters", + "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" + }, + { + "name": "CommitMessagePatternParameters", + "id": "commitmessagepatternparameters", + "href": "/graphql/reference/commits#object-commitmessagepatternparameters" + }, + { + "name": "CommitterEmailPatternParameters", + "id": "committeremailpatternparameters", + "href": "/graphql/reference/commits#object-committeremailpatternparameters" + }, + { + "name": "CopilotCodeReviewParameters", + "id": "copilotcodereviewparameters", + "href": "/graphql/reference/pulls#object-copilotcodereviewparameters" + }, + { + "name": "FileExtensionRestrictionParameters", + "id": "fileextensionrestrictionparameters", + "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" + }, + { + "name": "FilePathRestrictionParameters", + "id": "filepathrestrictionparameters", + "href": "/graphql/reference/repos#object-filepathrestrictionparameters" + }, + { + "name": "MaxFilePathLengthParameters", + "id": "maxfilepathlengthparameters", + "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" + }, + { + "name": "MaxFileSizeParameters", + "id": "maxfilesizeparameters", + "href": "/graphql/reference/repos#object-maxfilesizeparameters" + }, + { + "name": "MergeQueueParameters", + "id": "mergequeueparameters", + "href": "/graphql/reference/pulls#object-mergequeueparameters" + }, + { + "name": "PullRequestParameters", + "id": "pullrequestparameters", + "href": "/graphql/reference/pulls#object-pullrequestparameters" + }, + { + "name": "RequiredDeploymentsParameters", + "id": "requireddeploymentsparameters", + "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" + }, + { + "name": "RequiredStatusChecksParameters", + "id": "requiredstatuschecksparameters", + "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" + }, + { + "name": "TagNamePatternParameters", + "id": "tagnamepatternparameters", + "href": "/graphql/reference/repos#object-tagnamepatternparameters" + }, + { + "name": "UpdateParameters", + "id": "updateparameters", + "href": "/graphql/reference/repos#object-updateparameters" + }, + { + "name": "WorkflowsParameters", + "id": "workflowsparameters", + "href": "/graphql/reference/actions#object-workflowsparameters" + } + ], + "category": "repos" + }, { "name": "RuleSource", "id": "rulesource", @@ -9097,14 +9324,14 @@ "description": "

The parameters for the rule.

", "type": "RuleParametersInput", "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput" + "href": "/graphql/reference/repos#input-object-ruleparametersinput" }, { "name": "type", "description": "

The type of rule to create.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -9183,6 +9410,134 @@ ], "category": "repos" }, + { + "name": "RuleParametersInput", + "id": "ruleparametersinput", + "href": "/graphql/reference/repos#input-object-ruleparametersinput", + "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

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

Parameters used for the branch_name_pattern rule type.

", + "type": "BranchNamePatternParametersInput", + "id": "branchnamepatternparametersinput", + "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" + }, + { + "name": "codeScanning", + "description": "

Parameters used for the code_scanning rule type.

", + "type": "CodeScanningParametersInput", + "id": "codescanningparametersinput", + "href": "/graphql/reference/repos#input-object-codescanningparametersinput" + }, + { + "name": "commitAuthorEmailPattern", + "description": "

Parameters used for the commit_author_email_pattern rule type.

", + "type": "CommitAuthorEmailPatternParametersInput", + "id": "commitauthoremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" + }, + { + "name": "commitMessagePattern", + "description": "

Parameters used for the commit_message_pattern rule type.

", + "type": "CommitMessagePatternParametersInput", + "id": "commitmessagepatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" + }, + { + "name": "committerEmailPattern", + "description": "

Parameters used for the committer_email_pattern rule type.

", + "type": "CommitterEmailPatternParametersInput", + "id": "committeremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" + }, + { + "name": "copilotCodeReview", + "description": "

Parameters used for the copilot_code_review rule type.

", + "type": "CopilotCodeReviewParametersInput", + "id": "copilotcodereviewparametersinput", + "href": "/graphql/reference/pulls#input-object-copilotcodereviewparametersinput" + }, + { + "name": "fileExtensionRestriction", + "description": "

Parameters used for the file_extension_restriction rule type.

", + "type": "FileExtensionRestrictionParametersInput", + "id": "fileextensionrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" + }, + { + "name": "filePathRestriction", + "description": "

Parameters used for the file_path_restriction rule type.

", + "type": "FilePathRestrictionParametersInput", + "id": "filepathrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" + }, + { + "name": "maxFilePathLength", + "description": "

Parameters used for the max_file_path_length rule type.

", + "type": "MaxFilePathLengthParametersInput", + "id": "maxfilepathlengthparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" + }, + { + "name": "maxFileSize", + "description": "

Parameters used for the max_file_size rule type.

", + "type": "MaxFileSizeParametersInput", + "id": "maxfilesizeparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" + }, + { + "name": "mergeQueue", + "description": "

Parameters used for the merge_queue rule type.

", + "type": "MergeQueueParametersInput", + "id": "mergequeueparametersinput", + "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" + }, + { + "name": "pullRequest", + "description": "

Parameters used for the pull_request rule type.

", + "type": "PullRequestParametersInput", + "id": "pullrequestparametersinput", + "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" + }, + { + "name": "requiredDeployments", + "description": "

Parameters used for the required_deployments rule type.

", + "type": "RequiredDeploymentsParametersInput", + "id": "requireddeploymentsparametersinput", + "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" + }, + { + "name": "requiredStatusChecks", + "description": "

Parameters used for the required_status_checks rule type.

", + "type": "RequiredStatusChecksParametersInput", + "id": "requiredstatuschecksparametersinput", + "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" + }, + { + "name": "tagNamePattern", + "description": "

Parameters used for the tag_name_pattern rule type.

", + "type": "TagNamePatternParametersInput", + "id": "tagnamepatternparametersinput", + "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" + }, + { + "name": "update", + "description": "

Parameters used for the update rule type.

", + "type": "UpdateParametersInput", + "id": "updateparametersinput", + "href": "/graphql/reference/repos#input-object-updateparametersinput" + }, + { + "name": "workflows", + "description": "

Parameters used for the workflows rule type.

", + "type": "WorkflowsParametersInput", + "id": "workflowsparametersinput", + "href": "/graphql/reference/actions#input-object-workflowsparametersinput" + } + ], + "category": "repos" + }, { "name": "TagNamePatternParametersInput", "id": "tagnamepatternparametersinput", diff --git a/src/graphql/data/ghes-3.19/schema-teams.json b/src/graphql/data/ghes-3.19/schema-teams.json index f467663eef91..cbfe22fa8327 100644 --- a/src/graphql/data/ghes-3.19/schema-teams.json +++ b/src/graphql/data/ghes-3.19/schema-teams.json @@ -400,7 +400,7 @@ "type": { "name": "TeamDiscussionOrder", "id": "teamdiscussionorder", - "href": "/graphql/reference/other#input-object-teamdiscussionorder" + "href": "/graphql/reference/teams#input-object-teamdiscussionorder" } } ] @@ -2335,6 +2335,19 @@ } ], "enums": [ + { + "name": "TeamDiscussionOrderField", + "id": "teamdiscussionorderfield", + "href": "/graphql/reference/teams#enum-teamdiscussionorderfield", + "description": "

Properties by which team discussion connections can be ordered.

", + "values": [ + { + "name": "CREATED_AT", + "description": "

Allows chronological ordering of team discussions.

" + } + ], + "category": "teams" + }, { "name": "TeamMemberOrderField", "id": "teammemberorderfield", @@ -2506,6 +2519,29 @@ } ], "inputObjects": [ + { + "name": "TeamDiscussionOrder", + "id": "teamdiscussionorder", + "href": "/graphql/reference/teams#input-object-teamdiscussionorder", + "description": "

Ways in which team discussion connections can be ordered.

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

The direction in which to order nodes.

", + "type": "OrderDirection!", + "id": "orderdirection", + "href": "/graphql/reference/meta#enum-orderdirection" + }, + { + "name": "field", + "description": "

The field by which to order nodes.

", + "type": "TeamDiscussionOrderField!", + "id": "teamdiscussionorderfield", + "href": "/graphql/reference/teams#enum-teamdiscussionorderfield" + } + ], + "category": "teams" + }, { "name": "TeamMemberOrder", "id": "teammemberorder", diff --git a/src/graphql/data/ghes-3.20/category-map.json b/src/graphql/data/ghes-3.20/category-map.json index cfd20f2062fd..c975a22af8e5 100644 --- a/src/graphql/data/ghes-3.20/category-map.json +++ b/src/graphql/data/ghes-3.20/category-map.json @@ -1004,11 +1004,7 @@ "samldigestalgorithm": "enterprise-admin", "samlsignaturealgorithm": "enterprise-admin", "twofactorcredentialsecuritytype": "enterprise-admin", - "issuetimelineitemsitemtype": "other", - "pullrequesttimelineitemsitemtype": "other", - "repositoryruletype": "other", "teamdiscussioncommentorderfield": "other", - "teamdiscussionorderfield": "other", "orgaddmemberauditentrypermission": "orgs", "orgcreateauditentrybillingplan": "orgs", "orgenterpriseownerorderfield": "orgs", @@ -1050,6 +1046,7 @@ "repositorypermission": "repos", "repositoryprivacy": "repos", "repositoryruleorderfield": "repos", + "repositoryruletype": "repos", "repositoryrulesetbypassactorbypassmode": "repos", "repositoryrulesettarget": "repos", "repositorysuggestedactorfilter": "repos", @@ -1083,6 +1080,7 @@ "issueorderfield": "issues", "issuestate": "issues", "issuestatereason": "issues", + "issuetimelineitemsitemtype": "issues", "issuetypecolor": "issues", "issuetypeorderfield": "issues", "labelorderfield": "issues", @@ -1137,6 +1135,7 @@ "pullrequestreviewstate": "pulls", "pullrequestreviewthreadsubjecttype": "pulls", "pullrequeststate": "pulls", + "pullrequesttimelineitemsitemtype": "pulls", "pullrequestupdatestate": "pulls", "reactioncontent": "reactions", "reactionorderfield": "reactions", @@ -1171,6 +1170,7 @@ "dismissreason": "dependabot", "repositoryvulnerabilityalertdependencyscope": "dependabot", "repositoryvulnerabilityalertstate": "dependabot", + "teamdiscussionorderfield": "teams", "teammemberorderfield": "teams", "teammemberrole": "teams", "teammembershiptype": "teams", @@ -1191,13 +1191,13 @@ "auditentryactor": "enterprise-admin", "enterprisemember": "enterprise-admin", "ipallowlistowner": "enterprise-admin", - "ruleparameters": "other", "orgrestorememberauditentrymembership": "orgs", "organizationauditentry": "orgs", "permissiongranter": "orgs", "verifiabledomainowner": "orgs", "bypassactor": "repos", "custompropertysource": "repos", + "ruleparameters": "repos", "rulesource": "repos", "searchresultitem": "search", "claimable": "users", @@ -1273,9 +1273,7 @@ "createteamdiscussioninput": "other", "deleteteamdiscussioncommentinput": "other", "deleteteamdiscussioninput": "other", - "ruleparametersinput": "other", "teamdiscussioncommentorder": "other", - "teamdiscussionorder": "other", "updateenterpriseteamdiscussionssettinginput": "other", "updateteamdiscussioncommentinput": "other", "updateteamdiscussioninput": "other", @@ -1320,6 +1318,7 @@ "repositoryruleinput": "repos", "repositoryruleorder": "repos", "repositoryrulesetbypassactorinput": "repos", + "ruleparametersinput": "repos", "setrepositorycustompropertyvaluesinput": "repos", "tagnamepatternparametersinput": "repos", "unarchiverepositoryinput": "repos", @@ -1569,6 +1568,7 @@ "packageorder": "packages", "packageversionorder": "packages", "dismissrepositoryvulnerabilityalertinput": "dependabot", + "teamdiscussionorder": "teams", "teammemberorder": "teams", "teamorder": "teams", "teamrepositoryorder": "teams", diff --git a/src/graphql/data/ghes-3.20/schema-issues.json b/src/graphql/data/ghes-3.20/schema-issues.json index 39cb9b30306c..789e86289fcc 100644 --- a/src/graphql/data/ghes-3.20/schema-issues.json +++ b/src/graphql/data/ghes-3.20/schema-issues.json @@ -3266,7 +3266,7 @@ "type": { "name": "[IssueTimelineItemsItemType!]", "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype" + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype" } }, { @@ -7421,6 +7421,211 @@ ], "category": "issues" }, + { + "name": "IssueTimelineItemsItemType", + "id": "issuetimelineitemsitemtype", + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_PROJECT_EVENT", + "description": "

Represents aadded_to_projectevent on a given issue or pull request.

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

Represents aadded_to_project_v2event on a given issue or pull request.

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

Represents anassignedevent on any assignable object.

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

Represents ablocked_by_addedevent on a given issue.

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

Represents ablocked_by_removedevent on a given issue.

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

Represents ablocking_addedevent on a given issue.

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

Represents ablocking_removedevent on a given issue.

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

Represents aclosedevent on any Closable.

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

Represents acomment_deletedevent on a given issue or pull request.

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

Represents aconnectedevent on a given issue or pull request.

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

Represents aconverted_from_draftevent on a given issue or pull request.

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

Represents aconverted_note_to_issueevent on a given issue or pull request.

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

Represents aconverted_to_discussionevent on a given issue.

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

Represents a mention made by one issue or pull request to another.

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

Represents ademilestonedevent on a given issue or pull request.

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

Represents adisconnectedevent on a given issue or pull request.

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

Represents a comment on an Issue.

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

Represents aissue_field_addedevent on a given issue.

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

Represents aissue_field_changedevent on a given issue.

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

Represents aissue_field_removedevent on a given issue.

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

Represents aissue_type_addedevent on a given issue.

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

Represents aissue_type_changedevent on a given issue.

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

Represents aissue_type_removedevent on a given issue.

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

Represents alabeledevent on a given issue or pull request.

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

Represents alockedevent on a given issue or pull request.

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

Represents amarked_as_duplicateevent on a given issue or pull request.

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

Represents amentionedevent on a given issue or pull request.

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

Represents amilestonedevent on a given issue or pull request.

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

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

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

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

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

Represents areferencedevent on a given ReferencedSubject.

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

Represents aremoved_from_projectevent on a given issue or pull request.

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

Represents aremoved_from_project_v2event on a given issue or pull request.

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

Represents arenamedevent on a given issue or pull request.

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

Represents areopenedevent on any Closable.

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

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

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

Represents anunassignedevent on any assignable object.

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

Represents anunlabeledevent on a given issue or pull request.

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

Represents anunlockedevent on a given issue or pull request.

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

Represents anunmarked_as_duplicateevent on a given issue or pull request.

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

Represents anunpinnedevent on a given issue or pull request.

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

Represents anunsubscribedevent on a given Subscribable.

" + }, + { + "name": "USER_BLOCKED_EVENT", + "description": "

Represents auser_blockedevent on a given user.

" + } + ], + "category": "issues" + }, { "name": "IssueTypeColor", "id": "issuetypecolor", diff --git a/src/graphql/data/ghes-3.20/schema-other.json b/src/graphql/data/ghes-3.20/schema-other.json index b888ca7b1cf2..7eb9f87fa8f1 100644 --- a/src/graphql/data/ghes-3.20/schema-other.json +++ b/src/graphql/data/ghes-3.20/schema-other.json @@ -1267,657 +1267,6 @@ } ], "enums": [ - { - "name": "IssueTimelineItemsItemType", - "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_V2_EVENT", - "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "BLOCKED_BY_ADDED_EVENT", - "description": "

Represents ablocked_by_addedevent on a given issue.

" - }, - { - "name": "BLOCKED_BY_REMOVED_EVENT", - "description": "

Represents ablocked_by_removedevent on a given issue.

" - }, - { - "name": "BLOCKING_ADDED_EVENT", - "description": "

Represents ablocking_addedevent on a given issue.

" - }, - { - "name": "BLOCKING_REMOVED_EVENT", - "description": "

Represents ablocking_removedevent on a given issue.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_FROM_DRAFT_EVENT", - "description": "

Represents aconverted_from_draftevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "ISSUE_FIELD_ADDED_EVENT", - "description": "

Represents aissue_field_addedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_CHANGED_EVENT", - "description": "

Represents aissue_field_changedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_REMOVED_EVENT", - "description": "

Represents aissue_field_removedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_ADDED_EVENT", - "description": "

Represents aissue_type_addedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_CHANGED_EVENT", - "description": "

Represents aissue_type_changedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_REMOVED_EVENT", - "description": "

Represents aissue_type_removedevent on a given issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", - "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_V2_EVENT", - "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

" - }, - { - "name": "RENAMED_TITLE_EVENT", - "description": "

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "PullRequestTimelineItemsItemType", - "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_MERGE_QUEUE_EVENT", - "description": "

Represents anadded_to_merge_queueevent on a given pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_V2_EVENT", - "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_FAILED_EVENT", - "description": "

Represents aautomatic_base_change_failedevent on a given pull request.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT", - "description": "

Represents aautomatic_base_change_succeededevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_DISABLED_EVENT", - "description": "

Represents aauto_merge_disabledevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_ENABLED_EVENT", - "description": "

Represents aauto_merge_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_REBASE_ENABLED_EVENT", - "description": "

Represents aauto_rebase_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_SQUASH_ENABLED_EVENT", - "description": "

Represents aauto_squash_enabledevent on a given pull request.

" - }, - { - "name": "BASE_REF_CHANGED_EVENT", - "description": "

Represents abase_ref_changedevent on a given issue or pull request.

" - }, - { - "name": "BASE_REF_DELETED_EVENT", - "description": "

Represents abase_ref_deletedevent on a given pull request.

" - }, - { - "name": "BASE_REF_FORCE_PUSHED_EVENT", - "description": "

Represents abase_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "BLOCKED_BY_ADDED_EVENT", - "description": "

Represents ablocked_by_addedevent on a given issue.

" - }, - { - "name": "BLOCKED_BY_REMOVED_EVENT", - "description": "

Represents ablocked_by_removedevent on a given issue.

" - }, - { - "name": "BLOCKING_ADDED_EVENT", - "description": "

Represents ablocking_addedevent on a given issue.

" - }, - { - "name": "BLOCKING_REMOVED_EVENT", - "description": "

Represents ablocking_removedevent on a given issue.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_FROM_DRAFT_EVENT", - "description": "

Represents aconverted_from_draftevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CONVERT_TO_DRAFT_EVENT", - "description": "

Represents aconvert_to_draftevent on a given pull request.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DEPLOYED_EVENT", - "description": "

Represents adeployedevent on a given pull request.

" - }, - { - "name": "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT", - "description": "

Represents adeployment_environment_changedevent on a given pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "HEAD_REF_DELETED_EVENT", - "description": "

Represents ahead_ref_deletedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_FORCE_PUSHED_EVENT", - "description": "

Represents ahead_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_RESTORED_EVENT", - "description": "

Represents ahead_ref_restoredevent on a given pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "ISSUE_FIELD_ADDED_EVENT", - "description": "

Represents aissue_field_addedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_CHANGED_EVENT", - "description": "

Represents aissue_field_changedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_REMOVED_EVENT", - "description": "

Represents aissue_field_removedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_ADDED_EVENT", - "description": "

Represents aissue_type_addedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_CHANGED_EVENT", - "description": "

Represents aissue_type_changedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_REMOVED_EVENT", - "description": "

Represents aissue_type_removedevent on a given issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MERGED_EVENT", - "description": "

Represents amergedevent on a given pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", - "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT", - "description": "

Represents a Git commit part of a pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT_COMMENT_THREAD", - "description": "

Represents a commit comment thread part of a pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW", - "description": "

A review object for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW_THREAD", - "description": "

A threaded list of comments for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVISION_MARKER", - "description": "

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

" - }, - { - "name": "READY_FOR_REVIEW_EVENT", - "description": "

Represents aready_for_reviewevent on a given pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_MERGE_QUEUE_EVENT", - "description": "

Represents aremoved_from_merge_queueevent on a given pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_V2_EVENT", - "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

" - }, - { - "name": "RENAMED_TITLE_EVENT", - "description": "

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "REVIEW_DISMISSED_EVENT", - "description": "

Represents areview_dismissedevent on a given issue or pull request.

" - }, - { - "name": "REVIEW_REQUESTED_EVENT", - "description": "

Represents anreview_requestedevent on a given pull request.

" - }, - { - "name": "REVIEW_REQUEST_REMOVED_EVENT", - "description": "

Represents anreview_request_removedevent on a given pull request.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "RepositoryRuleType", - "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype", - "description": "

The rule types supported in rulesets.

", - "values": [ - { - "name": "AUTHORIZATION", - "description": "

Authorization.

" - }, - { - "name": "BRANCH_NAME_PATTERN", - "description": "

Branch name pattern.

" - }, - { - "name": "CODE_SCANNING", - "description": "

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

" - }, - { - "name": "COMMITTER_EMAIL_PATTERN", - "description": "

Committer email pattern.

" - }, - { - "name": "COMMIT_AUTHOR_EMAIL_PATTERN", - "description": "

Commit author email pattern.

" - }, - { - "name": "COMMIT_MESSAGE_PATTERN", - "description": "

Commit message pattern.

" - }, - { - "name": "COPILOT_CODE_REVIEW", - "description": "

Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.

" - }, - { - "name": "CREATION", - "description": "

Only allow users with bypass permission to create matching refs.

" - }, - { - "name": "DELETION", - "description": "

Only allow users with bypass permissions to delete matching refs.

" - }, - { - "name": "FILE_EXTENSION_RESTRICTION", - "description": "

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

" - }, - { - "name": "FILE_PATH_RESTRICTION", - "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

" - }, - { - "name": "LOCK_BRANCH", - "description": "

Branch is read-only. Users cannot push to the branch.

" - }, - { - "name": "MAX_FILE_PATH_LENGTH", - "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_FILE_SIZE", - "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_REF_UPDATES", - "description": "

Max ref updates.

" - }, - { - "name": "MERGE_QUEUE", - "description": "

Merges must be performed via a merge queue.

" - }, - { - "name": "MERGE_QUEUE_LOCKED_REF", - "description": "

Merge queue locked ref.

" - }, - { - "name": "NON_FAST_FORWARD", - "description": "

Prevent users with push access from force pushing to refs.

" - }, - { - "name": "PULL_REQUEST", - "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

" - }, - { - "name": "REQUIRED_DEPLOYMENTS", - "description": "

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

" - }, - { - "name": "REQUIRED_LINEAR_HISTORY", - "description": "

Prevent merge commits from being pushed to matching refs.

" - }, - { - "name": "REQUIRED_REVIEW_THREAD_RESOLUTION", - "description": "

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

" - }, - { - "name": "REQUIRED_SIGNATURES", - "description": "

Commits pushed to matching refs must have verified signatures.

" - }, - { - "name": "REQUIRED_STATUS_CHECKS", - "description": "

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

" - }, - { - "name": "REQUIRED_WORKFLOW_STATUS_CHECKS", - "description": "

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

" - }, - { - "name": "SECRET_SCANNING", - "description": "

Secret scanning.

" - }, - { - "name": "TAG", - "description": "

Tag.

" - }, - { - "name": "TAG_NAME_PATTERN", - "description": "

Tag name pattern.

" - }, - { - "name": "UPDATE", - "description": "

Only allow users with bypass permission to update matching refs.

" - }, - { - "name": "WORKFLOWS", - "description": "

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

" - }, - { - "name": "WORKFLOW_UPDATES", - "description": "

Workflow files cannot be modified.

" - } - ], - "category": "other" - }, { "name": "TeamDiscussionCommentOrderField", "id": "teamdiscussioncommentorderfield", @@ -1930,115 +1279,6 @@ } ], "category": "other" - }, - { - "name": "TeamDiscussionOrderField", - "id": "teamdiscussionorderfield", - "href": "/graphql/reference/other#enum-teamdiscussionorderfield", - "description": "

Properties by which team discussion connections can be ordered.

", - "values": [ - { - "name": "CREATED_AT", - "description": "

Allows chronological ordering of team discussions.

" - } - ], - "category": "other" - } - ], - "unions": [ - { - "name": "RuleParameters", - "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters", - "description": "

Types which can be parameters for RepositoryRule objects.

", - "possibleTypes": [ - { - "name": "BranchNamePatternParameters", - "id": "branchnamepatternparameters", - "href": "/graphql/reference/branches#object-branchnamepatternparameters" - }, - { - "name": "CodeScanningParameters", - "id": "codescanningparameters", - "href": "/graphql/reference/repos#object-codescanningparameters" - }, - { - "name": "CommitAuthorEmailPatternParameters", - "id": "commitauthoremailpatternparameters", - "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" - }, - { - "name": "CommitMessagePatternParameters", - "id": "commitmessagepatternparameters", - "href": "/graphql/reference/commits#object-commitmessagepatternparameters" - }, - { - "name": "CommitterEmailPatternParameters", - "id": "committeremailpatternparameters", - "href": "/graphql/reference/commits#object-committeremailpatternparameters" - }, - { - "name": "CopilotCodeReviewParameters", - "id": "copilotcodereviewparameters", - "href": "/graphql/reference/pulls#object-copilotcodereviewparameters" - }, - { - "name": "FileExtensionRestrictionParameters", - "id": "fileextensionrestrictionparameters", - "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" - }, - { - "name": "FilePathRestrictionParameters", - "id": "filepathrestrictionparameters", - "href": "/graphql/reference/repos#object-filepathrestrictionparameters" - }, - { - "name": "MaxFilePathLengthParameters", - "id": "maxfilepathlengthparameters", - "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" - }, - { - "name": "MaxFileSizeParameters", - "id": "maxfilesizeparameters", - "href": "/graphql/reference/repos#object-maxfilesizeparameters" - }, - { - "name": "MergeQueueParameters", - "id": "mergequeueparameters", - "href": "/graphql/reference/pulls#object-mergequeueparameters" - }, - { - "name": "PullRequestParameters", - "id": "pullrequestparameters", - "href": "/graphql/reference/pulls#object-pullrequestparameters" - }, - { - "name": "RequiredDeploymentsParameters", - "id": "requireddeploymentsparameters", - "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" - }, - { - "name": "RequiredStatusChecksParameters", - "id": "requiredstatuschecksparameters", - "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" - }, - { - "name": "TagNamePatternParameters", - "id": "tagnamepatternparameters", - "href": "/graphql/reference/repos#object-tagnamepatternparameters" - }, - { - "name": "UpdateParameters", - "id": "updateparameters", - "href": "/graphql/reference/repos#object-updateparameters" - }, - { - "name": "WorkflowsParameters", - "id": "workflowsparameters", - "href": "/graphql/reference/actions#object-workflowsparameters" - } - ], - "category": "other" } ], "inputObjects": [ @@ -2197,134 +1437,6 @@ ], "category": "other" }, - { - "name": "RuleParametersInput", - "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput", - "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

", - "inputFields": [ - { - "name": "branchNamePattern", - "description": "

Parameters used for the branch_name_pattern rule type.

", - "type": "BranchNamePatternParametersInput", - "id": "branchnamepatternparametersinput", - "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" - }, - { - "name": "codeScanning", - "description": "

Parameters used for the code_scanning rule type.

", - "type": "CodeScanningParametersInput", - "id": "codescanningparametersinput", - "href": "/graphql/reference/repos#input-object-codescanningparametersinput" - }, - { - "name": "commitAuthorEmailPattern", - "description": "

Parameters used for the commit_author_email_pattern rule type.

", - "type": "CommitAuthorEmailPatternParametersInput", - "id": "commitauthoremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" - }, - { - "name": "commitMessagePattern", - "description": "

Parameters used for the commit_message_pattern rule type.

", - "type": "CommitMessagePatternParametersInput", - "id": "commitmessagepatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" - }, - { - "name": "committerEmailPattern", - "description": "

Parameters used for the committer_email_pattern rule type.

", - "type": "CommitterEmailPatternParametersInput", - "id": "committeremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" - }, - { - "name": "copilotCodeReview", - "description": "

Parameters used for the copilot_code_review rule type.

", - "type": "CopilotCodeReviewParametersInput", - "id": "copilotcodereviewparametersinput", - "href": "/graphql/reference/pulls#input-object-copilotcodereviewparametersinput" - }, - { - "name": "fileExtensionRestriction", - "description": "

Parameters used for the file_extension_restriction rule type.

", - "type": "FileExtensionRestrictionParametersInput", - "id": "fileextensionrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" - }, - { - "name": "filePathRestriction", - "description": "

Parameters used for the file_path_restriction rule type.

", - "type": "FilePathRestrictionParametersInput", - "id": "filepathrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" - }, - { - "name": "maxFilePathLength", - "description": "

Parameters used for the max_file_path_length rule type.

", - "type": "MaxFilePathLengthParametersInput", - "id": "maxfilepathlengthparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" - }, - { - "name": "maxFileSize", - "description": "

Parameters used for the max_file_size rule type.

", - "type": "MaxFileSizeParametersInput", - "id": "maxfilesizeparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" - }, - { - "name": "mergeQueue", - "description": "

Parameters used for the merge_queue rule type.

", - "type": "MergeQueueParametersInput", - "id": "mergequeueparametersinput", - "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" - }, - { - "name": "pullRequest", - "description": "

Parameters used for the pull_request rule type.

", - "type": "PullRequestParametersInput", - "id": "pullrequestparametersinput", - "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" - }, - { - "name": "requiredDeployments", - "description": "

Parameters used for the required_deployments rule type.

", - "type": "RequiredDeploymentsParametersInput", - "id": "requireddeploymentsparametersinput", - "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" - }, - { - "name": "requiredStatusChecks", - "description": "

Parameters used for the required_status_checks rule type.

", - "type": "RequiredStatusChecksParametersInput", - "id": "requiredstatuschecksparametersinput", - "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" - }, - { - "name": "tagNamePattern", - "description": "

Parameters used for the tag_name_pattern rule type.

", - "type": "TagNamePatternParametersInput", - "id": "tagnamepatternparametersinput", - "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" - }, - { - "name": "update", - "description": "

Parameters used for the update rule type.

", - "type": "UpdateParametersInput", - "id": "updateparametersinput", - "href": "/graphql/reference/repos#input-object-updateparametersinput" - }, - { - "name": "workflows", - "description": "

Parameters used for the workflows rule type.

", - "type": "WorkflowsParametersInput", - "id": "workflowsparametersinput", - "href": "/graphql/reference/actions#input-object-workflowsparametersinput" - } - ], - "category": "other" - }, { "name": "TeamDiscussionCommentOrder", "id": "teamdiscussioncommentorder", @@ -2348,29 +1460,6 @@ ], "category": "other" }, - { - "name": "TeamDiscussionOrder", - "id": "teamdiscussionorder", - "href": "/graphql/reference/other#input-object-teamdiscussionorder", - "description": "

Ways in which team discussion connections can be ordered.

", - "inputFields": [ - { - "name": "direction", - "description": "

The direction in which to order nodes.

", - "type": "OrderDirection!", - "id": "orderdirection", - "href": "/graphql/reference/meta#enum-orderdirection" - }, - { - "name": "field", - "description": "

The field by which to order nodes.

", - "type": "TeamDiscussionOrderField!", - "id": "teamdiscussionorderfield", - "href": "/graphql/reference/other#enum-teamdiscussionorderfield" - } - ], - "category": "other" - }, { "name": "UpdateEnterpriseTeamDiscussionsSettingInput", "id": "updateenterpriseteamdiscussionssettinginput", diff --git a/src/graphql/data/ghes-3.20/schema-pulls.json b/src/graphql/data/ghes-3.20/schema-pulls.json index 26ba45d1c88a..e5fb9ad34d7d 100644 --- a/src/graphql/data/ghes-3.20/schema-pulls.json +++ b/src/graphql/data/ghes-3.20/schema-pulls.json @@ -4005,7 +4005,7 @@ "type": { "name": "[PullRequestTimelineItemsItemType!]", "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype" + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype" } }, { @@ -7752,6 +7752,319 @@ ], "category": "pulls" }, + { + "name": "PullRequestTimelineItemsItemType", + "id": "pullrequesttimelineitemsitemtype", + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_MERGE_QUEUE_EVENT", + "description": "

Represents anadded_to_merge_queueevent on a given pull request.

" + }, + { + "name": "ADDED_TO_PROJECT_EVENT", + "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" + }, + { + "name": "ADDED_TO_PROJECT_V2_EVENT", + "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

" + }, + { + "name": "ASSIGNED_EVENT", + "description": "

Represents anassignedevent on any assignable object.

" + }, + { + "name": "AUTOMATIC_BASE_CHANGE_FAILED_EVENT", + "description": "

Represents aautomatic_base_change_failedevent on a given pull request.

" + }, + { + "name": "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT", + "description": "

Represents aautomatic_base_change_succeededevent on a given pull request.

" + }, + { + "name": "AUTO_MERGE_DISABLED_EVENT", + "description": "

Represents aauto_merge_disabledevent on a given pull request.

" + }, + { + "name": "AUTO_MERGE_ENABLED_EVENT", + "description": "

Represents aauto_merge_enabledevent on a given pull request.

" + }, + { + "name": "AUTO_REBASE_ENABLED_EVENT", + "description": "

Represents aauto_rebase_enabledevent on a given pull request.

" + }, + { + "name": "AUTO_SQUASH_ENABLED_EVENT", + "description": "

Represents aauto_squash_enabledevent on a given pull request.

" + }, + { + "name": "BASE_REF_CHANGED_EVENT", + "description": "

Represents abase_ref_changedevent on a given issue or pull request.

" + }, + { + "name": "BASE_REF_DELETED_EVENT", + "description": "

Represents abase_ref_deletedevent on a given pull request.

" + }, + { + "name": "BASE_REF_FORCE_PUSHED_EVENT", + "description": "

Represents abase_ref_force_pushedevent on a given pull request.

" + }, + { + "name": "BLOCKED_BY_ADDED_EVENT", + "description": "

Represents ablocked_by_addedevent on a given issue.

" + }, + { + "name": "BLOCKED_BY_REMOVED_EVENT", + "description": "

Represents ablocked_by_removedevent on a given issue.

" + }, + { + "name": "BLOCKING_ADDED_EVENT", + "description": "

Represents ablocking_addedevent on a given issue.

" + }, + { + "name": "BLOCKING_REMOVED_EVENT", + "description": "

Represents ablocking_removedevent on a given issue.

" + }, + { + "name": "CLOSED_EVENT", + "description": "

Represents aclosedevent on any Closable.

" + }, + { + "name": "COMMENT_DELETED_EVENT", + "description": "

Represents acomment_deletedevent on a given issue or pull request.

" + }, + { + "name": "CONNECTED_EVENT", + "description": "

Represents aconnectedevent on a given issue or pull request.

" + }, + { + "name": "CONVERTED_FROM_DRAFT_EVENT", + "description": "

Represents aconverted_from_draftevent on a given issue or pull request.

" + }, + { + "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", + "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" + }, + { + "name": "CONVERTED_TO_DISCUSSION_EVENT", + "description": "

Represents aconverted_to_discussionevent on a given issue.

" + }, + { + "name": "CONVERT_TO_DRAFT_EVENT", + "description": "

Represents aconvert_to_draftevent on a given pull request.

" + }, + { + "name": "CROSS_REFERENCED_EVENT", + "description": "

Represents a mention made by one issue or pull request to another.

" + }, + { + "name": "DEMILESTONED_EVENT", + "description": "

Represents ademilestonedevent on a given issue or pull request.

" + }, + { + "name": "DEPLOYED_EVENT", + "description": "

Represents adeployedevent on a given pull request.

" + }, + { + "name": "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT", + "description": "

Represents adeployment_environment_changedevent on a given pull request.

" + }, + { + "name": "DISCONNECTED_EVENT", + "description": "

Represents adisconnectedevent on a given issue or pull request.

" + }, + { + "name": "HEAD_REF_DELETED_EVENT", + "description": "

Represents ahead_ref_deletedevent on a given pull request.

" + }, + { + "name": "HEAD_REF_FORCE_PUSHED_EVENT", + "description": "

Represents ahead_ref_force_pushedevent on a given pull request.

" + }, + { + "name": "HEAD_REF_RESTORED_EVENT", + "description": "

Represents ahead_ref_restoredevent on a given pull request.

" + }, + { + "name": "ISSUE_COMMENT", + "description": "

Represents a comment on an Issue.

" + }, + { + "name": "ISSUE_FIELD_ADDED_EVENT", + "description": "

Represents aissue_field_addedevent on a given issue.

" + }, + { + "name": "ISSUE_FIELD_CHANGED_EVENT", + "description": "

Represents aissue_field_changedevent on a given issue.

" + }, + { + "name": "ISSUE_FIELD_REMOVED_EVENT", + "description": "

Represents aissue_field_removedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_ADDED_EVENT", + "description": "

Represents aissue_type_addedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_CHANGED_EVENT", + "description": "

Represents aissue_type_changedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_REMOVED_EVENT", + "description": "

Represents aissue_type_removedevent on a given issue.

" + }, + { + "name": "LABELED_EVENT", + "description": "

Represents alabeledevent on a given issue or pull request.

" + }, + { + "name": "LOCKED_EVENT", + "description": "

Represents alockedevent on a given issue or pull request.

" + }, + { + "name": "MARKED_AS_DUPLICATE_EVENT", + "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" + }, + { + "name": "MENTIONED_EVENT", + "description": "

Represents amentionedevent on a given issue or pull request.

" + }, + { + "name": "MERGED_EVENT", + "description": "

Represents amergedevent on a given pull request.

" + }, + { + "name": "MILESTONED_EVENT", + "description": "

Represents amilestonedevent on a given issue or pull request.

" + }, + { + "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", + "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" + }, + { + "name": "PARENT_ISSUE_ADDED_EVENT", + "description": "

Represents aparent_issue_addedevent on a given issue.

" + }, + { + "name": "PARENT_ISSUE_REMOVED_EVENT", + "description": "

Represents aparent_issue_removedevent on a given issue.

" + }, + { + "name": "PINNED_EVENT", + "description": "

Represents apinnedevent on a given issue or pull request.

" + }, + { + "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", + "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" + }, + { + "name": "PULL_REQUEST_COMMIT", + "description": "

Represents a Git commit part of a pull request.

" + }, + { + "name": "PULL_REQUEST_COMMIT_COMMENT_THREAD", + "description": "

Represents a commit comment thread part of a pull request.

" + }, + { + "name": "PULL_REQUEST_REVIEW", + "description": "

A review object for a given pull request.

" + }, + { + "name": "PULL_REQUEST_REVIEW_THREAD", + "description": "

A threaded list of comments for a given pull request.

" + }, + { + "name": "PULL_REQUEST_REVISION_MARKER", + "description": "

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

" + }, + { + "name": "READY_FOR_REVIEW_EVENT", + "description": "

Represents aready_for_reviewevent on a given pull request.

" + }, + { + "name": "REFERENCED_EVENT", + "description": "

Represents areferencedevent on a given ReferencedSubject.

" + }, + { + "name": "REMOVED_FROM_MERGE_QUEUE_EVENT", + "description": "

Represents aremoved_from_merge_queueevent on a given pull request.

" + }, + { + "name": "REMOVED_FROM_PROJECT_EVENT", + "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" + }, + { + "name": "REMOVED_FROM_PROJECT_V2_EVENT", + "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

" + }, + { + "name": "RENAMED_TITLE_EVENT", + "description": "

Represents arenamedevent on a given issue or pull request.

" + }, + { + "name": "REOPENED_EVENT", + "description": "

Represents areopenedevent on any Closable.

" + }, + { + "name": "REVIEW_DISMISSED_EVENT", + "description": "

Represents areview_dismissedevent on a given issue or pull request.

" + }, + { + "name": "REVIEW_REQUESTED_EVENT", + "description": "

Represents anreview_requestedevent on a given pull request.

" + }, + { + "name": "REVIEW_REQUEST_REMOVED_EVENT", + "description": "

Represents anreview_request_removedevent on a given pull request.

" + }, + { + "name": "SUBSCRIBED_EVENT", + "description": "

Represents asubscribedevent on a given Subscribable.

" + }, + { + "name": "SUB_ISSUE_ADDED_EVENT", + "description": "

Represents asub_issue_addedevent on a given issue.

" + }, + { + "name": "SUB_ISSUE_REMOVED_EVENT", + "description": "

Represents asub_issue_removedevent on a given issue.

" + }, + { + "name": "TRANSFERRED_EVENT", + "description": "

Represents atransferredevent on a given issue or pull request.

" + }, + { + "name": "UNASSIGNED_EVENT", + "description": "

Represents anunassignedevent on any assignable object.

" + }, + { + "name": "UNLABELED_EVENT", + "description": "

Represents anunlabeledevent on a given issue or pull request.

" + }, + { + "name": "UNLOCKED_EVENT", + "description": "

Represents anunlockedevent on a given issue or pull request.

" + }, + { + "name": "UNMARKED_AS_DUPLICATE_EVENT", + "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" + }, + { + "name": "UNPINNED_EVENT", + "description": "

Represents anunpinnedevent on a given issue or pull request.

" + }, + { + "name": "UNSUBSCRIBED_EVENT", + "description": "

Represents anunsubscribedevent on a given Subscribable.

" + }, + { + "name": "USER_BLOCKED_EVENT", + "description": "

Represents auser_blockedevent on a given user.

" + } + ], + "category": "pulls" + }, { "name": "PullRequestUpdateState", "id": "pullrequestupdatestate", diff --git a/src/graphql/data/ghes-3.20/schema-repos.json b/src/graphql/data/ghes-3.20/schema-repos.json index 9e220decb172..38767d51314d 100644 --- a/src/graphql/data/ghes-3.20/schema-repos.json +++ b/src/graphql/data/ghes-3.20/schema-repos.json @@ -6792,7 +6792,7 @@ "description": "

The parameters for this rule.

", "type": "RuleParameters", "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters" + "href": "/graphql/reference/repos#union-ruleparameters" }, { "name": "repositoryRuleset", @@ -6806,7 +6806,7 @@ "description": "

The type of rule.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -7064,7 +7064,7 @@ "type": { "name": "RepositoryRuleType", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } } ] @@ -8818,6 +8818,139 @@ ], "category": "repos" }, + { + "name": "RepositoryRuleType", + "id": "repositoryruletype", + "href": "/graphql/reference/repos#enum-repositoryruletype", + "description": "

The rule types supported in rulesets.

", + "values": [ + { + "name": "AUTHORIZATION", + "description": "

Authorization.

" + }, + { + "name": "BRANCH_NAME_PATTERN", + "description": "

Branch name pattern.

" + }, + { + "name": "CODE_SCANNING", + "description": "

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

" + }, + { + "name": "COMMITTER_EMAIL_PATTERN", + "description": "

Committer email pattern.

" + }, + { + "name": "COMMIT_AUTHOR_EMAIL_PATTERN", + "description": "

Commit author email pattern.

" + }, + { + "name": "COMMIT_MESSAGE_PATTERN", + "description": "

Commit message pattern.

" + }, + { + "name": "COPILOT_CODE_REVIEW", + "description": "

Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.

" + }, + { + "name": "CREATION", + "description": "

Only allow users with bypass permission to create matching refs.

" + }, + { + "name": "DELETION", + "description": "

Only allow users with bypass permissions to delete matching refs.

" + }, + { + "name": "FILE_EXTENSION_RESTRICTION", + "description": "

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

" + }, + { + "name": "FILE_PATH_RESTRICTION", + "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

" + }, + { + "name": "LOCK_BRANCH", + "description": "

Branch is read-only. Users cannot push to the branch.

" + }, + { + "name": "MAX_FILE_PATH_LENGTH", + "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

" + }, + { + "name": "MAX_FILE_SIZE", + "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

" + }, + { + "name": "MAX_REF_UPDATES", + "description": "

Max ref updates.

" + }, + { + "name": "MERGE_QUEUE", + "description": "

Merges must be performed via a merge queue.

" + }, + { + "name": "MERGE_QUEUE_LOCKED_REF", + "description": "

Merge queue locked ref.

" + }, + { + "name": "NON_FAST_FORWARD", + "description": "

Prevent users with push access from force pushing to refs.

" + }, + { + "name": "PULL_REQUEST", + "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

" + }, + { + "name": "REQUIRED_DEPLOYMENTS", + "description": "

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

" + }, + { + "name": "REQUIRED_LINEAR_HISTORY", + "description": "

Prevent merge commits from being pushed to matching refs.

" + }, + { + "name": "REQUIRED_REVIEW_THREAD_RESOLUTION", + "description": "

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

" + }, + { + "name": "REQUIRED_SIGNATURES", + "description": "

Commits pushed to matching refs must have verified signatures.

" + }, + { + "name": "REQUIRED_STATUS_CHECKS", + "description": "

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

" + }, + { + "name": "REQUIRED_WORKFLOW_STATUS_CHECKS", + "description": "

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

" + }, + { + "name": "SECRET_SCANNING", + "description": "

Secret scanning.

" + }, + { + "name": "TAG", + "description": "

Tag.

" + }, + { + "name": "TAG_NAME_PATTERN", + "description": "

Tag name pattern.

" + }, + { + "name": "UPDATE", + "description": "

Only allow users with bypass permission to update matching refs.

" + }, + { + "name": "WORKFLOWS", + "description": "

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

" + }, + { + "name": "WORKFLOW_UPDATES", + "description": "

Workflow files cannot be modified.

" + } + ], + "category": "repos" + }, { "name": "RepositoryRulesetBypassActorBypassMode", "id": "repositoryrulesetbypassactorbypassmode", @@ -9001,6 +9134,100 @@ ], "category": "repos" }, + { + "name": "RuleParameters", + "id": "ruleparameters", + "href": "/graphql/reference/repos#union-ruleparameters", + "description": "

Types which can be parameters for RepositoryRule objects.

", + "possibleTypes": [ + { + "name": "BranchNamePatternParameters", + "id": "branchnamepatternparameters", + "href": "/graphql/reference/branches#object-branchnamepatternparameters" + }, + { + "name": "CodeScanningParameters", + "id": "codescanningparameters", + "href": "/graphql/reference/repos#object-codescanningparameters" + }, + { + "name": "CommitAuthorEmailPatternParameters", + "id": "commitauthoremailpatternparameters", + "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" + }, + { + "name": "CommitMessagePatternParameters", + "id": "commitmessagepatternparameters", + "href": "/graphql/reference/commits#object-commitmessagepatternparameters" + }, + { + "name": "CommitterEmailPatternParameters", + "id": "committeremailpatternparameters", + "href": "/graphql/reference/commits#object-committeremailpatternparameters" + }, + { + "name": "CopilotCodeReviewParameters", + "id": "copilotcodereviewparameters", + "href": "/graphql/reference/pulls#object-copilotcodereviewparameters" + }, + { + "name": "FileExtensionRestrictionParameters", + "id": "fileextensionrestrictionparameters", + "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" + }, + { + "name": "FilePathRestrictionParameters", + "id": "filepathrestrictionparameters", + "href": "/graphql/reference/repos#object-filepathrestrictionparameters" + }, + { + "name": "MaxFilePathLengthParameters", + "id": "maxfilepathlengthparameters", + "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" + }, + { + "name": "MaxFileSizeParameters", + "id": "maxfilesizeparameters", + "href": "/graphql/reference/repos#object-maxfilesizeparameters" + }, + { + "name": "MergeQueueParameters", + "id": "mergequeueparameters", + "href": "/graphql/reference/pulls#object-mergequeueparameters" + }, + { + "name": "PullRequestParameters", + "id": "pullrequestparameters", + "href": "/graphql/reference/pulls#object-pullrequestparameters" + }, + { + "name": "RequiredDeploymentsParameters", + "id": "requireddeploymentsparameters", + "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" + }, + { + "name": "RequiredStatusChecksParameters", + "id": "requiredstatuschecksparameters", + "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" + }, + { + "name": "TagNamePatternParameters", + "id": "tagnamepatternparameters", + "href": "/graphql/reference/repos#object-tagnamepatternparameters" + }, + { + "name": "UpdateParameters", + "id": "updateparameters", + "href": "/graphql/reference/repos#object-updateparameters" + }, + { + "name": "WorkflowsParameters", + "id": "workflowsparameters", + "href": "/graphql/reference/actions#object-workflowsparameters" + } + ], + "category": "repos" + }, { "name": "RuleSource", "id": "rulesource", @@ -9774,14 +10001,14 @@ "description": "

The parameters for the rule.

", "type": "RuleParametersInput", "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput" + "href": "/graphql/reference/repos#input-object-ruleparametersinput" }, { "name": "type", "description": "

The type of rule to create.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -9860,6 +10087,134 @@ ], "category": "repos" }, + { + "name": "RuleParametersInput", + "id": "ruleparametersinput", + "href": "/graphql/reference/repos#input-object-ruleparametersinput", + "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

", + "inputFields": [ + { + "name": "branchNamePattern", + "description": "

Parameters used for the branch_name_pattern rule type.

", + "type": "BranchNamePatternParametersInput", + "id": "branchnamepatternparametersinput", + "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" + }, + { + "name": "codeScanning", + "description": "

Parameters used for the code_scanning rule type.

", + "type": "CodeScanningParametersInput", + "id": "codescanningparametersinput", + "href": "/graphql/reference/repos#input-object-codescanningparametersinput" + }, + { + "name": "commitAuthorEmailPattern", + "description": "

Parameters used for the commit_author_email_pattern rule type.

", + "type": "CommitAuthorEmailPatternParametersInput", + "id": "commitauthoremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" + }, + { + "name": "commitMessagePattern", + "description": "

Parameters used for the commit_message_pattern rule type.

", + "type": "CommitMessagePatternParametersInput", + "id": "commitmessagepatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" + }, + { + "name": "committerEmailPattern", + "description": "

Parameters used for the committer_email_pattern rule type.

", + "type": "CommitterEmailPatternParametersInput", + "id": "committeremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" + }, + { + "name": "copilotCodeReview", + "description": "

Parameters used for the copilot_code_review rule type.

", + "type": "CopilotCodeReviewParametersInput", + "id": "copilotcodereviewparametersinput", + "href": "/graphql/reference/pulls#input-object-copilotcodereviewparametersinput" + }, + { + "name": "fileExtensionRestriction", + "description": "

Parameters used for the file_extension_restriction rule type.

", + "type": "FileExtensionRestrictionParametersInput", + "id": "fileextensionrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" + }, + { + "name": "filePathRestriction", + "description": "

Parameters used for the file_path_restriction rule type.

", + "type": "FilePathRestrictionParametersInput", + "id": "filepathrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" + }, + { + "name": "maxFilePathLength", + "description": "

Parameters used for the max_file_path_length rule type.

", + "type": "MaxFilePathLengthParametersInput", + "id": "maxfilepathlengthparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" + }, + { + "name": "maxFileSize", + "description": "

Parameters used for the max_file_size rule type.

", + "type": "MaxFileSizeParametersInput", + "id": "maxfilesizeparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" + }, + { + "name": "mergeQueue", + "description": "

Parameters used for the merge_queue rule type.

", + "type": "MergeQueueParametersInput", + "id": "mergequeueparametersinput", + "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" + }, + { + "name": "pullRequest", + "description": "

Parameters used for the pull_request rule type.

", + "type": "PullRequestParametersInput", + "id": "pullrequestparametersinput", + "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" + }, + { + "name": "requiredDeployments", + "description": "

Parameters used for the required_deployments rule type.

", + "type": "RequiredDeploymentsParametersInput", + "id": "requireddeploymentsparametersinput", + "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" + }, + { + "name": "requiredStatusChecks", + "description": "

Parameters used for the required_status_checks rule type.

", + "type": "RequiredStatusChecksParametersInput", + "id": "requiredstatuschecksparametersinput", + "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" + }, + { + "name": "tagNamePattern", + "description": "

Parameters used for the tag_name_pattern rule type.

", + "type": "TagNamePatternParametersInput", + "id": "tagnamepatternparametersinput", + "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" + }, + { + "name": "update", + "description": "

Parameters used for the update rule type.

", + "type": "UpdateParametersInput", + "id": "updateparametersinput", + "href": "/graphql/reference/repos#input-object-updateparametersinput" + }, + { + "name": "workflows", + "description": "

Parameters used for the workflows rule type.

", + "type": "WorkflowsParametersInput", + "id": "workflowsparametersinput", + "href": "/graphql/reference/actions#input-object-workflowsparametersinput" + } + ], + "category": "repos" + }, { "name": "SetRepositoryCustomPropertyValuesInput", "id": "setrepositorycustompropertyvaluesinput", diff --git a/src/graphql/data/ghes-3.20/schema-teams.json b/src/graphql/data/ghes-3.20/schema-teams.json index f467663eef91..cbfe22fa8327 100644 --- a/src/graphql/data/ghes-3.20/schema-teams.json +++ b/src/graphql/data/ghes-3.20/schema-teams.json @@ -400,7 +400,7 @@ "type": { "name": "TeamDiscussionOrder", "id": "teamdiscussionorder", - "href": "/graphql/reference/other#input-object-teamdiscussionorder" + "href": "/graphql/reference/teams#input-object-teamdiscussionorder" } } ] @@ -2335,6 +2335,19 @@ } ], "enums": [ + { + "name": "TeamDiscussionOrderField", + "id": "teamdiscussionorderfield", + "href": "/graphql/reference/teams#enum-teamdiscussionorderfield", + "description": "

Properties by which team discussion connections can be ordered.

", + "values": [ + { + "name": "CREATED_AT", + "description": "

Allows chronological ordering of team discussions.

" + } + ], + "category": "teams" + }, { "name": "TeamMemberOrderField", "id": "teammemberorderfield", @@ -2506,6 +2519,29 @@ } ], "inputObjects": [ + { + "name": "TeamDiscussionOrder", + "id": "teamdiscussionorder", + "href": "/graphql/reference/teams#input-object-teamdiscussionorder", + "description": "

Ways in which team discussion connections can be ordered.

", + "inputFields": [ + { + "name": "direction", + "description": "

The direction in which to order nodes.

", + "type": "OrderDirection!", + "id": "orderdirection", + "href": "/graphql/reference/meta#enum-orderdirection" + }, + { + "name": "field", + "description": "

The field by which to order nodes.

", + "type": "TeamDiscussionOrderField!", + "id": "teamdiscussionorderfield", + "href": "/graphql/reference/teams#enum-teamdiscussionorderfield" + } + ], + "category": "teams" + }, { "name": "TeamMemberOrder", "id": "teammemberorder", diff --git a/src/graphql/data/ghes-3.21/category-map.json b/src/graphql/data/ghes-3.21/category-map.json index bfce58133804..a8ce6148e77d 100644 --- a/src/graphql/data/ghes-3.21/category-map.json +++ b/src/graphql/data/ghes-3.21/category-map.json @@ -1024,9 +1024,6 @@ "samldigestalgorithm": "enterprise-admin", "samlsignaturealgorithm": "enterprise-admin", "twofactorcredentialsecuritytype": "enterprise-admin", - "issuetimelineitemsitemtype": "other", - "pullrequesttimelineitemsitemtype": "other", - "repositoryruletype": "other", "orgaddmemberauditentrypermission": "orgs", "orgcreateauditentrybillingplan": "orgs", "orgenterpriseownerorderfield": "orgs", @@ -1068,6 +1065,7 @@ "repositorypermission": "repos", "repositoryprivacy": "repos", "repositoryruleorderfield": "repos", + "repositoryruletype": "repos", "repositoryrulesetbypassactorbypassmode": "repos", "repositoryrulesettarget": "repos", "repositorysuggestedactorfilter": "repos", @@ -1105,6 +1103,7 @@ "issueorderfield": "issues", "issuestate": "issues", "issuestatereason": "issues", + "issuetimelineitemsitemtype": "issues", "issuetypecolor": "issues", "issuetypeorderfield": "issues", "labelorderfield": "issues", @@ -1160,6 +1159,7 @@ "pullrequestreviewstate": "pulls", "pullrequestreviewthreadsubjecttype": "pulls", "pullrequeststate": "pulls", + "pullrequesttimelineitemsitemtype": "pulls", "pullrequestupdatestate": "pulls", "reactioncontent": "reactions", "reactionorderfield": "reactions", @@ -1214,13 +1214,13 @@ "auditentryactor": "enterprise-admin", "enterprisemember": "enterprise-admin", "ipallowlistowner": "enterprise-admin", - "ruleparameters": "other", "orgrestorememberauditentrymembership": "orgs", "organizationauditentry": "orgs", "permissiongranter": "orgs", "verifiabledomainowner": "orgs", "bypassactor": "repos", "custompropertysource": "repos", + "ruleparameters": "repos", "rulesource": "repos", "searchresultitem": "search", "claimable": "users", @@ -1296,7 +1296,6 @@ "updateipallowlistforinstalledappsenabledsettinginput": "enterprise-admin", "updateipallowlistuserlevelenforcementenabledsettinginput": "enterprise-admin", "addenterpriseadmininput": "other", - "ruleparametersinput": "other", "addverifiabledomaininput": "orgs", "approveverifiabledomaininput": "orgs", "deleteverifiabledomaininput": "orgs", @@ -1338,6 +1337,7 @@ "repositoryruleinput": "repos", "repositoryruleorder": "repos", "repositoryrulesetbypassactorinput": "repos", + "ruleparametersinput": "repos", "setrepositorycustompropertyvaluesinput": "repos", "tagnamepatternparametersinput": "repos", "unarchiverepositoryinput": "repos", diff --git a/src/graphql/data/ghes-3.21/schema-issues.json b/src/graphql/data/ghes-3.21/schema-issues.json index 83ee0322bdb4..72ef26a184d2 100644 --- a/src/graphql/data/ghes-3.21/schema-issues.json +++ b/src/graphql/data/ghes-3.21/schema-issues.json @@ -3625,7 +3625,7 @@ "type": { "name": "[IssueTimelineItemsItemType!]", "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype" + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype" } }, { @@ -8759,6 +8759,219 @@ ], "category": "issues" }, + { + "name": "IssueTimelineItemsItemType", + "id": "issuetimelineitemsitemtype", + "href": "/graphql/reference/issues#enum-issuetimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_PROJECT_EVENT", + "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" + }, + { + "name": "ADDED_TO_PROJECT_V2_EVENT", + "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

" + }, + { + "name": "ASSIGNED_EVENT", + "description": "

Represents anassignedevent on any assignable object.

" + }, + { + "name": "BLOCKED_BY_ADDED_EVENT", + "description": "

Represents ablocked_by_addedevent on a given issue.

" + }, + { + "name": "BLOCKED_BY_REMOVED_EVENT", + "description": "

Represents ablocked_by_removedevent on a given issue.

" + }, + { + "name": "BLOCKING_ADDED_EVENT", + "description": "

Represents ablocking_addedevent on a given issue.

" + }, + { + "name": "BLOCKING_REMOVED_EVENT", + "description": "

Represents ablocking_removedevent on a given issue.

" + }, + { + "name": "CLOSED_EVENT", + "description": "

Represents aclosedevent on any Closable.

" + }, + { + "name": "COMMENT_DELETED_EVENT", + "description": "

Represents acomment_deletedevent on a given issue or pull request.

" + }, + { + "name": "CONNECTED_EVENT", + "description": "

Represents aconnectedevent on a given issue or pull request.

" + }, + { + "name": "CONVERTED_FROM_DRAFT_EVENT", + "description": "

Represents aconverted_from_draftevent on a given issue or pull request.

" + }, + { + "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", + "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" + }, + { + "name": "CONVERTED_TO_DISCUSSION_EVENT", + "description": "

Represents aconverted_to_discussionevent on a given issue.

" + }, + { + "name": "CROSS_REFERENCED_EVENT", + "description": "

Represents a mention made by one issue or pull request to another.

" + }, + { + "name": "DEMILESTONED_EVENT", + "description": "

Represents ademilestonedevent on a given issue or pull request.

" + }, + { + "name": "DISCONNECTED_EVENT", + "description": "

Represents adisconnectedevent on a given issue or pull request.

" + }, + { + "name": "ISSUE_COMMENT", + "description": "

Represents a comment on an Issue.

" + }, + { + "name": "ISSUE_COMMENT_PINNED_EVENT", + "description": "

Represents aissue_comment_pinnedevent on a given issue.

" + }, + { + "name": "ISSUE_COMMENT_UNPINNED_EVENT", + "description": "

Represents aissue_comment_unpinnedevent on a given issue.

" + }, + { + "name": "ISSUE_FIELD_ADDED_EVENT", + "description": "

Represents aissue_field_addedevent on a given issue.

" + }, + { + "name": "ISSUE_FIELD_CHANGED_EVENT", + "description": "

Represents aissue_field_changedevent on a given issue.

" + }, + { + "name": "ISSUE_FIELD_REMOVED_EVENT", + "description": "

Represents aissue_field_removedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_ADDED_EVENT", + "description": "

Represents aissue_type_addedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_CHANGED_EVENT", + "description": "

Represents aissue_type_changedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_REMOVED_EVENT", + "description": "

Represents aissue_type_removedevent on a given issue.

" + }, + { + "name": "LABELED_EVENT", + "description": "

Represents alabeledevent on a given issue or pull request.

" + }, + { + "name": "LOCKED_EVENT", + "description": "

Represents alockedevent on a given issue or pull request.

" + }, + { + "name": "MARKED_AS_DUPLICATE_EVENT", + "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" + }, + { + "name": "MENTIONED_EVENT", + "description": "

Represents amentionedevent on a given issue or pull request.

" + }, + { + "name": "MILESTONED_EVENT", + "description": "

Represents amilestonedevent on a given issue or pull request.

" + }, + { + "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", + "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" + }, + { + "name": "PARENT_ISSUE_ADDED_EVENT", + "description": "

Represents aparent_issue_addedevent on a given issue.

" + }, + { + "name": "PARENT_ISSUE_REMOVED_EVENT", + "description": "

Represents aparent_issue_removedevent on a given issue.

" + }, + { + "name": "PINNED_EVENT", + "description": "

Represents apinnedevent on a given issue or pull request.

" + }, + { + "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", + "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" + }, + { + "name": "REFERENCED_EVENT", + "description": "

Represents areferencedevent on a given ReferencedSubject.

" + }, + { + "name": "REMOVED_FROM_PROJECT_EVENT", + "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" + }, + { + "name": "REMOVED_FROM_PROJECT_V2_EVENT", + "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

" + }, + { + "name": "RENAMED_TITLE_EVENT", + "description": "

Represents arenamedevent on a given issue or pull request.

" + }, + { + "name": "REOPENED_EVENT", + "description": "

Represents areopenedevent on any Closable.

" + }, + { + "name": "SUBSCRIBED_EVENT", + "description": "

Represents asubscribedevent on a given Subscribable.

" + }, + { + "name": "SUB_ISSUE_ADDED_EVENT", + "description": "

Represents asub_issue_addedevent on a given issue.

" + }, + { + "name": "SUB_ISSUE_REMOVED_EVENT", + "description": "

Represents asub_issue_removedevent on a given issue.

" + }, + { + "name": "TRANSFERRED_EVENT", + "description": "

Represents atransferredevent on a given issue or pull request.

" + }, + { + "name": "UNASSIGNED_EVENT", + "description": "

Represents anunassignedevent on any assignable object.

" + }, + { + "name": "UNLABELED_EVENT", + "description": "

Represents anunlabeledevent on a given issue or pull request.

" + }, + { + "name": "UNLOCKED_EVENT", + "description": "

Represents anunlockedevent on a given issue or pull request.

" + }, + { + "name": "UNMARKED_AS_DUPLICATE_EVENT", + "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" + }, + { + "name": "UNPINNED_EVENT", + "description": "

Represents anunpinnedevent on a given issue or pull request.

" + }, + { + "name": "UNSUBSCRIBED_EVENT", + "description": "

Represents anunsubscribedevent on a given Subscribable.

" + }, + { + "name": "USER_BLOCKED_EVENT", + "description": "

Represents auser_blockedevent on a given user.

" + } + ], + "category": "issues" + }, { "name": "IssueTypeColor", "id": "issuetypecolor", diff --git a/src/graphql/data/ghes-3.21/schema-other.json b/src/graphql/data/ghes-3.21/schema-other.json index 7455788e7684..fd8d567090d5 100644 --- a/src/graphql/data/ghes-3.21/schema-other.json +++ b/src/graphql/data/ghes-3.21/schema-other.json @@ -112,771 +112,6 @@ "category": "other" } ], - "enums": [ - { - "name": "IssueTimelineItemsItemType", - "id": "issuetimelineitemsitemtype", - "href": "/graphql/reference/other#enum-issuetimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_V2_EVENT", - "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "BLOCKED_BY_ADDED_EVENT", - "description": "

Represents ablocked_by_addedevent on a given issue.

" - }, - { - "name": "BLOCKED_BY_REMOVED_EVENT", - "description": "

Represents ablocked_by_removedevent on a given issue.

" - }, - { - "name": "BLOCKING_ADDED_EVENT", - "description": "

Represents ablocking_addedevent on a given issue.

" - }, - { - "name": "BLOCKING_REMOVED_EVENT", - "description": "

Represents ablocking_removedevent on a given issue.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_FROM_DRAFT_EVENT", - "description": "

Represents aconverted_from_draftevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "ISSUE_COMMENT_PINNED_EVENT", - "description": "

Represents aissue_comment_pinnedevent on a given issue.

" - }, - { - "name": "ISSUE_COMMENT_UNPINNED_EVENT", - "description": "

Represents aissue_comment_unpinnedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_ADDED_EVENT", - "description": "

Represents aissue_field_addedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_CHANGED_EVENT", - "description": "

Represents aissue_field_changedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_REMOVED_EVENT", - "description": "

Represents aissue_field_removedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_ADDED_EVENT", - "description": "

Represents aissue_type_addedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_CHANGED_EVENT", - "description": "

Represents aissue_type_changedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_REMOVED_EVENT", - "description": "

Represents aissue_type_removedevent on a given issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", - "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_V2_EVENT", - "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

" - }, - { - "name": "RENAMED_TITLE_EVENT", - "description": "

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "PullRequestTimelineItemsItemType", - "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype", - "description": "

The possible item types found in a timeline.

", - "values": [ - { - "name": "ADDED_TO_MERGE_QUEUE_EVENT", - "description": "

Represents anadded_to_merge_queueevent on a given pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_EVENT", - "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" - }, - { - "name": "ADDED_TO_PROJECT_V2_EVENT", - "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

" - }, - { - "name": "ASSIGNED_EVENT", - "description": "

Represents anassignedevent on any assignable object.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_FAILED_EVENT", - "description": "

Represents aautomatic_base_change_failedevent on a given pull request.

" - }, - { - "name": "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT", - "description": "

Represents aautomatic_base_change_succeededevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_DISABLED_EVENT", - "description": "

Represents aauto_merge_disabledevent on a given pull request.

" - }, - { - "name": "AUTO_MERGE_ENABLED_EVENT", - "description": "

Represents aauto_merge_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_REBASE_ENABLED_EVENT", - "description": "

Represents aauto_rebase_enabledevent on a given pull request.

" - }, - { - "name": "AUTO_SQUASH_ENABLED_EVENT", - "description": "

Represents aauto_squash_enabledevent on a given pull request.

" - }, - { - "name": "BASE_REF_CHANGED_EVENT", - "description": "

Represents abase_ref_changedevent on a given issue or pull request.

" - }, - { - "name": "BASE_REF_DELETED_EVENT", - "description": "

Represents abase_ref_deletedevent on a given pull request.

" - }, - { - "name": "BASE_REF_FORCE_PUSHED_EVENT", - "description": "

Represents abase_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "BLOCKED_BY_ADDED_EVENT", - "description": "

Represents ablocked_by_addedevent on a given issue.

" - }, - { - "name": "BLOCKED_BY_REMOVED_EVENT", - "description": "

Represents ablocked_by_removedevent on a given issue.

" - }, - { - "name": "BLOCKING_ADDED_EVENT", - "description": "

Represents ablocking_addedevent on a given issue.

" - }, - { - "name": "BLOCKING_REMOVED_EVENT", - "description": "

Represents ablocking_removedevent on a given issue.

" - }, - { - "name": "CLOSED_EVENT", - "description": "

Represents aclosedevent on any Closable.

" - }, - { - "name": "COMMENT_DELETED_EVENT", - "description": "

Represents acomment_deletedevent on a given issue or pull request.

" - }, - { - "name": "CONNECTED_EVENT", - "description": "

Represents aconnectedevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_FROM_DRAFT_EVENT", - "description": "

Represents aconverted_from_draftevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", - "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" - }, - { - "name": "CONVERTED_TO_DISCUSSION_EVENT", - "description": "

Represents aconverted_to_discussionevent on a given issue.

" - }, - { - "name": "CONVERT_TO_DRAFT_EVENT", - "description": "

Represents aconvert_to_draftevent on a given pull request.

" - }, - { - "name": "CROSS_REFERENCED_EVENT", - "description": "

Represents a mention made by one issue or pull request to another.

" - }, - { - "name": "DEMILESTONED_EVENT", - "description": "

Represents ademilestonedevent on a given issue or pull request.

" - }, - { - "name": "DEPLOYED_EVENT", - "description": "

Represents adeployedevent on a given pull request.

" - }, - { - "name": "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT", - "description": "

Represents adeployment_environment_changedevent on a given pull request.

" - }, - { - "name": "DISCONNECTED_EVENT", - "description": "

Represents adisconnectedevent on a given issue or pull request.

" - }, - { - "name": "HEAD_REF_DELETED_EVENT", - "description": "

Represents ahead_ref_deletedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_FORCE_PUSHED_EVENT", - "description": "

Represents ahead_ref_force_pushedevent on a given pull request.

" - }, - { - "name": "HEAD_REF_RESTORED_EVENT", - "description": "

Represents ahead_ref_restoredevent on a given pull request.

" - }, - { - "name": "ISSUE_COMMENT", - "description": "

Represents a comment on an Issue.

" - }, - { - "name": "ISSUE_COMMENT_PINNED_EVENT", - "description": "

Represents aissue_comment_pinnedevent on a given issue.

" - }, - { - "name": "ISSUE_COMMENT_UNPINNED_EVENT", - "description": "

Represents aissue_comment_unpinnedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_ADDED_EVENT", - "description": "

Represents aissue_field_addedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_CHANGED_EVENT", - "description": "

Represents aissue_field_changedevent on a given issue.

" - }, - { - "name": "ISSUE_FIELD_REMOVED_EVENT", - "description": "

Represents aissue_field_removedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_ADDED_EVENT", - "description": "

Represents aissue_type_addedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_CHANGED_EVENT", - "description": "

Represents aissue_type_changedevent on a given issue.

" - }, - { - "name": "ISSUE_TYPE_REMOVED_EVENT", - "description": "

Represents aissue_type_removedevent on a given issue.

" - }, - { - "name": "LABELED_EVENT", - "description": "

Represents alabeledevent on a given issue or pull request.

" - }, - { - "name": "LOCKED_EVENT", - "description": "

Represents alockedevent on a given issue or pull request.

" - }, - { - "name": "MARKED_AS_DUPLICATE_EVENT", - "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "MENTIONED_EVENT", - "description": "

Represents amentionedevent on a given issue or pull request.

" - }, - { - "name": "MERGED_EVENT", - "description": "

Represents amergedevent on a given pull request.

" - }, - { - "name": "MILESTONED_EVENT", - "description": "

Represents amilestonedevent on a given issue or pull request.

" - }, - { - "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", - "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" - }, - { - "name": "PARENT_ISSUE_ADDED_EVENT", - "description": "

Represents aparent_issue_addedevent on a given issue.

" - }, - { - "name": "PARENT_ISSUE_REMOVED_EVENT", - "description": "

Represents aparent_issue_removedevent on a given issue.

" - }, - { - "name": "PINNED_EVENT", - "description": "

Represents apinnedevent on a given issue or pull request.

" - }, - { - "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", - "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT", - "description": "

Represents a Git commit part of a pull request.

" - }, - { - "name": "PULL_REQUEST_COMMIT_COMMENT_THREAD", - "description": "

Represents a commit comment thread part of a pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW", - "description": "

A review object for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVIEW_THREAD", - "description": "

A threaded list of comments for a given pull request.

" - }, - { - "name": "PULL_REQUEST_REVISION_MARKER", - "description": "

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

" - }, - { - "name": "READY_FOR_REVIEW_EVENT", - "description": "

Represents aready_for_reviewevent on a given pull request.

" - }, - { - "name": "REFERENCED_EVENT", - "description": "

Represents areferencedevent on a given ReferencedSubject.

" - }, - { - "name": "REMOVED_FROM_MERGE_QUEUE_EVENT", - "description": "

Represents aremoved_from_merge_queueevent on a given pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_EVENT", - "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" - }, - { - "name": "REMOVED_FROM_PROJECT_V2_EVENT", - "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

" - }, - { - "name": "RENAMED_TITLE_EVENT", - "description": "

Represents arenamedevent on a given issue or pull request.

" - }, - { - "name": "REOPENED_EVENT", - "description": "

Represents areopenedevent on any Closable.

" - }, - { - "name": "REVIEW_DISMISSED_EVENT", - "description": "

Represents areview_dismissedevent on a given issue or pull request.

" - }, - { - "name": "REVIEW_REQUESTED_EVENT", - "description": "

Represents anreview_requestedevent on a given pull request.

" - }, - { - "name": "REVIEW_REQUEST_REMOVED_EVENT", - "description": "

Represents anreview_request_removedevent on a given pull request.

" - }, - { - "name": "SUBSCRIBED_EVENT", - "description": "

Represents asubscribedevent on a given Subscribable.

" - }, - { - "name": "SUB_ISSUE_ADDED_EVENT", - "description": "

Represents asub_issue_addedevent on a given issue.

" - }, - { - "name": "SUB_ISSUE_REMOVED_EVENT", - "description": "

Represents asub_issue_removedevent on a given issue.

" - }, - { - "name": "TRANSFERRED_EVENT", - "description": "

Represents atransferredevent on a given issue or pull request.

" - }, - { - "name": "UNASSIGNED_EVENT", - "description": "

Represents anunassignedevent on any assignable object.

" - }, - { - "name": "UNLABELED_EVENT", - "description": "

Represents anunlabeledevent on a given issue or pull request.

" - }, - { - "name": "UNLOCKED_EVENT", - "description": "

Represents anunlockedevent on a given issue or pull request.

" - }, - { - "name": "UNMARKED_AS_DUPLICATE_EVENT", - "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" - }, - { - "name": "UNPINNED_EVENT", - "description": "

Represents anunpinnedevent on a given issue or pull request.

" - }, - { - "name": "UNSUBSCRIBED_EVENT", - "description": "

Represents anunsubscribedevent on a given Subscribable.

" - }, - { - "name": "USER_BLOCKED_EVENT", - "description": "

Represents auser_blockedevent on a given user.

" - } - ], - "category": "other" - }, - { - "name": "RepositoryRuleType", - "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype", - "description": "

The rule types supported in rulesets.

", - "values": [ - { - "name": "AUTHORIZATION", - "description": "

Authorization.

" - }, - { - "name": "BRANCH_NAME_PATTERN", - "description": "

Branch name pattern.

" - }, - { - "name": "CODE_SCANNING", - "description": "

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

" - }, - { - "name": "COMMITTER_EMAIL_PATTERN", - "description": "

Committer email pattern.

" - }, - { - "name": "COMMIT_AUTHOR_EMAIL_PATTERN", - "description": "

Commit author email pattern.

" - }, - { - "name": "COMMIT_MESSAGE_PATTERN", - "description": "

Commit message pattern.

" - }, - { - "name": "COPILOT_CODE_REVIEW", - "description": "

Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.

" - }, - { - "name": "CREATION", - "description": "

Only allow users with bypass permission to create matching refs.

" - }, - { - "name": "DELETION", - "description": "

Only allow users with bypass permissions to delete matching refs.

" - }, - { - "name": "FILE_EXTENSION_RESTRICTION", - "description": "

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

" - }, - { - "name": "FILE_PATH_RESTRICTION", - "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

" - }, - { - "name": "LOCK_BRANCH", - "description": "

Branch is read-only. Users cannot push to the branch.

" - }, - { - "name": "MAX_FILE_PATH_LENGTH", - "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_FILE_SIZE", - "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

" - }, - { - "name": "MAX_REF_UPDATES", - "description": "

Max ref updates.

" - }, - { - "name": "MERGE_QUEUE", - "description": "

Merges must be performed via a merge queue.

" - }, - { - "name": "MERGE_QUEUE_LOCKED_REF", - "description": "

Merge queue locked ref.

" - }, - { - "name": "NON_FAST_FORWARD", - "description": "

Prevent users with push access from force pushing to refs.

" - }, - { - "name": "PULL_REQUEST", - "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

" - }, - { - "name": "REQUIRED_DEPLOYMENTS", - "description": "

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

" - }, - { - "name": "REQUIRED_LINEAR_HISTORY", - "description": "

Prevent merge commits from being pushed to matching refs.

" - }, - { - "name": "REQUIRED_REVIEW_THREAD_RESOLUTION", - "description": "

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

" - }, - { - "name": "REQUIRED_SIGNATURES", - "description": "

Commits pushed to matching refs must have verified signatures.

" - }, - { - "name": "REQUIRED_STATUS_CHECKS", - "description": "

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

" - }, - { - "name": "REQUIRED_WORKFLOW_STATUS_CHECKS", - "description": "

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

" - }, - { - "name": "SECRET_SCANNING", - "description": "

Secret scanning.

" - }, - { - "name": "TAG", - "description": "

Tag.

" - }, - { - "name": "TAG_NAME_PATTERN", - "description": "

Tag name pattern.

" - }, - { - "name": "UPDATE", - "description": "

Only allow users with bypass permission to update matching refs.

" - }, - { - "name": "WORKFLOWS", - "description": "

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

" - }, - { - "name": "WORKFLOW_UPDATES", - "description": "

Workflow files cannot be modified.

" - } - ], - "category": "other" - } - ], - "unions": [ - { - "name": "RuleParameters", - "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters", - "description": "

Types which can be parameters for RepositoryRule objects.

", - "possibleTypes": [ - { - "name": "BranchNamePatternParameters", - "id": "branchnamepatternparameters", - "href": "/graphql/reference/branches#object-branchnamepatternparameters" - }, - { - "name": "CodeScanningParameters", - "id": "codescanningparameters", - "href": "/graphql/reference/repos#object-codescanningparameters" - }, - { - "name": "CommitAuthorEmailPatternParameters", - "id": "commitauthoremailpatternparameters", - "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" - }, - { - "name": "CommitMessagePatternParameters", - "id": "commitmessagepatternparameters", - "href": "/graphql/reference/commits#object-commitmessagepatternparameters" - }, - { - "name": "CommitterEmailPatternParameters", - "id": "committeremailpatternparameters", - "href": "/graphql/reference/commits#object-committeremailpatternparameters" - }, - { - "name": "CopilotCodeReviewParameters", - "id": "copilotcodereviewparameters", - "href": "/graphql/reference/pulls#object-copilotcodereviewparameters" - }, - { - "name": "FileExtensionRestrictionParameters", - "id": "fileextensionrestrictionparameters", - "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" - }, - { - "name": "FilePathRestrictionParameters", - "id": "filepathrestrictionparameters", - "href": "/graphql/reference/repos#object-filepathrestrictionparameters" - }, - { - "name": "MaxFilePathLengthParameters", - "id": "maxfilepathlengthparameters", - "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" - }, - { - "name": "MaxFileSizeParameters", - "id": "maxfilesizeparameters", - "href": "/graphql/reference/repos#object-maxfilesizeparameters" - }, - { - "name": "MergeQueueParameters", - "id": "mergequeueparameters", - "href": "/graphql/reference/pulls#object-mergequeueparameters" - }, - { - "name": "PullRequestParameters", - "id": "pullrequestparameters", - "href": "/graphql/reference/pulls#object-pullrequestparameters" - }, - { - "name": "RequiredDeploymentsParameters", - "id": "requireddeploymentsparameters", - "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" - }, - { - "name": "RequiredStatusChecksParameters", - "id": "requiredstatuschecksparameters", - "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" - }, - { - "name": "TagNamePatternParameters", - "id": "tagnamepatternparameters", - "href": "/graphql/reference/repos#object-tagnamepatternparameters" - }, - { - "name": "UpdateParameters", - "id": "updateparameters", - "href": "/graphql/reference/repos#object-updateparameters" - }, - { - "name": "WorkflowsParameters", - "id": "workflowsparameters", - "href": "/graphql/reference/actions#object-workflowsparameters" - } - ], - "category": "other" - } - ], "inputObjects": [ { "name": "AddEnterpriseAdminInput", @@ -908,134 +143,6 @@ } ], "category": "other" - }, - { - "name": "RuleParametersInput", - "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput", - "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

", - "inputFields": [ - { - "name": "branchNamePattern", - "description": "

Parameters used for the branch_name_pattern rule type.

", - "type": "BranchNamePatternParametersInput", - "id": "branchnamepatternparametersinput", - "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" - }, - { - "name": "codeScanning", - "description": "

Parameters used for the code_scanning rule type.

", - "type": "CodeScanningParametersInput", - "id": "codescanningparametersinput", - "href": "/graphql/reference/repos#input-object-codescanningparametersinput" - }, - { - "name": "commitAuthorEmailPattern", - "description": "

Parameters used for the commit_author_email_pattern rule type.

", - "type": "CommitAuthorEmailPatternParametersInput", - "id": "commitauthoremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" - }, - { - "name": "commitMessagePattern", - "description": "

Parameters used for the commit_message_pattern rule type.

", - "type": "CommitMessagePatternParametersInput", - "id": "commitmessagepatternparametersinput", - "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" - }, - { - "name": "committerEmailPattern", - "description": "

Parameters used for the committer_email_pattern rule type.

", - "type": "CommitterEmailPatternParametersInput", - "id": "committeremailpatternparametersinput", - "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" - }, - { - "name": "copilotCodeReview", - "description": "

Parameters used for the copilot_code_review rule type.

", - "type": "CopilotCodeReviewParametersInput", - "id": "copilotcodereviewparametersinput", - "href": "/graphql/reference/pulls#input-object-copilotcodereviewparametersinput" - }, - { - "name": "fileExtensionRestriction", - "description": "

Parameters used for the file_extension_restriction rule type.

", - "type": "FileExtensionRestrictionParametersInput", - "id": "fileextensionrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" - }, - { - "name": "filePathRestriction", - "description": "

Parameters used for the file_path_restriction rule type.

", - "type": "FilePathRestrictionParametersInput", - "id": "filepathrestrictionparametersinput", - "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" - }, - { - "name": "maxFilePathLength", - "description": "

Parameters used for the max_file_path_length rule type.

", - "type": "MaxFilePathLengthParametersInput", - "id": "maxfilepathlengthparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" - }, - { - "name": "maxFileSize", - "description": "

Parameters used for the max_file_size rule type.

", - "type": "MaxFileSizeParametersInput", - "id": "maxfilesizeparametersinput", - "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" - }, - { - "name": "mergeQueue", - "description": "

Parameters used for the merge_queue rule type.

", - "type": "MergeQueueParametersInput", - "id": "mergequeueparametersinput", - "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" - }, - { - "name": "pullRequest", - "description": "

Parameters used for the pull_request rule type.

", - "type": "PullRequestParametersInput", - "id": "pullrequestparametersinput", - "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" - }, - { - "name": "requiredDeployments", - "description": "

Parameters used for the required_deployments rule type.

", - "type": "RequiredDeploymentsParametersInput", - "id": "requireddeploymentsparametersinput", - "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" - }, - { - "name": "requiredStatusChecks", - "description": "

Parameters used for the required_status_checks rule type.

", - "type": "RequiredStatusChecksParametersInput", - "id": "requiredstatuschecksparametersinput", - "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" - }, - { - "name": "tagNamePattern", - "description": "

Parameters used for the tag_name_pattern rule type.

", - "type": "TagNamePatternParametersInput", - "id": "tagnamepatternparametersinput", - "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" - }, - { - "name": "update", - "description": "

Parameters used for the update rule type.

", - "type": "UpdateParametersInput", - "id": "updateparametersinput", - "href": "/graphql/reference/repos#input-object-updateparametersinput" - }, - { - "name": "workflows", - "description": "

Parameters used for the workflows rule type.

", - "type": "WorkflowsParametersInput", - "id": "workflowsparametersinput", - "href": "/graphql/reference/actions#input-object-workflowsparametersinput" - } - ], - "category": "other" } ], "scalars": [ diff --git a/src/graphql/data/ghes-3.21/schema-pulls.json b/src/graphql/data/ghes-3.21/schema-pulls.json index 83c9a34c768d..b8627fd206a4 100644 --- a/src/graphql/data/ghes-3.21/schema-pulls.json +++ b/src/graphql/data/ghes-3.21/schema-pulls.json @@ -4059,7 +4059,7 @@ "type": { "name": "[PullRequestTimelineItemsItemType!]", "id": "pullrequesttimelineitemsitemtype", - "href": "/graphql/reference/other#enum-pullrequesttimelineitemsitemtype" + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype" } }, { @@ -7823,6 +7823,327 @@ ], "category": "pulls" }, + { + "name": "PullRequestTimelineItemsItemType", + "id": "pullrequesttimelineitemsitemtype", + "href": "/graphql/reference/pulls#enum-pullrequesttimelineitemsitemtype", + "description": "

The possible item types found in a timeline.

", + "values": [ + { + "name": "ADDED_TO_MERGE_QUEUE_EVENT", + "description": "

Represents anadded_to_merge_queueevent on a given pull request.

" + }, + { + "name": "ADDED_TO_PROJECT_EVENT", + "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" + }, + { + "name": "ADDED_TO_PROJECT_V2_EVENT", + "description": "

Represents aadded_to_project_v2event on a given issue or pull request.

" + }, + { + "name": "ASSIGNED_EVENT", + "description": "

Represents anassignedevent on any assignable object.

" + }, + { + "name": "AUTOMATIC_BASE_CHANGE_FAILED_EVENT", + "description": "

Represents aautomatic_base_change_failedevent on a given pull request.

" + }, + { + "name": "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT", + "description": "

Represents aautomatic_base_change_succeededevent on a given pull request.

" + }, + { + "name": "AUTO_MERGE_DISABLED_EVENT", + "description": "

Represents aauto_merge_disabledevent on a given pull request.

" + }, + { + "name": "AUTO_MERGE_ENABLED_EVENT", + "description": "

Represents aauto_merge_enabledevent on a given pull request.

" + }, + { + "name": "AUTO_REBASE_ENABLED_EVENT", + "description": "

Represents aauto_rebase_enabledevent on a given pull request.

" + }, + { + "name": "AUTO_SQUASH_ENABLED_EVENT", + "description": "

Represents aauto_squash_enabledevent on a given pull request.

" + }, + { + "name": "BASE_REF_CHANGED_EVENT", + "description": "

Represents abase_ref_changedevent on a given issue or pull request.

" + }, + { + "name": "BASE_REF_DELETED_EVENT", + "description": "

Represents abase_ref_deletedevent on a given pull request.

" + }, + { + "name": "BASE_REF_FORCE_PUSHED_EVENT", + "description": "

Represents abase_ref_force_pushedevent on a given pull request.

" + }, + { + "name": "BLOCKED_BY_ADDED_EVENT", + "description": "

Represents ablocked_by_addedevent on a given issue.

" + }, + { + "name": "BLOCKED_BY_REMOVED_EVENT", + "description": "

Represents ablocked_by_removedevent on a given issue.

" + }, + { + "name": "BLOCKING_ADDED_EVENT", + "description": "

Represents ablocking_addedevent on a given issue.

" + }, + { + "name": "BLOCKING_REMOVED_EVENT", + "description": "

Represents ablocking_removedevent on a given issue.

" + }, + { + "name": "CLOSED_EVENT", + "description": "

Represents aclosedevent on any Closable.

" + }, + { + "name": "COMMENT_DELETED_EVENT", + "description": "

Represents acomment_deletedevent on a given issue or pull request.

" + }, + { + "name": "CONNECTED_EVENT", + "description": "

Represents aconnectedevent on a given issue or pull request.

" + }, + { + "name": "CONVERTED_FROM_DRAFT_EVENT", + "description": "

Represents aconverted_from_draftevent on a given issue or pull request.

" + }, + { + "name": "CONVERTED_NOTE_TO_ISSUE_EVENT", + "description": "

Represents aconverted_note_to_issueevent on a given issue or pull request.

" + }, + { + "name": "CONVERTED_TO_DISCUSSION_EVENT", + "description": "

Represents aconverted_to_discussionevent on a given issue.

" + }, + { + "name": "CONVERT_TO_DRAFT_EVENT", + "description": "

Represents aconvert_to_draftevent on a given pull request.

" + }, + { + "name": "CROSS_REFERENCED_EVENT", + "description": "

Represents a mention made by one issue or pull request to another.

" + }, + { + "name": "DEMILESTONED_EVENT", + "description": "

Represents ademilestonedevent on a given issue or pull request.

" + }, + { + "name": "DEPLOYED_EVENT", + "description": "

Represents adeployedevent on a given pull request.

" + }, + { + "name": "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT", + "description": "

Represents adeployment_environment_changedevent on a given pull request.

" + }, + { + "name": "DISCONNECTED_EVENT", + "description": "

Represents adisconnectedevent on a given issue or pull request.

" + }, + { + "name": "HEAD_REF_DELETED_EVENT", + "description": "

Represents ahead_ref_deletedevent on a given pull request.

" + }, + { + "name": "HEAD_REF_FORCE_PUSHED_EVENT", + "description": "

Represents ahead_ref_force_pushedevent on a given pull request.

" + }, + { + "name": "HEAD_REF_RESTORED_EVENT", + "description": "

Represents ahead_ref_restoredevent on a given pull request.

" + }, + { + "name": "ISSUE_COMMENT", + "description": "

Represents a comment on an Issue.

" + }, + { + "name": "ISSUE_COMMENT_PINNED_EVENT", + "description": "

Represents aissue_comment_pinnedevent on a given issue.

" + }, + { + "name": "ISSUE_COMMENT_UNPINNED_EVENT", + "description": "

Represents aissue_comment_unpinnedevent on a given issue.

" + }, + { + "name": "ISSUE_FIELD_ADDED_EVENT", + "description": "

Represents aissue_field_addedevent on a given issue.

" + }, + { + "name": "ISSUE_FIELD_CHANGED_EVENT", + "description": "

Represents aissue_field_changedevent on a given issue.

" + }, + { + "name": "ISSUE_FIELD_REMOVED_EVENT", + "description": "

Represents aissue_field_removedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_ADDED_EVENT", + "description": "

Represents aissue_type_addedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_CHANGED_EVENT", + "description": "

Represents aissue_type_changedevent on a given issue.

" + }, + { + "name": "ISSUE_TYPE_REMOVED_EVENT", + "description": "

Represents aissue_type_removedevent on a given issue.

" + }, + { + "name": "LABELED_EVENT", + "description": "

Represents alabeledevent on a given issue or pull request.

" + }, + { + "name": "LOCKED_EVENT", + "description": "

Represents alockedevent on a given issue or pull request.

" + }, + { + "name": "MARKED_AS_DUPLICATE_EVENT", + "description": "

Represents amarked_as_duplicateevent on a given issue or pull request.

" + }, + { + "name": "MENTIONED_EVENT", + "description": "

Represents amentionedevent on a given issue or pull request.

" + }, + { + "name": "MERGED_EVENT", + "description": "

Represents amergedevent on a given pull request.

" + }, + { + "name": "MILESTONED_EVENT", + "description": "

Represents amilestonedevent on a given issue or pull request.

" + }, + { + "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", + "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

" + }, + { + "name": "PARENT_ISSUE_ADDED_EVENT", + "description": "

Represents aparent_issue_addedevent on a given issue.

" + }, + { + "name": "PARENT_ISSUE_REMOVED_EVENT", + "description": "

Represents aparent_issue_removedevent on a given issue.

" + }, + { + "name": "PINNED_EVENT", + "description": "

Represents apinnedevent on a given issue or pull request.

" + }, + { + "name": "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT", + "description": "

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

" + }, + { + "name": "PULL_REQUEST_COMMIT", + "description": "

Represents a Git commit part of a pull request.

" + }, + { + "name": "PULL_REQUEST_COMMIT_COMMENT_THREAD", + "description": "

Represents a commit comment thread part of a pull request.

" + }, + { + "name": "PULL_REQUEST_REVIEW", + "description": "

A review object for a given pull request.

" + }, + { + "name": "PULL_REQUEST_REVIEW_THREAD", + "description": "

A threaded list of comments for a given pull request.

" + }, + { + "name": "PULL_REQUEST_REVISION_MARKER", + "description": "

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

" + }, + { + "name": "READY_FOR_REVIEW_EVENT", + "description": "

Represents aready_for_reviewevent on a given pull request.

" + }, + { + "name": "REFERENCED_EVENT", + "description": "

Represents areferencedevent on a given ReferencedSubject.

" + }, + { + "name": "REMOVED_FROM_MERGE_QUEUE_EVENT", + "description": "

Represents aremoved_from_merge_queueevent on a given pull request.

" + }, + { + "name": "REMOVED_FROM_PROJECT_EVENT", + "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" + }, + { + "name": "REMOVED_FROM_PROJECT_V2_EVENT", + "description": "

Represents aremoved_from_project_v2event on a given issue or pull request.

" + }, + { + "name": "RENAMED_TITLE_EVENT", + "description": "

Represents arenamedevent on a given issue or pull request.

" + }, + { + "name": "REOPENED_EVENT", + "description": "

Represents areopenedevent on any Closable.

" + }, + { + "name": "REVIEW_DISMISSED_EVENT", + "description": "

Represents areview_dismissedevent on a given issue or pull request.

" + }, + { + "name": "REVIEW_REQUESTED_EVENT", + "description": "

Represents anreview_requestedevent on a given pull request.

" + }, + { + "name": "REVIEW_REQUEST_REMOVED_EVENT", + "description": "

Represents anreview_request_removedevent on a given pull request.

" + }, + { + "name": "SUBSCRIBED_EVENT", + "description": "

Represents asubscribedevent on a given Subscribable.

" + }, + { + "name": "SUB_ISSUE_ADDED_EVENT", + "description": "

Represents asub_issue_addedevent on a given issue.

" + }, + { + "name": "SUB_ISSUE_REMOVED_EVENT", + "description": "

Represents asub_issue_removedevent on a given issue.

" + }, + { + "name": "TRANSFERRED_EVENT", + "description": "

Represents atransferredevent on a given issue or pull request.

" + }, + { + "name": "UNASSIGNED_EVENT", + "description": "

Represents anunassignedevent on any assignable object.

" + }, + { + "name": "UNLABELED_EVENT", + "description": "

Represents anunlabeledevent on a given issue or pull request.

" + }, + { + "name": "UNLOCKED_EVENT", + "description": "

Represents anunlockedevent on a given issue or pull request.

" + }, + { + "name": "UNMARKED_AS_DUPLICATE_EVENT", + "description": "

Represents anunmarked_as_duplicateevent on a given issue or pull request.

" + }, + { + "name": "UNPINNED_EVENT", + "description": "

Represents anunpinnedevent on a given issue or pull request.

" + }, + { + "name": "UNSUBSCRIBED_EVENT", + "description": "

Represents anunsubscribedevent on a given Subscribable.

" + }, + { + "name": "USER_BLOCKED_EVENT", + "description": "

Represents auser_blockedevent on a given user.

" + } + ], + "category": "pulls" + }, { "name": "PullRequestUpdateState", "id": "pullrequestupdatestate", diff --git a/src/graphql/data/ghes-3.21/schema-repos.json b/src/graphql/data/ghes-3.21/schema-repos.json index 1514d361c917..7a6bf0ba4843 100644 --- a/src/graphql/data/ghes-3.21/schema-repos.json +++ b/src/graphql/data/ghes-3.21/schema-repos.json @@ -6813,7 +6813,7 @@ "description": "

The parameters for this rule.

", "type": "RuleParameters", "id": "ruleparameters", - "href": "/graphql/reference/other#union-ruleparameters" + "href": "/graphql/reference/repos#union-ruleparameters" }, { "name": "repositoryRuleset", @@ -6827,7 +6827,7 @@ "description": "

The type of rule.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -7085,7 +7085,7 @@ "type": { "name": "RepositoryRuleType", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } } ] @@ -8860,6 +8860,139 @@ ], "category": "repos" }, + { + "name": "RepositoryRuleType", + "id": "repositoryruletype", + "href": "/graphql/reference/repos#enum-repositoryruletype", + "description": "

The rule types supported in rulesets.

", + "values": [ + { + "name": "AUTHORIZATION", + "description": "

Authorization.

" + }, + { + "name": "BRANCH_NAME_PATTERN", + "description": "

Branch name pattern.

" + }, + { + "name": "CODE_SCANNING", + "description": "

Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.

" + }, + { + "name": "COMMITTER_EMAIL_PATTERN", + "description": "

Committer email pattern.

" + }, + { + "name": "COMMIT_AUTHOR_EMAIL_PATTERN", + "description": "

Commit author email pattern.

" + }, + { + "name": "COMMIT_MESSAGE_PATTERN", + "description": "

Commit message pattern.

" + }, + { + "name": "COPILOT_CODE_REVIEW", + "description": "

Request Copilot code review for new pull requests automatically if the author\nhas access to Copilot code review and their premium requests quota has not\nreached the limit.

" + }, + { + "name": "CREATION", + "description": "

Only allow users with bypass permission to create matching refs.

" + }, + { + "name": "DELETION", + "description": "

Only allow users with bypass permissions to delete matching refs.

" + }, + { + "name": "FILE_EXTENSION_RESTRICTION", + "description": "

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

" + }, + { + "name": "FILE_PATH_RESTRICTION", + "description": "

Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.

" + }, + { + "name": "LOCK_BRANCH", + "description": "

Branch is read-only. Users cannot push to the branch.

" + }, + { + "name": "MAX_FILE_PATH_LENGTH", + "description": "

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

" + }, + { + "name": "MAX_FILE_SIZE", + "description": "

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

" + }, + { + "name": "MAX_REF_UPDATES", + "description": "

Max ref updates.

" + }, + { + "name": "MERGE_QUEUE", + "description": "

Merges must be performed via a merge queue.

" + }, + { + "name": "MERGE_QUEUE_LOCKED_REF", + "description": "

Merge queue locked ref.

" + }, + { + "name": "NON_FAST_FORWARD", + "description": "

Prevent users with push access from force pushing to refs.

" + }, + { + "name": "PULL_REQUEST", + "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

" + }, + { + "name": "REQUIRED_DEPLOYMENTS", + "description": "

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

" + }, + { + "name": "REQUIRED_LINEAR_HISTORY", + "description": "

Prevent merge commits from being pushed to matching refs.

" + }, + { + "name": "REQUIRED_REVIEW_THREAD_RESOLUTION", + "description": "

When enabled, all conversations on code must be resolved before a pull request\ncan be merged into a branch that matches this rule.

" + }, + { + "name": "REQUIRED_SIGNATURES", + "description": "

Commits pushed to matching refs must have verified signatures.

" + }, + { + "name": "REQUIRED_STATUS_CHECKS", + "description": "

Choose which status checks must pass before the ref is updated. When enabled,\ncommits must first be pushed to another ref where the checks pass.

" + }, + { + "name": "REQUIRED_WORKFLOW_STATUS_CHECKS", + "description": "

Require all commits be made to a non-target branch and submitted via a pull\nrequest and required workflow checks to pass before they can be merged.

" + }, + { + "name": "SECRET_SCANNING", + "description": "

Secret scanning.

" + }, + { + "name": "TAG", + "description": "

Tag.

" + }, + { + "name": "TAG_NAME_PATTERN", + "description": "

Tag name pattern.

" + }, + { + "name": "UPDATE", + "description": "

Only allow users with bypass permission to update matching refs.

" + }, + { + "name": "WORKFLOWS", + "description": "

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

" + }, + { + "name": "WORKFLOW_UPDATES", + "description": "

Workflow files cannot be modified.

" + } + ], + "category": "repos" + }, { "name": "RepositoryRulesetBypassActorBypassMode", "id": "repositoryrulesetbypassactorbypassmode", @@ -9048,6 +9181,100 @@ ], "category": "repos" }, + { + "name": "RuleParameters", + "id": "ruleparameters", + "href": "/graphql/reference/repos#union-ruleparameters", + "description": "

Types which can be parameters for RepositoryRule objects.

", + "possibleTypes": [ + { + "name": "BranchNamePatternParameters", + "id": "branchnamepatternparameters", + "href": "/graphql/reference/branches#object-branchnamepatternparameters" + }, + { + "name": "CodeScanningParameters", + "id": "codescanningparameters", + "href": "/graphql/reference/repos#object-codescanningparameters" + }, + { + "name": "CommitAuthorEmailPatternParameters", + "id": "commitauthoremailpatternparameters", + "href": "/graphql/reference/commits#object-commitauthoremailpatternparameters" + }, + { + "name": "CommitMessagePatternParameters", + "id": "commitmessagepatternparameters", + "href": "/graphql/reference/commits#object-commitmessagepatternparameters" + }, + { + "name": "CommitterEmailPatternParameters", + "id": "committeremailpatternparameters", + "href": "/graphql/reference/commits#object-committeremailpatternparameters" + }, + { + "name": "CopilotCodeReviewParameters", + "id": "copilotcodereviewparameters", + "href": "/graphql/reference/pulls#object-copilotcodereviewparameters" + }, + { + "name": "FileExtensionRestrictionParameters", + "id": "fileextensionrestrictionparameters", + "href": "/graphql/reference/repos#object-fileextensionrestrictionparameters" + }, + { + "name": "FilePathRestrictionParameters", + "id": "filepathrestrictionparameters", + "href": "/graphql/reference/repos#object-filepathrestrictionparameters" + }, + { + "name": "MaxFilePathLengthParameters", + "id": "maxfilepathlengthparameters", + "href": "/graphql/reference/repos#object-maxfilepathlengthparameters" + }, + { + "name": "MaxFileSizeParameters", + "id": "maxfilesizeparameters", + "href": "/graphql/reference/repos#object-maxfilesizeparameters" + }, + { + "name": "MergeQueueParameters", + "id": "mergequeueparameters", + "href": "/graphql/reference/pulls#object-mergequeueparameters" + }, + { + "name": "PullRequestParameters", + "id": "pullrequestparameters", + "href": "/graphql/reference/pulls#object-pullrequestparameters" + }, + { + "name": "RequiredDeploymentsParameters", + "id": "requireddeploymentsparameters", + "href": "/graphql/reference/deployments#object-requireddeploymentsparameters" + }, + { + "name": "RequiredStatusChecksParameters", + "id": "requiredstatuschecksparameters", + "href": "/graphql/reference/branches#object-requiredstatuschecksparameters" + }, + { + "name": "TagNamePatternParameters", + "id": "tagnamepatternparameters", + "href": "/graphql/reference/repos#object-tagnamepatternparameters" + }, + { + "name": "UpdateParameters", + "id": "updateparameters", + "href": "/graphql/reference/repos#object-updateparameters" + }, + { + "name": "WorkflowsParameters", + "id": "workflowsparameters", + "href": "/graphql/reference/actions#object-workflowsparameters" + } + ], + "category": "repos" + }, { "name": "RuleSource", "id": "rulesource", @@ -9828,14 +10055,14 @@ "description": "

The parameters for the rule.

", "type": "RuleParametersInput", "id": "ruleparametersinput", - "href": "/graphql/reference/other#input-object-ruleparametersinput" + "href": "/graphql/reference/repos#input-object-ruleparametersinput" }, { "name": "type", "description": "

The type of rule to create.

", "type": "RepositoryRuleType!", "id": "repositoryruletype", - "href": "/graphql/reference/other#enum-repositoryruletype" + "href": "/graphql/reference/repos#enum-repositoryruletype" } ], "category": "repos" @@ -9921,6 +10148,134 @@ ], "category": "repos" }, + { + "name": "RuleParametersInput", + "id": "ruleparametersinput", + "href": "/graphql/reference/repos#input-object-ruleparametersinput", + "description": "

Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.

", + "inputFields": [ + { + "name": "branchNamePattern", + "description": "

Parameters used for the branch_name_pattern rule type.

", + "type": "BranchNamePatternParametersInput", + "id": "branchnamepatternparametersinput", + "href": "/graphql/reference/branches#input-object-branchnamepatternparametersinput" + }, + { + "name": "codeScanning", + "description": "

Parameters used for the code_scanning rule type.

", + "type": "CodeScanningParametersInput", + "id": "codescanningparametersinput", + "href": "/graphql/reference/repos#input-object-codescanningparametersinput" + }, + { + "name": "commitAuthorEmailPattern", + "description": "

Parameters used for the commit_author_email_pattern rule type.

", + "type": "CommitAuthorEmailPatternParametersInput", + "id": "commitauthoremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitauthoremailpatternparametersinput" + }, + { + "name": "commitMessagePattern", + "description": "

Parameters used for the commit_message_pattern rule type.

", + "type": "CommitMessagePatternParametersInput", + "id": "commitmessagepatternparametersinput", + "href": "/graphql/reference/commits#input-object-commitmessagepatternparametersinput" + }, + { + "name": "committerEmailPattern", + "description": "

Parameters used for the committer_email_pattern rule type.

", + "type": "CommitterEmailPatternParametersInput", + "id": "committeremailpatternparametersinput", + "href": "/graphql/reference/commits#input-object-committeremailpatternparametersinput" + }, + { + "name": "copilotCodeReview", + "description": "

Parameters used for the copilot_code_review rule type.

", + "type": "CopilotCodeReviewParametersInput", + "id": "copilotcodereviewparametersinput", + "href": "/graphql/reference/pulls#input-object-copilotcodereviewparametersinput" + }, + { + "name": "fileExtensionRestriction", + "description": "

Parameters used for the file_extension_restriction rule type.

", + "type": "FileExtensionRestrictionParametersInput", + "id": "fileextensionrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-fileextensionrestrictionparametersinput" + }, + { + "name": "filePathRestriction", + "description": "

Parameters used for the file_path_restriction rule type.

", + "type": "FilePathRestrictionParametersInput", + "id": "filepathrestrictionparametersinput", + "href": "/graphql/reference/repos#input-object-filepathrestrictionparametersinput" + }, + { + "name": "maxFilePathLength", + "description": "

Parameters used for the max_file_path_length rule type.

", + "type": "MaxFilePathLengthParametersInput", + "id": "maxfilepathlengthparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilepathlengthparametersinput" + }, + { + "name": "maxFileSize", + "description": "

Parameters used for the max_file_size rule type.

", + "type": "MaxFileSizeParametersInput", + "id": "maxfilesizeparametersinput", + "href": "/graphql/reference/repos#input-object-maxfilesizeparametersinput" + }, + { + "name": "mergeQueue", + "description": "

Parameters used for the merge_queue rule type.

", + "type": "MergeQueueParametersInput", + "id": "mergequeueparametersinput", + "href": "/graphql/reference/pulls#input-object-mergequeueparametersinput" + }, + { + "name": "pullRequest", + "description": "

Parameters used for the pull_request rule type.

", + "type": "PullRequestParametersInput", + "id": "pullrequestparametersinput", + "href": "/graphql/reference/pulls#input-object-pullrequestparametersinput" + }, + { + "name": "requiredDeployments", + "description": "

Parameters used for the required_deployments rule type.

", + "type": "RequiredDeploymentsParametersInput", + "id": "requireddeploymentsparametersinput", + "href": "/graphql/reference/deployments#input-object-requireddeploymentsparametersinput" + }, + { + "name": "requiredStatusChecks", + "description": "

Parameters used for the required_status_checks rule type.

", + "type": "RequiredStatusChecksParametersInput", + "id": "requiredstatuschecksparametersinput", + "href": "/graphql/reference/branches#input-object-requiredstatuschecksparametersinput" + }, + { + "name": "tagNamePattern", + "description": "

Parameters used for the tag_name_pattern rule type.

", + "type": "TagNamePatternParametersInput", + "id": "tagnamepatternparametersinput", + "href": "/graphql/reference/repos#input-object-tagnamepatternparametersinput" + }, + { + "name": "update", + "description": "

Parameters used for the update rule type.

", + "type": "UpdateParametersInput", + "id": "updateparametersinput", + "href": "/graphql/reference/repos#input-object-updateparametersinput" + }, + { + "name": "workflows", + "description": "

Parameters used for the workflows rule type.

", + "type": "WorkflowsParametersInput", + "id": "workflowsparametersinput", + "href": "/graphql/reference/actions#input-object-workflowsparametersinput" + } + ], + "category": "repos" + }, { "name": "SetRepositoryCustomPropertyValuesInput", "id": "setrepositorycustompropertyvaluesinput",