Skip to content

Commit

Permalink
Backport workflow: try using the app token
Browse files Browse the repository at this point in the history
GITHUB_TOKEN is no longer defined; we should use either the workflow token or the app one. Here we try using the app one.
  • Loading branch information
smowton committed Sep 19, 2024
1 parent 294a9d9 commit 3b3a4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down

0 comments on commit 3b3a4a6

Please sign in to comment.