Add id-token=write permission, for Depot.dev connection

This commit is contained in:
Brendan 2024-02-14 01:19:12 +00:00
parent 2d90ae903b
commit 0ebc2a746b
2 changed files with 10 additions and 0 deletions

View File

@ -22,6 +22,11 @@ jobs:
permissions: permissions:
contents: read contents: read
packages: write packages: write
# The id-token write permission is needed to connect to Depot.dev
# as part of the partial-builder.yml action. It needs to be declared
# in the parent action, as noted here:
# https://github.com/orgs/community/discussions/76409#discussioncomment-8131390
id-token: write
name: Build Tagged Release name: Build Tagged Release
uses: ./.github/workflows/partial-builder.yml uses: ./.github/workflows/partial-builder.yml
needs: needs:

View File

@ -17,6 +17,11 @@ jobs:
permissions: permissions:
contents: read contents: read
packages: write packages: write
# The id-token write permission is needed to connect to Depot.dev
# as part of the partial-builder.yml action. It needs to be declared
# in the parent action, as noted here:
# https://github.com/orgs/community/discussions/76409#discussioncomment-8131390
id-token: write
name: Build Tagged Release name: Build Tagged Release
uses: ./.github/workflows/partial-builder.yml uses: ./.github/workflows/partial-builder.yml
needs: needs: