create-github-app-token/action.yml
dependabot[bot] a47236f79f
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="f1e85dc40e">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="c0c999429d">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="bcfdbca92e">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="a0a73ee113">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="8dda528cca">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="f1e85dc40e"><code>f1e85dc</code></a>
feat: delete teams related endpoints, add new endpoints (as of
2026-10-05) (#...</li>
<li><a
href="c0c999429d"><code>c0c9994</code></a>
fix: patch app-installations anyOf in place instead of replacing the
operatio...</li>
<li><a
href="da1aaff6cd"><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="bcfdbca92e"><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="a0a73ee113"><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="8dda528cca"><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="52f070961b"><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="dd22170653"><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="4c6354a6d4"><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="7b4325a973"><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
2026-10-12 15:52:54 -07:00

160 lines
12 KiB
YAML

name: "Create GitHub App Token"
description: "GitHub Action for creating a GitHub App installation access token"
author: "Gregor Martynus and Parker Brown"
branding:
icon: "lock"
color: "gray-dark"
inputs:
client-id:
description: "GitHub App Client ID"
required: false
app-id:
description: "GitHub App ID"
required: false
deprecationMessage: "Use 'client-id' instead."
private-key:
description: "GitHub App private key"
required: true
owner:
description: "The owner of the GitHub App installation (defaults to current repository owner)"
required: false
repositories:
description: "Comma or newline-separated list of repositories to grant the token access to (defaults to current repository if owner is unset)"
required: false
enterprise:
description: "The slug of the enterprise account where the GitHub App is installed (cannot be used with 'owner' or 'repositories')"
required: false
skip-token-revoke:
description: "If true, the token will not be revoked when the current job is complete"
required: false
default: "false"
# Make GitHub API configurable to support non-GitHub Cloud use cases
# see https://github.com/actions/create-github-app-token/issues/77
github-api-url:
description: The URL of the GitHub REST API.
default: ${{ github.api_url }}
# <START GENERATED PERMISSIONS INPUTS>
permission-actions:
description: "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be set to 'read' or 'write'."
permission-administration:
description: "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be set to 'read' or 'write'."
permission-artifact-metadata:
description: "The level of permission to grant the access token to create and retrieve build artifact metadata records. Can be set to 'read' or 'write'."
permission-attestations:
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:
description: "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be set to 'read' or 'write'."
permission-custom-properties-for-organizations:
description: "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property. Can be set to 'read' or 'write'."
permission-dependabot-secrets:
description: "The level of permission to grant the access token to manage Dependabot secrets. Can be set to 'read' or 'write'."
permission-deployments:
description: "The level of permission to grant the access token for deployments and deployment statuses. Can be set to 'read' or 'write'."
permission-discussions:
description: "The level of permission to grant the access token for discussions and related comments and labels. Can be set to 'read' or 'write'."
permission-email-addresses:
description: "The level of permission to grant the access token to manage the email addresses belonging to a user. Can be set to 'read' or 'write'."
permission-enterprise-custom-properties-for-organizations:
description: "The level of permission to grant the access token for organization custom properties management at the enterprise level. Can be set to 'read', 'write', or 'admin'."
permission-environments:
description: "The level of permission to grant the access token for managing repository environments. Can be set to 'read' or 'write'."
permission-followers:
description: "The level of permission to grant the access token to manage the followers belonging to a user. Can be set to 'read' or 'write'."
permission-git-ssh-keys:
description: "The level of permission to grant the access token to manage git SSH keys. Can be set to 'read' or 'write'."
permission-gpg-keys:
description: "The level of permission to grant the access token to view and manage GPG keys belonging to a user. Can be set to 'read' or 'write'."
permission-interaction-limits:
description: "The level of permission to grant the access token to view and manage interaction limits on a repository. Can be set to 'read' or 'write'."
permission-issues:
description: "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be set to 'read' or 'write'."
permission-members:
description: "The level of permission to grant the access token for organization teams and members. Can be set to 'read' or 'write'."
permission-merge-queues:
description: "The level of permission to grant the access token to manage the merge queues for a repository. Can be set to 'read' or 'write'."
permission-metadata:
description: "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be set to 'read' or 'write'."
permission-organization-administration:
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 '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:
description: "The level of permission to grant the access token for repository custom properties management at the organization level. Can be set to 'read', 'write', or 'admin'."
permission-organization-custom-roles:
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:
description: "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be set to 'read' or 'write'."
permission-organization-personal-access-token-requests:
description: "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization. Can be set to 'read' or 'write'."
permission-organization-personal-access-tokens:
description: "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization. Can be set to 'read' or 'write'."
permission-organization-plan:
description: "The level of permission to grant the access token for viewing an organization's plan. Can be set to 'read'."
permission-organization-projects:
description: "The level of permission to grant the access token to manage organization projects and projects public preview (where available). Can be set to 'read', 'write', or 'admin'."
permission-organization-secrets:
description: "The level of permission to grant the access token to manage organization secrets. Can be set to 'read' or 'write'."
permission-organization-self-hosted-runners:
description: "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be set to 'read' or 'write'."
permission-organization-user-blocking:
description: "The level of permission to grant the access token to view and manage users blocked by the organization. Can be set to 'read' or 'write'."
permission-packages:
description: "The level of permission to grant the access token for packages published to GitHub Packages. Can be set to 'read' or 'write'."
permission-pages:
description: "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be set to 'read' or 'write'."
permission-profile:
description: "The level of permission to grant the access token to manage the profile settings belonging to a user. Can be set to 'write'."
permission-pull-requests:
description: "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be set to 'read' or 'write'."
permission-repository-custom-properties:
description: "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property. Can be set to 'read' or 'write'."
permission-repository-hooks:
description: "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be set to 'read' or 'write'."
permission-repository-projects:
description: "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be set to 'read', 'write', or 'admin'."
permission-secret-scanning-alerts:
description: "The level of permission to grant the access token to view and manage secret scanning alerts. Can be set to 'read' or 'write'."
permission-secrets:
description: "The level of permission to grant the access token to manage repository secrets. Can be set to 'read' or 'write'."
permission-security-events:
description: "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be set to 'read' or 'write'."
permission-single-file:
description: "The level of permission to grant the access token to manage just a single file. Can be set to 'read' or 'write'."
permission-starring:
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-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:
description: "The level of permission to grant the access token to update GitHub Actions workflow files. Can be set to 'write'."
# <END GENERATED PERMISSIONS INPUTS>
outputs:
token:
description: "GitHub installation access token"
installation-id:
description: "GitHub App installation ID"
app-slug:
description: "GitHub App slug"
runs:
using: "node24"
main: "dist/main.cjs"
post: "dist/post.cjs"