From e81b42d533e75d72321e7cf4fe98e04be23fe4d3 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Mon, 13 May 2024 12:55:09 +1200 Subject: [PATCH] Add environment variable required to be able to use the GitHub CLI. Signed-off-by: Michael Keller --- .github/workflows/post-releasenotes.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/post-releasenotes.yml b/.github/workflows/post-releasenotes.yml index 441b1ec8d..0eced7eae 100644 --- a/.github/workflows/post-releasenotes.yml +++ b/.github/workflows/post-releasenotes.yml @@ -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