Skip to content

Commit a65529e

Browse files
authored
Add GH_TOKEN env to release workflow (#449)
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent c7a028d commit a65529e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/CreateRelease.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,14 @@ jobs:
144144
- name: Extract release notes from changelog
145145
if: ${{ contains(github.ref, 'refs/heads/release/') }}
146146
run: just create-release-notes v${{ env.HYPERLIGHT_VERSION }} > RELEASE_NOTES.md
147+
env:
148+
GH_TOKEN: ${{ github.token }}
147149

148150
- name: Extract prerelease notes from changelog
149151
if: ${{ github.ref=='refs/heads/main' }}
150152
run: just create-release-notes dev-latest > RELEASE_NOTES.md
153+
env:
154+
GH_TOKEN: ${{ github.token }}
151155

152156
- name: Create release
153157
if: ${{ contains(github.ref, 'refs/heads/release/') }}

0 commit comments

Comments
 (0)