Skip to content

Commit a5f5f6d

Browse files
committed
Grant contents: write to release job for GitHub Release creation
Addresses PR review: action-gh-release needs write access to GITHUB_TOKEN, which fails if the repo default is read-only.
1 parent 0269f13 commit a5f5f6d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ concurrency:
1010
jobs:
1111
release:
1212
runs-on: ubuntu-latest
13+
# action-gh-release creates the GitHub Release via GITHUB_TOKEN, which needs write access.
14+
permissions:
15+
contents: write
1316
env:
1417
YOSPACE_USER: ${{ secrets.YOSPACE_USER }}
1518
YOSPACE_TOKEN: ${{ secrets.YOSPACE_TOKEN }}

0 commit comments

Comments
 (0)