Skip to content

Commit

Permalink
chore(CI): fix missing permission for provenance (#4257)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Dec 24, 2024
1 parent 87ae6ba commit f85f5bf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/issue-close-require.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- cron: '0 0 * * *'

permissions:
# Permits `actions-cool/issues-helper` to close an issue
issues: write
contents: read

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/issue-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

permissions:
contents: read
# Permits `actions-cool/issues-helper` to comment on an issue
issues: write

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-label.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- edited

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

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ on:
required: false
default: true

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

jobs:
release:
name: Release
Expand Down

0 comments on commit f85f5bf

Please sign in to comment.