dependabot[bot] f83fb279aa fix(deps): bump the production-dependencies group with 3 updates (#107)
Bumps the production-dependencies group with 3 updates:
[@octokit/auth-app](https://github.com/octokit/auth-app.js),
[@octokit/request](https://github.com/octokit/request.js) and
[undici](https://github.com/nodejs/undici).

Updates `@octokit/auth-app` from 6.0.3 to 6.0.4
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/octokit/auth-app.js/releases"><code>@​octokit/auth-app</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v6.0.4</h2>
<h2><a
href="https://github.com/octokit/auth-app.js/compare/v6.0.3...v6.0.4">6.0.4</a>
(2024-02-23)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>README:</strong> usage example (<a
href="https://redirect.github.com/octokit/auth-app.js/issues/579">#579</a>)
(<a
href="https://github.com/octokit/auth-app.js/commit/61d61c24fba6fdd9b22f5ef8b0363f1b2755c449">61d61c2</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/octokit/auth-app.js/commit/61d61c24fba6fdd9b22f5ef8b0363f1b2755c449"><code>61d61c2</code></a>
fix(README): usage example (<a
href="https://redirect.github.com/octokit/auth-app.js/issues/579">#579</a>)</li>
<li><a
href="https://github.com/octokit/auth-app.js/commit/fb0624e13e7a174ec7466b1c1f88052ba35ffd80"><code>fb0624e</code></a>
maint: fix some spelling errors (<a
href="https://redirect.github.com/octokit/auth-app.js/issues/576">#576</a>)</li>
<li><a
href="https://github.com/octokit/auth-app.js/commit/e1677005ea9cc61dd83ba2c8618bf41a7b394aa9"><code>e167700</code></a>
build(deps): lock file maintenance (<a
href="https://redirect.github.com/octokit/auth-app.js/issues/577">#577</a>)</li>
<li><a
href="https://github.com/octokit/auth-app.js/commit/0c15ee7d029ed14daa0f2123929d775071438a8e"><code>0c15ee7</code></a>
build(deps): lock file maintenance (<a
href="https://redirect.github.com/octokit/auth-app.js/issues/574">#574</a>)</li>
<li><a
href="https://github.com/octokit/auth-app.js/commit/c97c234a4fa8bbd264835f01c31d15eb34ba614b"><code>c97c234</code></a>
build(deps): lock file maintenance</li>
<li><a
href="https://github.com/octokit/auth-app.js/commit/f063a5e1206fcc8a6b3599bf656caddf6b9bca78"><code>f063a5e</code></a>
chore(deps): update dependency prettier to v3.2.5 (<a
href="https://redirect.github.com/octokit/auth-app.js/issues/572">#572</a>)</li>
<li><a
href="https://github.com/octokit/auth-app.js/commit/94a8663688434ead1016585a0469d870eb0b947b"><code>94a8663</code></a>
build(deps): lock file maintenance (<a
href="https://redirect.github.com/octokit/auth-app.js/issues/571">#571</a>)</li>
<li><a
href="https://github.com/octokit/auth-app.js/commit/bddd8ab063f507405691d638752d4bcd8963eaa5"><code>bddd8ab</code></a>
chore(deps): update dependency esbuild to ^0.20.0</li>
<li><a
href="https://github.com/octokit/auth-app.js/commit/9733c31d6adb02d4d126ee3d64b1d7e59d94eb6f"><code>9733c31</code></a>
ci(action): update peter-evans/create-or-update-comment action to
v4</li>
<li><a
href="https://github.com/octokit/auth-app.js/commit/151f063ed3a18f596791c482eb6c4a7fdc924173"><code>151f063</code></a>
chore(deps): update dependency prettier to v3.2.4 (<a
href="https://redirect.github.com/octokit/auth-app.js/issues/567">#567</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/octokit/auth-app.js/compare/v6.0.3...v6.0.4">compare
view</a></li>
</ul>
</details>
<br />

Updates `@octokit/request` from 8.1.6 to 9.0.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/octokit/request.js/releases"><code>@​octokit/request</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v9.0.1</h2>
<h2><a
href="https://github.com/octokit/request.js/compare/v9.0.0...v9.0.1">9.0.1</a>
(2024-02-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>pkg:</strong> add <code>main</code> export (<a
href="https://redirect.github.com/octokit/request.js/issues/681">#681</a>)
(<a
href="https://github.com/octokit/request.js/commit/1d834ae8f19ac3cf8740d1bb0e92530fd0f10ac6">1d834ae</a>)</li>
</ul>
<h2>v9.0.0</h2>
<h1><a
href="https://github.com/octokit/request.js/compare/v8.2.0...v9.0.0">9.0.0</a>
(2024-02-24)</h1>
<h3>Features</h3>
<ul>
<li>switch to ESM output (<a
href="https://redirect.github.com/octokit/request.js/issues/678">#678</a>)
(<a
href="https://github.com/octokit/request.js/commit/517fd9803fe0790212d92925c87cf74bb1e2472c">517fd98</a>)</li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>Output a single ESM bundle</li>
</ul>
<h2>v9.0.0-beta.1</h2>
<h1><a
href="https://github.com/octokit/request.js/compare/v8.2.0...v9.0.0-beta.1">9.0.0-beta.1</a>
(2024-02-23)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>improve spec compliance (<a
href="https://github.com/octokit/request.js/commit/ca9eb20ba8f7f5f28b906b4f4c8c6739f6b518a7">ca9eb20</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>switch to ESM output (<a
href="https://github.com/octokit/request.js/commit/8df344f223adc1edd503ead801a0952a1809a555">8df344f</a>)</li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>Output a single ESM bundle</li>
</ul>
<h2>v8.2.0</h2>
<h1><a
href="https://github.com/octokit/request.js/compare/v8.1.6...v8.2.0">8.2.0</a>
(2024-02-09)</h1>
<h3>Features</h3>
<ul>
<li>add documentation link in error message (<a
href="https://redirect.github.com/octokit/request.js/issues/667">#667</a>)
(<a
href="https://github.com/octokit/request.js/commit/dbfeab2ff9d4e7b5eaf7d155b1c4cdd630928753">dbfeab2</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/octokit/request.js/commit/1d834ae8f19ac3cf8740d1bb0e92530fd0f10ac6"><code>1d834ae</code></a>
fix(pkg): add <code>main</code> export (<a
href="https://redirect.github.com/octokit/request.js/issues/681">#681</a>)</li>
<li><a
href="https://github.com/octokit/request.js/commit/a71ea0eb042f0318c6045eef3e4a8210809da245"><code>a71ea0e</code></a>
ci(action): update actions/add-to-project action to v0.6.0 (<a
href="https://redirect.github.com/octokit/request.js/issues/680">#680</a>)</li>
<li><a
href="https://github.com/octokit/request.js/commit/10214d913bbd4c37c43148c2f4679b9d1e747751"><code>10214d9</code></a>
docs(readme): examples use ESM (<a
href="https://redirect.github.com/octokit/request.js/issues/609">#609</a>)</li>
<li><a
href="https://github.com/octokit/request.js/commit/517fd9803fe0790212d92925c87cf74bb1e2472c"><code>517fd98</code></a>
feat: switch to ESM output (<a
href="https://redirect.github.com/octokit/request.js/issues/678">#678</a>)</li>
<li><a
href="https://github.com/octokit/request.js/commit/bb0e1e19d9d5cd146863e02bf2319a53fb4c7a69"><code>bb0e1e1</code></a>
test: remove <code>AbortController</code> and <code>AbortSignal</code>
polyfills (<a
href="https://redirect.github.com/octokit/request.js/issues/676">#676</a>)</li>
<li><a
href="https://github.com/octokit/request.js/commit/07b62594c2292e068e8a4d84413e53fa3990849f"><code>07b6259</code></a>
ci(workflows): add write permissions to release workflow (<a
href="https://redirect.github.com/octokit/request.js/issues/673">#673</a>)</li>
<li><a
href="https://github.com/octokit/request.js/commit/8a580802024c8c23bf09334b8bd2cf3f11d6f8c4"><code>8a58080</code></a>
ci(workflows): add permissions (<a
href="https://redirect.github.com/octokit/request.js/issues/669">#669</a>)</li>
<li><a
href="https://github.com/octokit/request.js/commit/dbfeab2ff9d4e7b5eaf7d155b1c4cdd630928753"><code>dbfeab2</code></a>
feat: add documentation link in error message (<a
href="https://redirect.github.com/octokit/request.js/issues/667">#667</a>)</li>
<li><a
href="https://github.com/octokit/request.js/commit/c013de4e24a01e0776661e46ba60fcf0d4670389"><code>c013de4</code></a>
docs: fix spelling errors (<a
href="https://redirect.github.com/octokit/request.js/issues/671">#671</a>)</li>
<li><a
href="https://github.com/octokit/request.js/commit/3d22c38bc0ed14fa5ff4a732bb62bee9b62fb5e6"><code>3d22c38</code></a>
chore(deps): update dependency prettier to v3.2.5</li>
<li>Additional commits viewable in <a
href="https://github.com/octokit/request.js/compare/v8.1.6...v9.0.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `undici` from 6.6.1 to 6.6.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/nodejs/undici/releases">undici's
releases</a>.</em></p>
<blockquote>
<h2>v6.6.2</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: webidl.brandcheck non strict should throw by <a
href="https://github.com/Uzlopak"><code>@​Uzlopak</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2683">nodejs/undici#2683</a></li>
<li>fix: expose EventSource for nodejs by <a
href="https://github.com/Uzlopak"><code>@​Uzlopak</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2645">nodejs/undici#2645</a></li>
<li>test: more information from debug tests by <a
href="https://github.com/Uzlopak"><code>@​Uzlopak</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2695">nodejs/undici#2695</a></li>
<li>Fix broken test on linux by <a
href="https://github.com/mcollina"><code>@​mcollina</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2699">nodejs/undici#2699</a></li>
<li>fix: fix the linux patch by <a
href="https://github.com/Uzlopak"><code>@​Uzlopak</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2703">nodejs/undici#2703</a></li>
<li>test(wpt): mark timed out tests as 'failed' by <a
href="https://github.com/rossilor95"><code>@​rossilor95</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2644">nodejs/undici#2644</a></li>
<li>build(deps-dev): bump borp from 0.5.0 to 0.9.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2702">nodejs/undici#2702</a></li>
<li>perf: use insertion sort algorithm by <a
href="https://github.com/tsctx"><code>@​tsctx</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2706">nodejs/undici#2706</a></li>
<li>fix: run node tests on merge by <a
href="https://github.com/Uzlopak"><code>@​Uzlopak</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2707">nodejs/undici#2707</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/rossilor95"><code>@​rossilor95</code></a> made
their first contribution in <a
href="https://redirect.github.com/nodejs/undici/pull/2644">nodejs/undici#2644</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/nodejs/undici/compare/v6.6.1...v6.6.2">https://github.com/nodejs/undici/compare/v6.6.1...v6.6.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/nodejs/undici/commit/e48df9620edf1428bd457f481d47fa2c77f75322"><code>e48df96</code></a>
fix: run node tests on merge (<a
href="https://redirect.github.com/nodejs/undici/issues/2707">#2707</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/2b3c9b72c84155f8b4ad72a95f5c3a24d2d6045a"><code>2b3c9b7</code></a>
perf: use insertion sort algorithm (<a
href="https://redirect.github.com/nodejs/undici/issues/2706">#2706</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/f1873208c02bcef7af64f08a194a2c065d7a0710"><code>f187320</code></a>
Bumped v6.6.2</li>
<li><a
href="https://github.com/nodejs/undici/commit/8e1407824ccd55ed5348eb6fd13616975f4f3a25"><code>8e14078</code></a>
build(deps-dev): bump borp from 0.5.0 to 0.9.1 (<a
href="https://redirect.github.com/nodejs/undici/issues/2702">#2702</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/fa28c054ee765f8533d36a2960912b86cc890ee7"><code>fa28c05</code></a>
test(wpt): mark timed out tests as 'failed' (<a
href="https://redirect.github.com/nodejs/undici/issues/2644">#2644</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/d5ad4664732f928bd88a90a2f13c382f094fb5f9"><code>d5ad466</code></a>
fix: fix the linux patch (<a
href="https://redirect.github.com/nodejs/undici/issues/2703">#2703</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/cf4d90dff47dd9d1be9241fe9a324f6b7f671dda"><code>cf4d90d</code></a>
Fix broken test on linux (<a
href="https://redirect.github.com/nodejs/undici/issues/2699">#2699</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/a0812d8aed8752f76cdbd11f14693abd43689fa6"><code>a0812d8</code></a>
test: more resilient debug tests (<a
href="https://redirect.github.com/nodejs/undici/issues/2695">#2695</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/415a54081deeb5b4a081897f60454f6bd107c6b0"><code>415a540</code></a>
fix: expose eventsource for nodejs (<a
href="https://redirect.github.com/nodejs/undici/issues/2645">#2645</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/2cc38adb0fffbab8c917790c638206596083fd74"><code>2cc38ad</code></a>
fix: webidl.brandcheck non strict should throw (<a
href="https://redirect.github.com/nodejs/undici/issues/2683">#2683</a>)</li>
<li>See full diff in <a
href="https://github.com/nodejs/undici/compare/v6.6.1...v6.6.2">compare
view</a></li>
</ul>
</details>
<br />


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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
2024-03-01 10:01:48 -08:00
2023-11-02 22:23:07 -07:00
2023-11-02 22:23:07 -07:00
2024-02-08 15:39:04 -08:00
2024-02-08 15:39:04 -08:00
2023-10-06 12:54:48 -07:00
2024-01-26 10:51:16 -08:00
2023-06-08 17:04:10 -07:00
2024-02-08 15:39:04 -08:00
2024-02-08 15:39:04 -08:00

Create GitHub App Token

test

GitHub Action for creating a GitHub App installation access token.

Usage

In order to use this action, you need to:

  1. Register new GitHub App
  2. Store the App's ID in your repository environment variables (example: APP_ID)
  3. Store the App's private key in your repository secrets (example: PRIVATE_KEY)

Create a token for the current repository

name: Run tests on staging
on:
  push:
    branches:
      - main

jobs:
  hello-world:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/create-github-app-token@v1
        id: app-token
        with:
          app-id: ${{ vars.APP_ID }}
          private-key: ${{ secrets.PRIVATE_KEY }}
          github-api-url: "https://github.acme-inc.com/api/v3"
      - uses: ./actions/staging-tests
        with:
          token: ${{ steps.app-token.outputs.token }}

Use app token with actions/checkout

on: [pull_request]

jobs:
  auto-format:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/create-github-app-token@v1
        id: app-token
        with:
          # required
          app-id: ${{ vars.APP_ID }}
          private-key: ${{ secrets.PRIVATE_KEY }}
      - uses: actions/checkout@v4
        with:
          token: ${{ steps.app-token.outputs.token }}
          ref: ${{ github.head_ref }}
          # Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
          persist-credentials: false
      - uses: creyD/prettier_action@v4.3
        with:
          github_token: ${{ steps.app-token.outputs.token }}

Create a token for all repositories in the current owner's installation

on: [workflow_dispatch]

jobs:
  hello-world:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/create-github-app-token@v1
        id: app-token
        with:
          app-id: ${{ vars.APP_ID }}
          private-key: ${{ secrets.PRIVATE_KEY }}
          owner: ${{ github.repository_owner }}
      - uses: peter-evans/create-or-update-comment@v3
        with:
          token: ${{ steps.app-token.outputs.token }}
          issue-number: ${{ github.event.issue.number }}
          body: "Hello, World!"

Create a token for multiple repositories in the current owner's installation

on: [issues]

jobs:
  hello-world:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/create-github-app-token@v1
        id: app-token
        with:
          app-id: ${{ vars.APP_ID }}
          private-key: ${{ secrets.PRIVATE_KEY }}
          owner: ${{ github.repository_owner }}
          repositories: "repo1,repo2"
      - uses: peter-evans/create-or-update-comment@v3
        with:
          token: ${{ steps.app-token.outputs.token }}
          issue-number: ${{ github.event.issue.number }}
          body: "Hello, World!"

Create a token for all repositories in another owner's installation

on: [issues]

jobs:
  hello-world:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/create-github-app-token@v1
        id: app-token
        with:
          app-id: ${{ vars.APP_ID }}
          private-key: ${{ secrets.PRIVATE_KEY }}
          owner: another-owner
      - uses: peter-evans/create-or-update-comment@v3
        with:
          token: ${{ steps.app-token.outputs.token }}
          issue-number: ${{ github.event.issue.number }}
          body: "Hello, World!"

Create tokens for multiple user or organization accounts

You can use a matrix strategy to create tokens for multiple user or organization accounts.

Note

See this documentation for information on using multiline strings in workflows.

on: [workflow_dispatch]

jobs:
  set-matrix:
    runs-on: ubuntu-latest
    outputs:
      matrix: ${{steps.set.outputs.matrix }}
    steps:
      - id: set
        run: echo 'matrix=[{"owner":"owner1"},{"owner":"owner2","repos":["repo1"]}]' >>"$GITHUB_OUTPUT"

  use-matrix:
    name: "@${{ matrix.owners-and-repos.owner }} installation"
    needs: [set-matrix]
    runs-on: ubuntu-latest
    strategy:
      matrix:
        owners-and-repos: ${{ fromJson(needs.set-matrix.outputs.matrix) }}

    steps:
      - uses: actions/create-github-app-token@v1
        id: app-token
        with:
          app-id: ${{ vars.APP_ID }}
          private-key: ${{ secrets.PRIVATE_KEY }}
          owner: ${{ matrix.owners-and-repos.owner }}
          repositories: ${{ join(matrix.owners-and-repos.repos) }}
      - uses: octokit/request-action@v2.x
        id: get-installation-repositories
        with:
          route: GET /installation/repositories
        env:
          GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
      - run: echo "$MULTILINE_JSON_STRING"
        env:
          MULTILINE_JSON_STRING: ${{ steps.get-installation-repositories.outputs.data }}

Run the workflow in a github.com repository against an organization in GitHub Enterprise Server

on: [push]

jobs:
  create_issue:
    runs-on: self-hosted

    steps:
    - name: Create GitHub App token
      id: create_token
      uses: actions/create-github-app-token@v1
      with:
        app-id: ${{ vars.GHES_APP_ID }}
        private-key: ${{ secrets.GHES_APP_PRIVATE_KEY }}
        owner: ${{ vars.GHES_INSTALLATION_ORG }}
        github-api-url: ${{ vars.GITHUB_API_URL }}

    - name: Create issue
      uses: octokit/request-action@v2.x
      with:
        route: POST /repos/${{ github.repository }}/issues
        title: "New issue from workflow"
        body: "This is a new issue created from a GitHub Action workflow."
      env:
        GITHUB_TOKEN: ${{ steps.create_token.outputs.token }}

Inputs

app-id

Required: GitHub App ID.

private-key

Required: GitHub App private key.

owner

Optional: GitHub App installation owner. If empty, defaults to the current repository owner.

repositories

Optional: Comma-separated list of repositories to grant access to.

Note

If owner is set and repositories is empty, access will be scoped to all repositories in the provided repository owner's installation. If owner and repositories are empty, access will be scoped to only the current repository.

skip-token-revoke

Optional: If truthy, the token will not be revoked when the current job is complete.

github-api-url

Optional: The URL of the GitHub REST API. Defaults to the URL of the GitHub Rest API where the workflow is run from.

Outputs

token

GitHub App installation access token.

How it works

The action creates an installation access token using the POST /app/installations/{installation_id}/access_tokens endpoint. By default,

  1. The token is scoped to the current repository or repositories if set.
  2. The token inherits all the installation's permissions.
  3. The token is set as output token which can be used in subsequent steps.
  4. Unless the skip-token-revoke input is set to a truthy value, the token is revoked in the post step of the action, which means it cannot be passed to another job.
  5. The token is masked, it cannot be logged accidentally.

Note

Installation permissions can differ from the app's permissions they belong to. Installation permissions are set when an app is installed on an account. When the app adds more permissions after the installation, an account administrator will have to approve the new permissions before they are set on the installation.

License

MIT

S
Description
Mirror of github.com/actions/create-github-app-token (RFC #229 task #109)
Readme 8.1 MiB
Languages
JavaScript 100%