Skip to content

Commit 6798d1d

Browse files
committed
[actions] release.yml: provide GH_TOKEN so release-notes PR lookup can run
In GitHub Actions, `gh` refuses to run without a token, and `release-notes.sh` fails closed on `gh` errors, so the `make release` dry run died once the script was checked in. The workflow already permits `api.github.com` egress and only needs the default read-only token.
1 parent df7a936 commit 6798d1d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ jobs:
3535
run: echo proceed | make TAG=99.99.99 release
3636
env:
3737
GIT_EDITOR: "sed -i '1 s/^/99.99.99 make release test/'"
38+
GH_TOKEN: ${{ github.token }}
3839
- name: Ensure tag is created
3940
run: git tag | grep v99.99.99

0 commit comments

Comments
 (0)