Skip to content

Commit a47236f

Browse files
dependabot[bot]parkerbxyzCopilot
authored
feat: update permission inputs (#399)
Bumps [@octokit/openapi](https://github.com/octokit/openapi) from 22.0.0 to 24.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/octokit/openapi/releases">@​octokit/openapi's releases</a>.</em></p> <blockquote> <h2>v24.0.0</h2> <h1><a href="https://github.com/octokit/openapi/compare/v23.0.3...v24.0.0">24.0.0</a> (2026-10-05)</h1> <h3>Features</h3> <ul> <li>delete teams related endpoints, add new endpoints (as of 2026-10-05) (<a href="https://redirect.github.com/octokit/openapi/issues/542">#542</a>) (<a href="https://github.com/octokit/openapi/commit/f1e85dc40ee2926706f18267fe04cd66102ab178">f1e85dc</a>)</li> </ul> <h3>BREAKING CHANGES</h3> <ul> <li>Remove the Enterprise Teams REST API endpoints under <code>/enterprises/{enterprise}/teams</code>. Co-authored-by: octokit[bot] &lt;171388558+octokit[bot]<a href="https://github.com/users"><code>@​users</code></a>.noreply.github.com&gt; Co-authored-by: wolfy1339 <a href="mailto:[email protected]">[email protected]</a></li> </ul> <h2>v23.0.3</h2> <h2><a href="https://github.com/octokit/openapi/compare/v23.0.2...v23.0.3">23.0.3</a> (2026-10-05)</h2> <h3>Bug Fixes</h3> <ul> <li>patch app-installations anyOf in place instead of replacing the operation (<a href="https://redirect.github.com/octokit/openapi/issues/544">#544</a>) (<a href="https://github.com/octokit/openapi/commit/c0c999429d4bfae3e278a04bb593cd09fea7b656">c0c9994</a>)</li> </ul> <h2>v23.0.2</h2> <h2><a href="https://github.com/octokit/openapi/compare/v23.0.1...v23.0.2">23.0.2</a> (2026-09-09)</h2> <h3>Bug Fixes</h3> <ul> <li>temporarily hardcode GHES versions (<a href="https://redirect.github.com/octokit/openapi/issues/540">#540</a>) (<a href="https://github.com/octokit/openapi/commit/bcfdbca92ead2a576f5ae88cfbe06c1b631c00d6">bcfdbca</a>), closes <a href="https://redirect.github.com/octokit/openapi/issues/541">#541</a></li> </ul> <h2>v23.0.1</h2> <h2><a href="https://github.com/octokit/openapi/compare/v23.0.0...v23.0.1">23.0.1</a> (2026-08-29)</h2> <h3>Bug Fixes</h3> <ul> <li>remove requestBody when no schema is present (<a href="https://redirect.github.com/octokit/openapi/issues/532">#532</a>) (<a href="https://github.com/octokit/openapi/commit/a0a73ee11318e5a95711e51db689fe90dec7f68f">a0a73ee</a>)</li> </ul> <h2>v23.0.0</h2> <h1><a href="https://github.com/octokit/openapi/compare/v22.0.0...v23.0.0">23.0.0</a> (2026-08-27)</h1> <ul> <li>feat!: remove deprecated endpoints, major additions up to 2026-08-24 (<a href="https://redirect.github.com/octokit/openapi/issues/538">#538</a>) (<a href="https://github.com/octokit/openapi/commit/8dda528cca59a0436ace295c0d3f745a2586cd10">8dda528</a>)</li> </ul> <h3>New Endpoints</h3> <ul> <li>GET /agents/repos/{owner}/{repo}/tasks</li> <li>POST /agents/repos/{owner}/{repo}/tasks</li> <li>GET /agents/repos/{owner}/{repo}/tasks/{task_id}</li> <li>GET /agents/tasks</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/octokit/openapi/commit/f1e85dc40ee2926706f18267fe04cd66102ab178"><code>f1e85dc</code></a> feat: delete teams related endpoints, add new endpoints (as of 2026-10-05) (#...</li> <li><a href="https://github.com/octokit/openapi/commit/c0c999429d4bfae3e278a04bb593cd09fea7b656"><code>c0c9994</code></a> fix: patch app-installations anyOf in place instead of replacing the operatio...</li> <li><a href="https://github.com/octokit/openapi/commit/da1aaff6cd94463c5e7865db742fbc89ed522936"><code>da1aaff</code></a> ci(action): update actions/checkout action to v7 (<a href="https://redirect.github.com/octokit/openapi/issues/535">#535</a>)</li> <li><a href="https://github.com/octokit/openapi/commit/bcfdbca92ead2a576f5ae88cfbe06c1b631c00d6"><code>bcfdbca</code></a> fix: temporarily hardcode GHES versions (<a href="https://redirect.github.com/octokit/openapi/issues/540">#540</a>)</li> <li><a href="https://github.com/octokit/openapi/commit/a0a73ee11318e5a95711e51db689fe90dec7f68f"><code>a0a73ee</code></a> fix: remove requestBody when no schema is present (<a href="https://redirect.github.com/octokit/openapi/issues/532">#532</a>)</li> <li><a href="https://github.com/octokit/openapi/commit/8dda528cca59a0436ace295c0d3f745a2586cd10"><code>8dda528</code></a> feat!: remove deprecated endpoints, major additions up to 2026-08-24 (<a href="https://redirect.github.com/octokit/openapi/issues/538">#538</a>)</li> <li><a href="https://github.com/octokit/openapi/commit/52f070961b2efd3ad189bd9bff69e9541f4037f8"><code>52f0709</code></a> ci(action): update actions/add-to-project action to v2 (<a href="https://redirect.github.com/octokit/openapi/issues/534">#534</a>)</li> <li><a href="https://github.com/octokit/openapi/commit/dd22170653feabf8c367a8cf2892278be06df1bc"><code>dd22170</code></a> ci(action): update actions/setup-node action to v7 (<a href="https://redirect.github.com/octokit/openapi/issues/536">#536</a>)</li> <li><a href="https://github.com/octokit/openapi/commit/4c6354a6d46e02219056acf5662d0f4a81f8f74e"><code>4c6354a</code></a> ci(action): update actions/create-github-app-token action to v3 (<a href="https://redirect.github.com/octokit/openapi/issues/525">#525</a>)</li> <li><a href="https://github.com/octokit/openapi/commit/7b4325a9732a7b0ca16c4821208bb3785ad61c76"><code>7b4325a</code></a> build(deps): lock file maintenance (<a href="https://redirect.github.com/octokit/openapi/issues/526">#526</a>)</li> <li>Additional commits viewable in <a href="https://github.com/octokit/openapi/compare/v22.0.0...v24.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@octokit/openapi&package-manager=npm_and_yarn&previous-version=22.0.0&new-version=24.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Parker Brown <[email protected]> Co-authored-by: Copilot App <[email protected]> Copilot-Session: b1df02be-7b54-4bb7-b981-89dea6a89274
1 parent a69c19d commit a47236f

4 files changed

Lines changed: 39 additions & 17 deletions

File tree

‎action.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ inputs:
4444
description: "The level of permission to create and retrieve the access token for repository attestations. Can be set to 'read' or 'write'."
4545
permission-checks:
4646
description: "The level of permission to grant the access token for checks on code. Can be set to 'read' or 'write'."
47+
permission-code-quality:
48+
description: "The level of permission to grant the access token to view and manage code quality data. Can be set to 'read' or 'write'."
4749
permission-codespaces:
4850
description: "The level of permission to grant the access token to create, edit, delete, and list Codespaces. Can be set to 'read' or 'write'."
4951
permission-contents:
@@ -82,8 +84,10 @@ inputs:
8284
description: "The level of permission to grant the access token to manage access to an organization. Can be set to 'read' or 'write'."
8385
permission-organization-announcement-banners:
8486
description: "The level of permission to grant the access token to view and manage announcement banners for an organization. Can be set to 'read' or 'write'."
87+
permission-organization-copilot-agent-settings:
88+
description: "The level of permission to grant the access token to view and manage Copilot cloud agent settings for an organization. Can be set to 'read' or 'write'."
8589
permission-organization-copilot-seat-management:
86-
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. Can be set to 'write'."
90+
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. Can be set to 'read' or 'write'."
8791
permission-organization-custom-org-roles:
8892
description: "The level of permission to grant the access token for custom organization roles management. Can be set to 'read' or 'write'."
8993
permission-organization-custom-properties:
@@ -92,6 +96,8 @@ inputs:
9296
description: "The level of permission to grant the access token for custom repository roles management. Can be set to 'read' or 'write'."
9397
permission-organization-events:
9498
description: "The level of permission to grant the access token to view events triggered by an activity in an organization. Can be set to 'read'."
99+
permission-organization-external-properties-for-repos:
100+
description: "The level of permission to grant the access token for managing external custom properties for repositories in an organization. Can be set to 'read', 'write', or 'admin'."
95101
permission-organization-hooks:
96102
description: "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be set to 'read' or 'write'."
97103
permission-organization-packages:
@@ -136,8 +142,6 @@ inputs:
136142
description: "The level of permission to grant the access token to list and manage repositories a user is starring. Can be set to 'read' or 'write'."
137143
permission-statuses:
138144
description: "The level of permission to grant the access token for commit statuses. Can be set to 'read' or 'write'."
139-
permission-team-discussions:
140-
description: "The level of permission to grant the access token to manage team discussions and related comments. Can be set to 'read' or 'write'."
141145
permission-vulnerability-alerts:
142146
description: "The level of permission to grant the access token to manage Dependabot alerts. Can be set to 'read' or 'write'."
143147
permission-workflows:

‎package-lock.json‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"p-retry": "^8.0.1"
2424
},
2525
"devDependencies": {
26-
"@octokit/openapi": "^22.0.0",
26+
"@octokit/openapi": "^24.0.0",
2727
"c8": "^12.0.0",
2828
"esbuild": "^0.28.2",
2929
"open-cli": "^9.0.0",

‎scripts/generated/app-permissions.json‎

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title": "App Permissions",
33
"type": "object",
4-
"description": "The permissions granted to the user access token.",
4+
"description": "The permissions granted to the fine-grained access token.",
55
"properties": {
66
"actions": {
77
"type": "string",
@@ -43,6 +43,14 @@
4343
"write"
4444
]
4545
},
46+
"code_quality": {
47+
"type": "string",
48+
"description": "The level of permission to grant the access token to view and manage code quality data.",
49+
"enum": [
50+
"read",
51+
"write"
52+
]
53+
},
4654
"codespaces": {
4755
"type": "string",
4856
"description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.",
@@ -272,9 +280,27 @@
272280
"type": "string",
273281
"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.",
274282
"enum": [
283+
"read",
284+
"write"
285+
]
286+
},
287+
"organization_copilot_agent_settings": {
288+
"type": "string",
289+
"description": "The level of permission to grant the access token to view and manage Copilot cloud agent settings for an organization.",
290+
"enum": [
291+
"read",
275292
"write"
276293
]
277294
},
295+
"organization_external_properties_for_repos": {
296+
"type": "string",
297+
"description": "The level of permission to grant the access token for managing external custom properties for repositories in an organization.",
298+
"enum": [
299+
"read",
300+
"write",
301+
"admin"
302+
]
303+
},
278304
"organization_announcement_banners": {
279305
"type": "string",
280306
"description": "The level of permission to grant the access token to view and manage announcement banners for an organization.",
@@ -362,14 +388,6 @@
362388
"write"
363389
]
364390
},
365-
"team_discussions": {
366-
"type": "string",
367-
"description": "The level of permission to grant the access token to manage team discussions and related comments.",
368-
"enum": [
369-
"read",
370-
"write"
371-
]
372-
},
373391
"email_addresses": {
374392
"type": "string",
375393
"description": "The level of permission to grant the access token to manage the email addresses belonging to a user.",

0 commit comments

Comments
 (0)