Skip to content

Commit

Permalink
chore(CI): fix missing permission for provenance (#1700)
Browse files Browse the repository at this point in the history
chenjiahan authored Dec 24, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 1ca7cc7 commit bec7270
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-label.yaml
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@ on:
- edited

permissions:
# Permits `github/issue-labeler` to add a label to a pull request
pull-requests: write
contents: read

4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -19,6 +19,10 @@ on:
required: true
default: 'main'

permissions:
# Provenance generation in GitHub Actions requires "write" access to the "id-token"
id-token: write

jobs:
release:
name: Release

0 comments on commit bec7270

Please sign in to comment.