Backport workflow: try using the app token

GITHUB_TOKEN is no longer defined; we should use either the workflow token or the app one. Here we try using the app one.
This commit is contained in:
Chris Smowton 2024-09-19 12:07:05 +01:00 committed by GitHub
parent 294a9d9291
commit 3b3a4a69cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -134,7 +134,7 @@ jobs:
echo SOURCE_BRANCH=${SOURCE_BRANCH}
echo TARGET_BRANCH=${TARGET_BRANCH}
python .github/update-release-branch.py \
--github-token ${GITHUB_TOKEN} \
--github-token ${{ steps.app-token.outputs.token }} \
--repository-nwo ${{ github.repository }} \
--source-branch ${SOURCE_BRANCH} \
--target-branch ${TARGET_BRANCH} \