Add environment variable required to be able to use the GitHub CLI.

Signed-off-by: Michael Keller <mikeller@042.ch>
This commit is contained in:
Michael Keller 2024-05-13 12:55:09 +12:00 committed by Michael Keller
parent dd50ab0106
commit e81b42d533

View file

@ -27,8 +27,10 @@ jobs:
- name: assemble release notes
env:
EVENT_HEAD_COMMIT_ID: ${{ github.event.head_commit.id }}
# Required because we are using the GitHub CLI in 'create-releasenotes.sh'
GH_TOKEN: ${{ github.token }}
run: |
bash scripts/create-releasenotes.sh $EVENT_HEAD_COMMIT_ID
scripts/create-releasenotes.sh $EVENT_HEAD_COMMIT_ID
# add a file containing the release title so it can be picked up and listed on the release page on our web server
- name: publish release