Skip to content

Commit fd4cefb

Browse files
authored
chore(CI): fix missing permission for provenance (#599)
1 parent df226e9 commit fd4cefb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/pr-label.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- edited
88

99
permissions:
10+
# Permits `github/issue-labeler` to add a label to a pull request
1011
pull-requests: write
1112
contents: read
1213

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
required: true
2020
default: 'main'
2121

22+
permissions:
23+
# Provenance generation in GitHub Actions requires "write" access to the "id-token"
24+
id-token: write
25+
2226
jobs:
2327
release:
2428
name: Release

0 commit comments

Comments
 (0)