Skip to content

Commit 93eb75c

Browse files
committed
ci: grant attestations:write on publish-webapp reusable-workflow call
Per GitHub Actions reusable-workflow semantics, the GITHUB_TOKEN passed to a called workflow is at most the caller's job-level permissions. Without this, actions/attest-build-provenance fails at runtime even though the called workflow declares the scope.
1 parent 6752afd commit 93eb75c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
contents: read
6969
packages: write
7070
id-token: write
71+
attestations: write
7172
uses: ./.github/workflows/publish-webapp.yml
7273
secrets:
7374
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}

0 commit comments

Comments
 (0)