+
{t('article_grid.no_articles_found')}
)}
diff --git a/src/languages/lib/correct-translation-content.ts b/src/languages/lib/correct-translation-content.ts
index 4cde007de77b..adeaadf3d893 100644
--- a/src/languages/lib/correct-translation-content.ts
+++ b/src/languages/lib/correct-translation-content.ts
@@ -131,6 +131,9 @@ export function correctTranslatedContentStrings(
content = content.replaceAll('{% datos de variables.', '{% data variables.')
// `{% variables de datos.` — reversed word order "variables of data"
content = content.replaceAll('{% variables de datos.', '{% data variables.')
+ // `{% los datos variables.` — article "los" (the) prepended to "datos variables"
+ content = content.replaceAll('{% los datos variables.', '{% data variables.')
+ content = content.replaceAll('{%- los datos variables.', '{%- data variables.')
// `{% Datos ` — capitalized "datos" = data
content = content.replaceAll('{% Datos variables', '{% data variables')
// `{% dato ` — singular form of "datos" = data
@@ -511,6 +514,14 @@ export function correctTranslatedContentStrings(
/\{%(-?)\s*data\s+variables\.product\.\s+(prodname_[A-Za-z0-9_]+)/g,
'{%$1 data variables.product.$2',
)
+ // `{% licenças de dados variables.X %}` — "licenças de dados" (data licenses)
+ // inserted before the variable path by the translator. Strip the prefix.
+ content = content.replaceAll('{% licenças de dados variables.', '{% data variables.')
+ content = content.replaceAll('{%- licenças de dados variables.', '{%- data variables.')
+ // `{% sugestões embutidas do variables.X %}` — translator replaced `{% data` with
+ // Portuguese prose meaning "inline suggestions of". Restore the data keyword.
+ content = content.replaceAll('{% sugestões embutidas do variables.', '{% data variables.')
+ content = content.replaceAll('{%- sugestões embutidas do variables.', '{%- data variables.')
// Fully translated reusables path: `{% dados reutilizáveis.X.Y %}` → `{% data reusables.X.Y %}`
content = content.replaceAll('{% dados reutilizáveis.', '{% data reusables.')
// Translated path segment inside reusables path: `repositórios` → `repositories`
@@ -1141,7 +1152,13 @@ export function correctTranslatedContentStrings(
content = content.replaceAll('{% données ', '{% data ')
// `{% Données ` — capitalized form
content = content.replaceAll('{% Données variables', '{% data variables')
+ // `{% Données réutilisables.` / `{% Données Réutilisables.` — capitalized forms (lowercase/uppercase R)
content = content.replaceAll('{% Données réutilisables.', '{% data reusables.')
+ content = content.replaceAll('{% Données Réutilisables.', '{% data reusables.')
+ // `{% compte de données variables.X %}` — translator inserted "compte" (account)
+ // before "de données variables". Strip the prefix and restore the data keyword.
+ content = content.replaceAll('{% compte de données variables.', '{% data variables.')
+ content = content.replaceAll('{%- compte de données variables.', '{%- data variables.')
// Catch remaining "ou" between any plan names in ifversion/elsif/if tags
content = content.replace(/\{%-? (?:ifversion|elsif|if) [^%]*?ou [^%]*?%\}/g, (match) => {
return match.replace(/ ou /g, ' or ')
@@ -1284,6 +1301,9 @@ export function correctTranslatedContentStrings(
content = content.replaceAll('{% 데이터 변숫값.', '{% data variables.')
content = content.replaceAll('{% 기타 %}', '{% else %}')
content = content.replaceAll('{%- 기타 %}', '{%- else %}')
+ // `{% other %}` — English "other" used as an alias for else by the translator
+ content = content.replaceAll('{% other %}', '{% else %}')
+ content = content.replaceAll('{%- other %}', '{%- else %}')
content = content.replaceAll('{% 참고 %}', '{% note %}')
content = content.replaceAll('{%- 참고 %}', '{%- note %}')
content = content.replaceAll('{% 원시 %}', '{% raw %}')
@@ -1416,6 +1436,9 @@ export function correctTranslatedContentStrings(
}
if (context.code === 'de') {
+ // `{%–` — en-dash (U+2013) used instead of hyphen in `{%-` trim modifier
+ content = content.replaceAll('{%–', '{%-')
+
content = content.replaceAll('{% Daten variables', '{% data variables')
content = content.replaceAll('{% daten variables', '{% data variables')
content = content.replaceAll('{% Daten reusables', '{% data reusables')
diff --git a/src/rest/data/fpt-2022-11-28/agent-tasks.json b/src/rest/data/fpt-2022-11-28/agent-tasks.json
index 39a5e36130ee..e04eacb97b3b 100644
--- a/src/rest/data/fpt-2022-11-28/agent-tasks.json
+++ b/src/rest/data/fpt-2022-11-28/agent-tasks.json
@@ -99,9 +99,9 @@
"name": "creator_id",
"in": "query",
"schema": {
- "type": "integer"
+ "type": "array"
},
- "description": "
Filter tasks by creator user ID
"
+ "description": "
Filter tasks by creator user ID. Accepts one or more user IDs.
"
}
],
"bodyParameters": [],
@@ -452,6 +452,11 @@
"type": "string",
"name": "base_ref",
"description": "
Base ref for new branch/PR
"
+ },
+ {
+ "type": "string",
+ "name": "head_ref",
+ "description": "
Head ref for existing branch/PR. If provided with base_ref, the agent looks up open PR context for head_ref targeting base_ref and commits to head_ref instead of creating a new branch.
"
}
],
"descriptionHTML": "
Note
\n
\nThis endpoint is in public preview and is subject to change.
\n
\n
Starts a new Copilot cloud agent task for a repository.
\n
This endpoint is only available to users with a Copilot Business or Copilot Enterprise subscription.
\n
Fine-grained access tokens for \"Start a task\"
\n
This endpoint works with the following fine-grained token types:
\n
\n
The fine-grained token must have the following permission set:
\n
\n- \"Agent tasks\" repository permissions (read and write)
\n
\n
GitHub App installation access tokens are not supported for this endpoint.
",
diff --git a/src/rest/data/fpt-2022-11-28/apps.json b/src/rest/data/fpt-2022-11-28/apps.json
index 9cf9a5c76a62..5e544897e096 100644
--- a/src/rest/data/fpt-2022-11-28/apps.json
+++ b/src/rest/data/fpt-2022-11-28/apps.json
@@ -1832,6 +1832,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2793,6 +2794,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3561,6 +3563,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -4197,6 +4200,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5567,6 +5571,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -6341,6 +6346,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7692,6 +7698,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -8663,6 +8670,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9632,6 +9640,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -10157,7 +10166,11 @@
},
"forks": 1,
"open_issues": 1,
- "watchers": 1
+ "watchers": 1,
+ "custom_properties": {
+ "environment": "production",
+ "service": "web"
+ }
}
]
},
@@ -10851,6 +10864,16 @@
"created_at",
"updated_at"
]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "custom_properties": {
+ "type": "object",
+ "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. Present for org repos only.",
+ "additionalProperties": true
+ }
+ }
}
]
}
@@ -11597,6 +11620,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -12850,6 +12874,16 @@
"created_at",
"updated_at"
]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "custom_properties": {
+ "type": "object",
+ "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. Present for org repos only.",
+ "additionalProperties": true
+ }
+ }
}
]
}
@@ -16070,6 +16104,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -17013,6 +17048,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/fpt-2022-11-28/code-scanning.json b/src/rest/data/fpt-2022-11-28/code-scanning.json
index d910524a85da..8a85dadf1e9b 100644
--- a/src/rest/data/fpt-2022-11-28/code-scanning.json
+++ b/src/rest/data/fpt-2022-11-28/code-scanning.json
@@ -4996,8 +4996,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
@@ -5209,8 +5209,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
diff --git a/src/rest/data/fpt-2022-11-28/orgs.json b/src/rest/data/fpt-2022-11-28/orgs.json
index 07868ebb695a..e892858a1c23 100644
--- a/src/rest/data/fpt-2022-11-28/orgs.json
+++ b/src/rest/data/fpt-2022-11-28/orgs.json
@@ -1931,6 +1931,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/fpt-2026-03-10/agent-tasks.json b/src/rest/data/fpt-2026-03-10/agent-tasks.json
index 39a5e36130ee..e04eacb97b3b 100644
--- a/src/rest/data/fpt-2026-03-10/agent-tasks.json
+++ b/src/rest/data/fpt-2026-03-10/agent-tasks.json
@@ -99,9 +99,9 @@
"name": "creator_id",
"in": "query",
"schema": {
- "type": "integer"
+ "type": "array"
},
- "description": "
Filter tasks by creator user ID
"
+ "description": "
Filter tasks by creator user ID. Accepts one or more user IDs.
"
}
],
"bodyParameters": [],
@@ -452,6 +452,11 @@
"type": "string",
"name": "base_ref",
"description": "
Base ref for new branch/PR
"
+ },
+ {
+ "type": "string",
+ "name": "head_ref",
+ "description": "
Head ref for existing branch/PR. If provided with base_ref, the agent looks up open PR context for head_ref targeting base_ref and commits to head_ref instead of creating a new branch.
"
}
],
"descriptionHTML": "
Note
\n
\nThis endpoint is in public preview and is subject to change.
\n
\n
Starts a new Copilot cloud agent task for a repository.
\n
This endpoint is only available to users with a Copilot Business or Copilot Enterprise subscription.
\n
Fine-grained access tokens for \"Start a task\"
\n
This endpoint works with the following fine-grained token types:
\n
\n
The fine-grained token must have the following permission set:
\n
\n- \"Agent tasks\" repository permissions (read and write)
\n
\n
GitHub App installation access tokens are not supported for this endpoint.
",
diff --git a/src/rest/data/fpt-2026-03-10/apps.json b/src/rest/data/fpt-2026-03-10/apps.json
index 86db5ed9889d..4f050d4f1240 100644
--- a/src/rest/data/fpt-2026-03-10/apps.json
+++ b/src/rest/data/fpt-2026-03-10/apps.json
@@ -1832,6 +1832,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2793,6 +2794,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3561,6 +3563,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -4197,6 +4200,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5551,6 +5555,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -6325,6 +6330,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7676,6 +7682,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -8647,6 +8654,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9616,6 +9624,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -10141,7 +10150,11 @@
},
"forks": 1,
"open_issues": 1,
- "watchers": 1
+ "watchers": 1,
+ "custom_properties": {
+ "environment": "production",
+ "service": "web"
+ }
}
]
},
@@ -10819,6 +10832,16 @@
"created_at",
"updated_at"
]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "custom_properties": {
+ "type": "object",
+ "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. Present for org repos only.",
+ "additionalProperties": true
+ }
+ }
}
]
}
@@ -11565,6 +11588,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -12802,6 +12826,16 @@
"created_at",
"updated_at"
]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "custom_properties": {
+ "type": "object",
+ "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. Present for org repos only.",
+ "additionalProperties": true
+ }
+ }
}
]
}
@@ -16022,6 +16056,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -16965,6 +17000,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/fpt-2026-03-10/code-scanning.json b/src/rest/data/fpt-2026-03-10/code-scanning.json
index 97668834a5c4..dc7080a511fe 100644
--- a/src/rest/data/fpt-2026-03-10/code-scanning.json
+++ b/src/rest/data/fpt-2026-03-10/code-scanning.json
@@ -4996,8 +4996,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
@@ -5209,8 +5209,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
diff --git a/src/rest/data/fpt-2026-03-10/orgs.json b/src/rest/data/fpt-2026-03-10/orgs.json
index 2e828c272e95..8da40e38edd3 100644
--- a/src/rest/data/fpt-2026-03-10/orgs.json
+++ b/src/rest/data/fpt-2026-03-10/orgs.json
@@ -1920,6 +1920,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghec-2022-11-28/agent-tasks.json b/src/rest/data/ghec-2022-11-28/agent-tasks.json
index 46ae8ff27e3a..27af0336b604 100644
--- a/src/rest/data/ghec-2022-11-28/agent-tasks.json
+++ b/src/rest/data/ghec-2022-11-28/agent-tasks.json
@@ -99,9 +99,9 @@
"name": "creator_id",
"in": "query",
"schema": {
- "type": "integer"
+ "type": "array"
},
- "description": "
Filter tasks by creator user ID
"
+ "description": "
Filter tasks by creator user ID. Accepts one or more user IDs.
"
}
],
"bodyParameters": [],
@@ -452,6 +452,11 @@
"type": "string",
"name": "base_ref",
"description": "
Base ref for new branch/PR
"
+ },
+ {
+ "type": "string",
+ "name": "head_ref",
+ "description": "
Head ref for existing branch/PR. If provided with base_ref, the agent looks up open PR context for head_ref targeting base_ref and commits to head_ref instead of creating a new branch.
"
}
],
"descriptionHTML": "
Note
\n
\nThis endpoint is in public preview and is subject to change.
\n
\n
Starts a new Copilot cloud agent task for a repository.
\n
This endpoint is only available to users with a Copilot Business or Copilot Enterprise subscription.
\n
Fine-grained access tokens for \"Start a task\"
\n
This endpoint works with the following fine-grained token types:
\n
\n
The fine-grained token must have the following permission set:
\n
\n- \"Agent tasks\" repository permissions (read and write)
\n
\n
GitHub App installation access tokens are not supported for this endpoint.
",
diff --git a/src/rest/data/ghec-2022-11-28/apps.json b/src/rest/data/ghec-2022-11-28/apps.json
index bf2661faadb0..448036941a45 100644
--- a/src/rest/data/ghec-2022-11-28/apps.json
+++ b/src/rest/data/ghec-2022-11-28/apps.json
@@ -1832,6 +1832,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2817,6 +2818,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3609,6 +3611,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -4272,6 +4275,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5666,6 +5670,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -6467,6 +6472,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7842,6 +7848,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -8827,6 +8834,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9822,6 +9830,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -10815,6 +10824,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -11364,7 +11374,11 @@
},
"forks": 1,
"open_issues": 1,
- "watchers": 1
+ "watchers": 1,
+ "custom_properties": {
+ "environment": "production",
+ "service": "web"
+ }
}
]
},
@@ -12058,6 +12072,16 @@
"created_at",
"updated_at"
]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "custom_properties": {
+ "type": "object",
+ "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. Present for org repos only.",
+ "additionalProperties": true
+ }
+ }
}
]
}
@@ -12804,6 +12828,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -14081,6 +14106,16 @@
"created_at",
"updated_at"
]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "custom_properties": {
+ "type": "object",
+ "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. Present for org repos only.",
+ "additionalProperties": true
+ }
+ }
}
]
}
@@ -17301,6 +17336,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -18268,6 +18304,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghec-2022-11-28/code-scanning.json b/src/rest/data/ghec-2022-11-28/code-scanning.json
index d66313e1fb27..9c391a2c8b3c 100644
--- a/src/rest/data/ghec-2022-11-28/code-scanning.json
+++ b/src/rest/data/ghec-2022-11-28/code-scanning.json
@@ -6427,8 +6427,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
@@ -6640,8 +6640,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
diff --git a/src/rest/data/ghec-2022-11-28/enterprise-admin.json b/src/rest/data/ghec-2022-11-28/enterprise-admin.json
index 64f42f4e0089..19232fa96bc6 100644
--- a/src/rest/data/ghec-2022-11-28/enterprise-admin.json
+++ b/src/rest/data/ghec-2022-11-28/enterprise-admin.json
@@ -8921,6 +8921,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9789,6 +9790,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -11040,6 +11042,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghec-2022-11-28/orgs.json b/src/rest/data/ghec-2022-11-28/orgs.json
index f96598ce9874..1110c39fb5f8 100644
--- a/src/rest/data/ghec-2022-11-28/orgs.json
+++ b/src/rest/data/ghec-2022-11-28/orgs.json
@@ -2525,6 +2525,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghec-2026-03-10/agent-tasks.json b/src/rest/data/ghec-2026-03-10/agent-tasks.json
index 46ae8ff27e3a..27af0336b604 100644
--- a/src/rest/data/ghec-2026-03-10/agent-tasks.json
+++ b/src/rest/data/ghec-2026-03-10/agent-tasks.json
@@ -99,9 +99,9 @@
"name": "creator_id",
"in": "query",
"schema": {
- "type": "integer"
+ "type": "array"
},
- "description": "
Filter tasks by creator user ID
"
+ "description": "
Filter tasks by creator user ID. Accepts one or more user IDs.
"
}
],
"bodyParameters": [],
@@ -452,6 +452,11 @@
"type": "string",
"name": "base_ref",
"description": "
Base ref for new branch/PR
"
+ },
+ {
+ "type": "string",
+ "name": "head_ref",
+ "description": "
Head ref for existing branch/PR. If provided with base_ref, the agent looks up open PR context for head_ref targeting base_ref and commits to head_ref instead of creating a new branch.
"
}
],
"descriptionHTML": "
Note
\n
\nThis endpoint is in public preview and is subject to change.
\n
\n
Starts a new Copilot cloud agent task for a repository.
\n
This endpoint is only available to users with a Copilot Business or Copilot Enterprise subscription.
\n
Fine-grained access tokens for \"Start a task\"
\n
This endpoint works with the following fine-grained token types:
\n
\n
The fine-grained token must have the following permission set:
\n
\n- \"Agent tasks\" repository permissions (read and write)
\n
\n
GitHub App installation access tokens are not supported for this endpoint.
",
diff --git a/src/rest/data/ghec-2026-03-10/apps.json b/src/rest/data/ghec-2026-03-10/apps.json
index a3d23ecbb5b8..2b35e8551380 100644
--- a/src/rest/data/ghec-2026-03-10/apps.json
+++ b/src/rest/data/ghec-2026-03-10/apps.json
@@ -1832,6 +1832,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2817,6 +2818,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3609,6 +3611,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -4272,6 +4275,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5650,6 +5654,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -6451,6 +6456,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7826,6 +7832,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -8811,6 +8818,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9806,6 +9814,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -10799,6 +10808,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -11348,7 +11358,11 @@
},
"forks": 1,
"open_issues": 1,
- "watchers": 1
+ "watchers": 1,
+ "custom_properties": {
+ "environment": "production",
+ "service": "web"
+ }
}
]
},
@@ -12026,6 +12040,16 @@
"created_at",
"updated_at"
]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "custom_properties": {
+ "type": "object",
+ "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. Present for org repos only.",
+ "additionalProperties": true
+ }
+ }
}
]
}
@@ -12772,6 +12796,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -14033,6 +14058,16 @@
"created_at",
"updated_at"
]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "custom_properties": {
+ "type": "object",
+ "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. Present for org repos only.",
+ "additionalProperties": true
+ }
+ }
}
]
}
@@ -17253,6 +17288,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -18220,6 +18256,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghec-2026-03-10/code-scanning.json b/src/rest/data/ghec-2026-03-10/code-scanning.json
index 760bfc4e3cfc..d7885c8eba30 100644
--- a/src/rest/data/ghec-2026-03-10/code-scanning.json
+++ b/src/rest/data/ghec-2026-03-10/code-scanning.json
@@ -6427,8 +6427,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
@@ -6640,8 +6640,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
diff --git a/src/rest/data/ghec-2026-03-10/enterprise-admin.json b/src/rest/data/ghec-2026-03-10/enterprise-admin.json
index 64f42f4e0089..19232fa96bc6 100644
--- a/src/rest/data/ghec-2026-03-10/enterprise-admin.json
+++ b/src/rest/data/ghec-2026-03-10/enterprise-admin.json
@@ -8921,6 +8921,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9789,6 +9790,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -11040,6 +11042,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghec-2026-03-10/orgs.json b/src/rest/data/ghec-2026-03-10/orgs.json
index 629937b02ef6..1cf6cbdd4a39 100644
--- a/src/rest/data/ghec-2026-03-10/orgs.json
+++ b/src/rest/data/ghec-2026-03-10/orgs.json
@@ -2514,6 +2514,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.16-2022-11-28/apps.json b/src/rest/data/ghes-3.16-2022-11-28/apps.json
index 3bfc1cb0698e..0c2ec7952bd0 100644
--- a/src/rest/data/ghes-3.16-2022-11-28/apps.json
+++ b/src/rest/data/ghes-3.16-2022-11-28/apps.json
@@ -1824,6 +1824,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2784,6 +2785,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3550,6 +3552,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -4186,6 +4189,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5554,6 +5558,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -6328,6 +6333,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7678,6 +7684,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -8648,6 +8655,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9616,6 +9624,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -11580,6 +11589,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -13664,6 +13674,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -14606,6 +14617,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.16-2022-11-28/code-scanning.json b/src/rest/data/ghes-3.16-2022-11-28/code-scanning.json
index 7d6eab6e6e18..19553443b59c 100644
--- a/src/rest/data/ghes-3.16-2022-11-28/code-scanning.json
+++ b/src/rest/data/ghes-3.16-2022-11-28/code-scanning.json
@@ -5977,8 +5977,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
@@ -6190,8 +6190,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
diff --git a/src/rest/data/ghes-3.16-2022-11-28/enterprise-admin.json b/src/rest/data/ghes-3.16-2022-11-28/enterprise-admin.json
index d34c8e8f0f81..cc570b692265 100644
--- a/src/rest/data/ghes-3.16-2022-11-28/enterprise-admin.json
+++ b/src/rest/data/ghes-3.16-2022-11-28/enterprise-admin.json
@@ -15508,6 +15508,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -16788,6 +16789,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -17659,6 +17661,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.16-2022-11-28/oauth-authorizations.json b/src/rest/data/ghes-3.16-2022-11-28/oauth-authorizations.json
index 57faadd68995..92c55820cf0e 100644
--- a/src/rest/data/ghes-3.16-2022-11-28/oauth-authorizations.json
+++ b/src/rest/data/ghes-3.16-2022-11-28/oauth-authorizations.json
@@ -1157,6 +1157,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2103,6 +2104,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3060,6 +3062,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3934,6 +3937,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -4896,6 +4900,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5771,6 +5776,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -6680,6 +6686,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7634,6 +7641,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.16-2022-11-28/orgs.json b/src/rest/data/ghes-3.16-2022-11-28/orgs.json
index c8ad62e5791e..e4e5a927e68d 100644
--- a/src/rest/data/ghes-3.16-2022-11-28/orgs.json
+++ b/src/rest/data/ghes-3.16-2022-11-28/orgs.json
@@ -2340,6 +2340,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.17-2022-11-28/apps.json b/src/rest/data/ghes-3.17-2022-11-28/apps.json
index 9b5b04e5c5df..d5d1a29da077 100644
--- a/src/rest/data/ghes-3.17-2022-11-28/apps.json
+++ b/src/rest/data/ghes-3.17-2022-11-28/apps.json
@@ -1824,6 +1824,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2784,6 +2785,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3550,6 +3552,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -4186,6 +4189,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5554,6 +5558,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -6328,6 +6333,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7678,6 +7684,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -8648,6 +8655,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9616,6 +9624,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -11580,6 +11589,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -13664,6 +13674,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -14606,6 +14617,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.17-2022-11-28/code-scanning.json b/src/rest/data/ghes-3.17-2022-11-28/code-scanning.json
index d5639221eeb1..f1f956946125 100644
--- a/src/rest/data/ghes-3.17-2022-11-28/code-scanning.json
+++ b/src/rest/data/ghes-3.17-2022-11-28/code-scanning.json
@@ -5977,8 +5977,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
@@ -6190,8 +6190,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
diff --git a/src/rest/data/ghes-3.17-2022-11-28/enterprise-admin.json b/src/rest/data/ghes-3.17-2022-11-28/enterprise-admin.json
index 7a103a5cd46d..ebd320cfdce9 100644
--- a/src/rest/data/ghes-3.17-2022-11-28/enterprise-admin.json
+++ b/src/rest/data/ghes-3.17-2022-11-28/enterprise-admin.json
@@ -15537,6 +15537,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -16817,6 +16818,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -17688,6 +17690,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.17-2022-11-28/oauth-authorizations.json b/src/rest/data/ghes-3.17-2022-11-28/oauth-authorizations.json
index 19e3f49de420..ece6a96fbf17 100644
--- a/src/rest/data/ghes-3.17-2022-11-28/oauth-authorizations.json
+++ b/src/rest/data/ghes-3.17-2022-11-28/oauth-authorizations.json
@@ -1157,6 +1157,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2103,6 +2104,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3060,6 +3062,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3934,6 +3937,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -4896,6 +4900,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5771,6 +5776,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -6680,6 +6686,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7634,6 +7641,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.17-2022-11-28/orgs.json b/src/rest/data/ghes-3.17-2022-11-28/orgs.json
index e7a914ddab4a..d5128ee51d40 100644
--- a/src/rest/data/ghes-3.17-2022-11-28/orgs.json
+++ b/src/rest/data/ghes-3.17-2022-11-28/orgs.json
@@ -2340,6 +2340,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.18-2022-11-28/apps.json b/src/rest/data/ghes-3.18-2022-11-28/apps.json
index adf6cead126c..3a0789f17816 100644
--- a/src/rest/data/ghes-3.18-2022-11-28/apps.json
+++ b/src/rest/data/ghes-3.18-2022-11-28/apps.json
@@ -1824,6 +1824,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2784,6 +2785,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3550,6 +3552,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -4186,6 +4189,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5554,6 +5558,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -6328,6 +6333,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7678,6 +7684,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -8648,6 +8655,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9616,6 +9624,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -11580,6 +11589,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -13664,6 +13674,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -14606,6 +14617,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.18-2022-11-28/code-scanning.json b/src/rest/data/ghes-3.18-2022-11-28/code-scanning.json
index 3b9089122db3..2fdb555d9b75 100644
--- a/src/rest/data/ghes-3.18-2022-11-28/code-scanning.json
+++ b/src/rest/data/ghes-3.18-2022-11-28/code-scanning.json
@@ -5977,8 +5977,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
@@ -6190,8 +6190,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
diff --git a/src/rest/data/ghes-3.18-2022-11-28/enterprise-admin.json b/src/rest/data/ghes-3.18-2022-11-28/enterprise-admin.json
index 98905a327444..14aca88d1379 100644
--- a/src/rest/data/ghes-3.18-2022-11-28/enterprise-admin.json
+++ b/src/rest/data/ghes-3.18-2022-11-28/enterprise-admin.json
@@ -16666,6 +16666,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -17946,6 +17947,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -18817,6 +18819,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.18-2022-11-28/oauth-authorizations.json b/src/rest/data/ghes-3.18-2022-11-28/oauth-authorizations.json
index 66f67a3ddc4e..3a4c47cb12e0 100644
--- a/src/rest/data/ghes-3.18-2022-11-28/oauth-authorizations.json
+++ b/src/rest/data/ghes-3.18-2022-11-28/oauth-authorizations.json
@@ -1157,6 +1157,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2103,6 +2104,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3060,6 +3062,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3934,6 +3937,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -4896,6 +4900,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5771,6 +5776,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -6680,6 +6686,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7634,6 +7641,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.18-2022-11-28/orgs.json b/src/rest/data/ghes-3.18-2022-11-28/orgs.json
index a4425a1873bf..caf3bd8cc91c 100644
--- a/src/rest/data/ghes-3.18-2022-11-28/orgs.json
+++ b/src/rest/data/ghes-3.18-2022-11-28/orgs.json
@@ -2340,6 +2340,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.19-2022-11-28/apps.json b/src/rest/data/ghes-3.19-2022-11-28/apps.json
index 8248dece3ba5..d87054462cef 100644
--- a/src/rest/data/ghes-3.19-2022-11-28/apps.json
+++ b/src/rest/data/ghes-3.19-2022-11-28/apps.json
@@ -1824,6 +1824,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2800,6 +2801,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3582,6 +3584,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -4236,6 +4239,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5620,6 +5624,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -6412,6 +6417,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7778,6 +7784,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -8764,6 +8771,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9748,6 +9756,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -11728,6 +11737,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -13828,6 +13838,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -14786,6 +14797,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.19-2022-11-28/code-scanning.json b/src/rest/data/ghes-3.19-2022-11-28/code-scanning.json
index 456ba0f3c97c..d73e03230419 100644
--- a/src/rest/data/ghes-3.19-2022-11-28/code-scanning.json
+++ b/src/rest/data/ghes-3.19-2022-11-28/code-scanning.json
@@ -5983,8 +5983,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
@@ -6196,8 +6196,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
diff --git a/src/rest/data/ghes-3.19-2022-11-28/enterprise-admin.json b/src/rest/data/ghes-3.19-2022-11-28/enterprise-admin.json
index 8da7fa095b2e..1da40a3b6908 100644
--- a/src/rest/data/ghes-3.19-2022-11-28/enterprise-admin.json
+++ b/src/rest/data/ghes-3.19-2022-11-28/enterprise-admin.json
@@ -9938,6 +9938,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -10797,6 +10798,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -12039,6 +12041,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -20782,6 +20785,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -22078,6 +22082,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -22965,6 +22970,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.19-2022-11-28/oauth-authorizations.json b/src/rest/data/ghes-3.19-2022-11-28/oauth-authorizations.json
index 5325ab156075..462b753a00d7 100644
--- a/src/rest/data/ghes-3.19-2022-11-28/oauth-authorizations.json
+++ b/src/rest/data/ghes-3.19-2022-11-28/oauth-authorizations.json
@@ -1157,6 +1157,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2119,6 +2120,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3092,6 +3094,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3982,6 +3985,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -4960,6 +4964,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5851,6 +5856,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -6776,6 +6782,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7746,6 +7753,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.19-2022-11-28/orgs.json b/src/rest/data/ghes-3.19-2022-11-28/orgs.json
index 11a1070671bf..cabd3a303203 100644
--- a/src/rest/data/ghes-3.19-2022-11-28/orgs.json
+++ b/src/rest/data/ghes-3.19-2022-11-28/orgs.json
@@ -2340,6 +2340,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.20-2022-11-28/apps.json b/src/rest/data/ghes-3.20-2022-11-28/apps.json
index bc8da908de1f..86ed468fcdbb 100644
--- a/src/rest/data/ghes-3.20-2022-11-28/apps.json
+++ b/src/rest/data/ghes-3.20-2022-11-28/apps.json
@@ -1832,6 +1832,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2825,6 +2826,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3625,6 +3627,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -4297,6 +4300,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5699,6 +5703,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -6509,6 +6514,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7892,6 +7898,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -8895,6 +8902,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9896,6 +9904,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -11893,6 +11902,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -14010,6 +14020,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -14985,6 +14996,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.20-2022-11-28/code-scanning.json b/src/rest/data/ghes-3.20-2022-11-28/code-scanning.json
index 743bcfb6f738..c7db1e96ea88 100644
--- a/src/rest/data/ghes-3.20-2022-11-28/code-scanning.json
+++ b/src/rest/data/ghes-3.20-2022-11-28/code-scanning.json
@@ -5982,8 +5982,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
@@ -6195,8 +6195,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
diff --git a/src/rest/data/ghes-3.20-2022-11-28/enterprise-admin.json b/src/rest/data/ghes-3.20-2022-11-28/enterprise-admin.json
index 535ac8ac082f..0b2f2723f0cb 100644
--- a/src/rest/data/ghes-3.20-2022-11-28/enterprise-admin.json
+++ b/src/rest/data/ghes-3.20-2022-11-28/enterprise-admin.json
@@ -9953,6 +9953,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -10829,6 +10830,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -12088,6 +12090,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -20848,6 +20851,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -22161,6 +22165,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -23065,6 +23070,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.20-2022-11-28/oauth-authorizations.json b/src/rest/data/ghes-3.20-2022-11-28/oauth-authorizations.json
index 903cfa5ff135..e605c67eebb9 100644
--- a/src/rest/data/ghes-3.20-2022-11-28/oauth-authorizations.json
+++ b/src/rest/data/ghes-3.20-2022-11-28/oauth-authorizations.json
@@ -1165,6 +1165,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2144,6 +2145,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3134,6 +3136,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -4041,6 +4044,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5036,6 +5040,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5944,6 +5949,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -6886,6 +6892,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7873,6 +7880,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.20-2022-11-28/orgs.json b/src/rest/data/ghes-3.20-2022-11-28/orgs.json
index af8d9de8edf8..bfae7d401bac 100644
--- a/src/rest/data/ghes-3.20-2022-11-28/orgs.json
+++ b/src/rest/data/ghes-3.20-2022-11-28/orgs.json
@@ -2348,6 +2348,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.21-2022-11-28/apps.json b/src/rest/data/ghes-3.21-2022-11-28/apps.json
index a019fa2f0767..ff7446bdf4e0 100644
--- a/src/rest/data/ghes-3.21-2022-11-28/apps.json
+++ b/src/rest/data/ghes-3.21-2022-11-28/apps.json
@@ -1832,6 +1832,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2825,6 +2826,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3625,6 +3627,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -4297,6 +4300,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5699,6 +5703,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -6509,6 +6514,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7892,6 +7898,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -8885,6 +8892,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9888,6 +9896,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -10889,6 +10898,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -12886,6 +12896,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -15003,6 +15014,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -15978,6 +15990,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.21-2022-11-28/code-scanning.json b/src/rest/data/ghes-3.21-2022-11-28/code-scanning.json
index 9bfe5994d61c..487826df72a6 100644
--- a/src/rest/data/ghes-3.21-2022-11-28/code-scanning.json
+++ b/src/rest/data/ghes-3.21-2022-11-28/code-scanning.json
@@ -5982,8 +5982,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
@@ -6195,8 +6195,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
diff --git a/src/rest/data/ghes-3.21-2022-11-28/enterprise-admin.json b/src/rest/data/ghes-3.21-2022-11-28/enterprise-admin.json
index 1299d65ccd8d..eefa59977d95 100644
--- a/src/rest/data/ghes-3.21-2022-11-28/enterprise-admin.json
+++ b/src/rest/data/ghes-3.21-2022-11-28/enterprise-admin.json
@@ -11256,6 +11256,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -12132,6 +12133,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -13391,6 +13393,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -22151,6 +22154,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -23464,6 +23468,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -24368,6 +24373,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.21-2022-11-28/oauth-authorizations.json b/src/rest/data/ghes-3.21-2022-11-28/oauth-authorizations.json
index f90091436653..9637083596ad 100644
--- a/src/rest/data/ghes-3.21-2022-11-28/oauth-authorizations.json
+++ b/src/rest/data/ghes-3.21-2022-11-28/oauth-authorizations.json
@@ -1165,6 +1165,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2144,6 +2145,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3134,6 +3136,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -4041,6 +4044,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5036,6 +5040,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5944,6 +5949,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -6886,6 +6892,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7873,6 +7880,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.21-2022-11-28/orgs.json b/src/rest/data/ghes-3.21-2022-11-28/orgs.json
index dca10c366bc6..16990541143d 100644
--- a/src/rest/data/ghes-3.21-2022-11-28/orgs.json
+++ b/src/rest/data/ghes-3.21-2022-11-28/orgs.json
@@ -2348,6 +2348,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.21-2026-03-10/apps.json b/src/rest/data/ghes-3.21-2026-03-10/apps.json
index 9a3917381993..8564f2cc9e22 100644
--- a/src/rest/data/ghes-3.21-2026-03-10/apps.json
+++ b/src/rest/data/ghes-3.21-2026-03-10/apps.json
@@ -1832,6 +1832,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2825,6 +2826,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3625,6 +3627,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -4297,6 +4300,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5683,6 +5687,7 @@
"name": "organization_copilot_seat_management",
"description": "
The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
",
"enum": [
+ "read",
"write"
]
},
@@ -6493,6 +6498,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7876,6 +7882,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -8869,6 +8876,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -9872,6 +9880,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -10873,6 +10882,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -12854,6 +12864,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -14955,6 +14966,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -15930,6 +15942,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.21-2026-03-10/code-scanning.json b/src/rest/data/ghes-3.21-2026-03-10/code-scanning.json
index 9491a0244e54..20d7dcbd12d4 100644
--- a/src/rest/data/ghes-3.21-2026-03-10/code-scanning.json
+++ b/src/rest/data/ghes-3.21-2026-03-10/code-scanning.json
@@ -5982,8 +5982,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
@@ -6195,8 +6195,8 @@
"description": "The SHA of the commit to which the analysis you are uploading relates.",
"type": "string",
"minLength": 40,
- "maxLength": 40,
- "pattern": "^[0-9a-fA-F]+$"
+ "maxLength": 64,
+ "pattern": "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$"
},
"analysis_key": {
"type": "string",
diff --git a/src/rest/data/ghes-3.21-2026-03-10/enterprise-admin.json b/src/rest/data/ghes-3.21-2026-03-10/enterprise-admin.json
index bf464ef070c1..7fc7830801f9 100644
--- a/src/rest/data/ghes-3.21-2026-03-10/enterprise-admin.json
+++ b/src/rest/data/ghes-3.21-2026-03-10/enterprise-admin.json
@@ -11256,6 +11256,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -12132,6 +12133,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -13391,6 +13393,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -22151,6 +22154,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -23464,6 +23468,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -24368,6 +24373,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.21-2026-03-10/oauth-authorizations.json b/src/rest/data/ghes-3.21-2026-03-10/oauth-authorizations.json
index f90091436653..9637083596ad 100644
--- a/src/rest/data/ghes-3.21-2026-03-10/oauth-authorizations.json
+++ b/src/rest/data/ghes-3.21-2026-03-10/oauth-authorizations.json
@@ -1165,6 +1165,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -2144,6 +2145,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -3134,6 +3136,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -4041,6 +4044,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5036,6 +5040,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -5944,6 +5949,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -6886,6 +6892,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
@@ -7873,6 +7880,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/data/ghes-3.21-2026-03-10/orgs.json b/src/rest/data/ghes-3.21-2026-03-10/orgs.json
index 9fd8fa7e7b59..b3aa44b3d748 100644
--- a/src/rest/data/ghes-3.21-2026-03-10/orgs.json
+++ b/src/rest/data/ghes-3.21-2026-03-10/orgs.json
@@ -2337,6 +2337,7 @@
"type": "string",
"description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.",
"enum": [
+ "read",
"write"
]
},
diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json
index 42d472ef863f..82d83b44a0a2 100644
--- a/src/rest/lib/config.json
+++ b/src/rest/lib/config.json
@@ -50,5 +50,5 @@
]
}
},
- "sha": "133d385dfbee06825d4d4136a82dd2b4c79813ba"
+ "sha": "ad5a9d52bd14ba99c9844087287d5cb240b8f0ac"
}
\ No newline at end of file
diff --git a/src/secret-scanning/data/pattern-docs/fpt/public-docs.yml b/src/secret-scanning/data/pattern-docs/fpt/public-docs.yml
index 93b048f87e6d..836d37af9a98 100644
--- a/src/secret-scanning/data/pattern-docs/fpt/public-docs.yml
+++ b/src/secret-scanning/data/pattern-docs/fpt/public-docs.yml
@@ -340,18 +340,6 @@
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
-- provider: Azure
- supportedSecret: Azure Active Directory Application Secret
- secretType: >-
- azure_active_directory_application_id,
- azure_active_directory_application_secret
- isPublic: false
- isPrivateWithGhas: true
- hasPushProtection: false
- hasValidityCheck: false
- hasExtendedMetadata: false
- base64Supported: false
- isduplicate: false
- provider: Azure
supportedSecret: Azure Active Directory Application Secret
secretType: azure_active_directory_application_secret
@@ -1018,7 +1006,7 @@
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
- hasValidityCheck: false
+ hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: true
isduplicate: true
@@ -1548,7 +1536,7 @@
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
- hasValidityCheck: false
+ hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: true
isduplicate: true
@@ -2014,10 +2002,10 @@
isduplicate: false
- provider: Elastic
supportedSecret: Elastic Stack API Key
- secretType: elastic_stack_api_key, elastic_stack_environment
+ secretType: elastic_stack_api_key
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: true
@@ -2227,7 +2215,7 @@
secretType: gitlab_ci_build_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2247,7 +2235,7 @@
secretType: gitlab_feature_flag_client_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2257,7 +2245,7 @@
secretType: gitlab_feed_token_v2
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2267,7 +2255,7 @@
secretType: gitlab_incoming_email_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2277,7 +2265,7 @@
secretType: gitlab_kubernetes_agent_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2287,7 +2275,7 @@
secretType: gitlab_oauth_app_secret
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2307,7 +2295,7 @@
secretType: gitlab_runner_auth_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2317,7 +2305,7 @@
secretType: gitlab_runner_registration_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2327,7 +2315,7 @@
secretType: gitlab_scim_oauth_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2858,7 +2846,7 @@
isduplicate: false
- provider: Lark
supportedSecret: Lark APaaS Client Secret
- secretType: lark_apaas_client_id, lark_apaas_client_secret
+ secretType: lark_apaas_client_secret
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
@@ -2868,7 +2856,7 @@
isduplicate: false
- provider: Lark
supportedSecret: Lark Application Secret
- secretType: lark_app_id, lark_app_secret
+ secretType: lark_app_secret
isPublic: true
isPrivateWithGhas: true
hasPushProtection: false
@@ -2888,7 +2876,7 @@
isduplicate: false
- provider: Lark
supportedSecret: Lark Meego Plugin Secret
- secretType: lark_meego_plugin_id, lark_meego_plugin_secret
+ secretType: lark_meego_plugin_secret
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
@@ -3698,7 +3686,7 @@
isduplicate: false
- provider: Pinecone
supportedSecret: Pinecone API Key
- secretType: pinecone_api_key, pinecone_environment
+ secretType: pinecone_api_key
isPublic: false
isPrivateWithGhas: true
hasPushProtection: true
@@ -4312,7 +4300,7 @@
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
- hasValidityCheck: false
+ hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
@@ -4352,7 +4340,7 @@
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
- hasValidityCheck: false
+ hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
@@ -4372,7 +4360,7 @@
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
- hasValidityCheck: false
+ hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
@@ -4392,7 +4380,7 @@
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
- hasValidityCheck: false
+ hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
@@ -4930,7 +4918,7 @@
supportedSecret: VolcEngine Ark API Key
secretType: volcengine_ark_api_key
isPublic: true
- isPrivateWithGhas: false
+ isPrivateWithGhas: true
hasPushProtection: false
hasValidityCheck: false
hasExtendedMetadata: false
diff --git a/src/secret-scanning/data/pattern-docs/ghec/public-docs.yml b/src/secret-scanning/data/pattern-docs/ghec/public-docs.yml
index 93b048f87e6d..836d37af9a98 100644
--- a/src/secret-scanning/data/pattern-docs/ghec/public-docs.yml
+++ b/src/secret-scanning/data/pattern-docs/ghec/public-docs.yml
@@ -340,18 +340,6 @@
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
-- provider: Azure
- supportedSecret: Azure Active Directory Application Secret
- secretType: >-
- azure_active_directory_application_id,
- azure_active_directory_application_secret
- isPublic: false
- isPrivateWithGhas: true
- hasPushProtection: false
- hasValidityCheck: false
- hasExtendedMetadata: false
- base64Supported: false
- isduplicate: false
- provider: Azure
supportedSecret: Azure Active Directory Application Secret
secretType: azure_active_directory_application_secret
@@ -1018,7 +1006,7 @@
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
- hasValidityCheck: false
+ hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: true
isduplicate: true
@@ -1548,7 +1536,7 @@
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
- hasValidityCheck: false
+ hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: true
isduplicate: true
@@ -2014,10 +2002,10 @@
isduplicate: false
- provider: Elastic
supportedSecret: Elastic Stack API Key
- secretType: elastic_stack_api_key, elastic_stack_environment
+ secretType: elastic_stack_api_key
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: true
@@ -2227,7 +2215,7 @@
secretType: gitlab_ci_build_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2247,7 +2235,7 @@
secretType: gitlab_feature_flag_client_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2257,7 +2245,7 @@
secretType: gitlab_feed_token_v2
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2267,7 +2255,7 @@
secretType: gitlab_incoming_email_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2277,7 +2265,7 @@
secretType: gitlab_kubernetes_agent_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2287,7 +2275,7 @@
secretType: gitlab_oauth_app_secret
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2307,7 +2295,7 @@
secretType: gitlab_runner_auth_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2317,7 +2305,7 @@
secretType: gitlab_runner_registration_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2327,7 +2315,7 @@
secretType: gitlab_scim_oauth_token
isPublic: false
isPrivateWithGhas: true
- hasPushProtection: false
+ hasPushProtection: true
hasValidityCheck: false
hasExtendedMetadata: false
base64Supported: false
@@ -2858,7 +2846,7 @@
isduplicate: false
- provider: Lark
supportedSecret: Lark APaaS Client Secret
- secretType: lark_apaas_client_id, lark_apaas_client_secret
+ secretType: lark_apaas_client_secret
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
@@ -2868,7 +2856,7 @@
isduplicate: false
- provider: Lark
supportedSecret: Lark Application Secret
- secretType: lark_app_id, lark_app_secret
+ secretType: lark_app_secret
isPublic: true
isPrivateWithGhas: true
hasPushProtection: false
@@ -2888,7 +2876,7 @@
isduplicate: false
- provider: Lark
supportedSecret: Lark Meego Plugin Secret
- secretType: lark_meego_plugin_id, lark_meego_plugin_secret
+ secretType: lark_meego_plugin_secret
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
@@ -3698,7 +3686,7 @@
isduplicate: false
- provider: Pinecone
supportedSecret: Pinecone API Key
- secretType: pinecone_api_key, pinecone_environment
+ secretType: pinecone_api_key
isPublic: false
isPrivateWithGhas: true
hasPushProtection: true
@@ -4312,7 +4300,7 @@
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
- hasValidityCheck: false
+ hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
@@ -4352,7 +4340,7 @@
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
- hasValidityCheck: false
+ hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
@@ -4372,7 +4360,7 @@
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
- hasValidityCheck: false
+ hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
@@ -4392,7 +4380,7 @@
isPublic: true
isPrivateWithGhas: true
hasPushProtection: true
- hasValidityCheck: false
+ hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
@@ -4930,7 +4918,7 @@
supportedSecret: VolcEngine Ark API Key
secretType: volcengine_ark_api_key
isPublic: true
- isPrivateWithGhas: false
+ isPrivateWithGhas: true
hasPushProtection: false
hasValidityCheck: false
hasExtendedMetadata: false
diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json
index e64d771223ba..f65019e1a7b9 100644
--- a/src/webhooks/lib/config.json
+++ b/src/webhooks/lib/config.json
@@ -1,3 +1,3 @@
{
- "sha": "133d385dfbee06825d4d4136a82dd2b4c79813ba"
+ "sha": "ad5a9d52bd14ba99c9844087287d5cb240b8f0ac"
}
\ No newline at end of file