Skip to content

Commit 4be99c6

Browse files
committed
ci: Pass GITHUB_TOKEN to release-plz
The action needs the token to call the GitHub API (open release PR, create tags, create releases). Workflows have to forward it explicitly; it is not auto-injected as an env var even though the secret is auto-provisioned per run.
1 parent 3ac53dc commit 4be99c6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ jobs:
2121
- uses: release-plz/action@v0.5
2222
with:
2323
verbose: true
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)