From a47236f79f79fcbc3532af49fe3a5ded89529b6e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Oct 2026 15:52:54 -0700 Subject: [PATCH] feat: update permission inputs (#399) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [@octokit/openapi](https://github.com/octokit/openapi) from 22.0.0 to 24.0.0.
Release notes

Sourced from @​octokit/openapi's releases.

v24.0.0

24.0.0 (2026-10-05)

Features

BREAKING CHANGES

v23.0.3

23.0.3 (2026-10-05)

Bug Fixes

v23.0.2

23.0.2 (2026-09-09)

Bug Fixes

v23.0.1

23.0.1 (2026-08-29)

Bug Fixes

v23.0.0

23.0.0 (2026-08-27)

New Endpoints

... (truncated)

Commits

[![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) ---
Dependabot commands and options
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 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)
--------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Parker Brown <17183625+parkerbxyz@users.noreply.github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b1df02be-7b54-4bb7-b981-89dea6a89274 --- action.yml | 10 ++++--- package-lock.json | 8 +++--- package.json | 2 +- scripts/generated/app-permissions.json | 36 +++++++++++++++++++------- 4 files changed, 39 insertions(+), 17 deletions(-) diff --git a/action.yml b/action.yml index 9f45ab3..c6c0f60 100644 --- a/action.yml +++ b/action.yml @@ -44,6 +44,8 @@ inputs: description: "The level of permission to create and retrieve the access token for repository attestations. Can be set to 'read' or 'write'." permission-checks: description: "The level of permission to grant the access token for checks on code. Can be set to 'read' or 'write'." + permission-code-quality: + description: "The level of permission to grant the access token to view and manage code quality data. Can be set to 'read' or 'write'." permission-codespaces: description: "The level of permission to grant the access token to create, edit, delete, and list Codespaces. Can be set to 'read' or 'write'." permission-contents: @@ -82,8 +84,10 @@ inputs: description: "The level of permission to grant the access token to manage access to an organization. Can be set to 'read' or 'write'." permission-organization-announcement-banners: 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'." + permission-organization-copilot-agent-settings: + 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'." permission-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. Can be set to 'write'." + 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'." permission-organization-custom-org-roles: description: "The level of permission to grant the access token for custom organization roles management. Can be set to 'read' or 'write'." permission-organization-custom-properties: @@ -92,6 +96,8 @@ inputs: description: "The level of permission to grant the access token for custom repository roles management. Can be set to 'read' or 'write'." permission-organization-events: 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'." + permission-organization-external-properties-for-repos: + 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'." permission-organization-hooks: 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'." permission-organization-packages: @@ -136,8 +142,6 @@ inputs: 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'." permission-statuses: description: "The level of permission to grant the access token for commit statuses. Can be set to 'read' or 'write'." - permission-team-discussions: - description: "The level of permission to grant the access token to manage team discussions and related comments. Can be set to 'read' or 'write'." permission-vulnerability-alerts: description: "The level of permission to grant the access token to manage Dependabot alerts. Can be set to 'read' or 'write'." permission-workflows: diff --git a/package-lock.json b/package-lock.json index 1da661a..cad2de4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "p-retry": "^8.0.1" }, "devDependencies": { - "@octokit/openapi": "^22.0.0", + "@octokit/openapi": "^24.0.0", "c8": "^12.0.0", "esbuild": "^0.28.2", "open-cli": "^9.0.0", @@ -672,9 +672,9 @@ } }, "node_modules/@octokit/openapi": { - "version": "22.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi/-/openapi-22.0.0.tgz", - "integrity": "sha512-Rpif7FjTjFEBSU+amIRHUAIAHwgg+tVJdTiQuU2GEWDniZxmWjxZCgJ4V9GEp2GXnq/Bl+TrjEvwAl9PB29NAQ==", + "version": "24.0.0", + "resolved": "https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@octokit/openapi/-/openapi-24.0.0.tgz", + "integrity": "sha512-KIpEIm6oND1tyTT3m/xyJZVJuduifs9BKLevaIjm+MBheg4ossTzLrx2leNgJoXccoIx5SjGGH/Esu/yecjirg==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 20c2f75..5b99346 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "p-retry": "^8.0.1" }, "devDependencies": { - "@octokit/openapi": "^22.0.0", + "@octokit/openapi": "^24.0.0", "c8": "^12.0.0", "esbuild": "^0.28.2", "open-cli": "^9.0.0", diff --git a/scripts/generated/app-permissions.json b/scripts/generated/app-permissions.json index d66d70c..1440202 100644 --- a/scripts/generated/app-permissions.json +++ b/scripts/generated/app-permissions.json @@ -1,7 +1,7 @@ { "title": "App Permissions", "type": "object", - "description": "The permissions granted to the user access token.", + "description": "The permissions granted to the fine-grained access token.", "properties": { "actions": { "type": "string", @@ -43,6 +43,14 @@ "write" ] }, + "code_quality": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage code quality data.", + "enum": [ + "read", + "write" + ] + }, "codespaces": { "type": "string", "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", @@ -272,9 +280,27 @@ "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" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot cloud agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_external_properties_for_repos": { + "type": "string", + "description": "The level of permission to grant the access token for managing external custom properties for repositories in an organization.", + "enum": [ + "read", + "write", + "admin" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -362,14 +388,6 @@ "write" ] }, - "team_discussions": { - "type": "string", - "description": "The level of permission to grant the access token to manage team discussions and related comments.", - "enum": [ - "read", - "write" - ] - }, "email_addresses": { "type": "string", "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.",