Skip to content

Commit 7513a95

Browse files
authored
Use workflow token for update-release-branch.py
This explicitly passes the workflow token and restores this to the original invocation. The split is now App token for `git` and workflow token for everything else.
1 parent 574aaa5 commit 7513a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-release-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
echo SOURCE_BRANCH=${SOURCE_BRANCH}
135135
echo TARGET_BRANCH=${TARGET_BRANCH}
136136
python .github/update-release-branch.py \
137-
--github-token ${{ steps.app-token.outputs.token }} \
137+
--github-token ${{ secrets.GITHUB_TOKEN }} \
138138
--repository-nwo ${{ github.repository }} \
139139
--source-branch ${SOURCE_BRANCH} \
140140
--target-branch ${TARGET_BRANCH} \

0 commit comments

Comments
 (0)