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.
This commit is contained in:
parent
574aaa5812
commit
7513a95cdc
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update-release-branch.yml
vendored
2
.github/workflows/update-release-branch.yml
vendored
|
|
@ -134,7 +134,7 @@ jobs:
|
|||
echo SOURCE_BRANCH=${SOURCE_BRANCH}
|
||||
echo TARGET_BRANCH=${TARGET_BRANCH}
|
||||
python .github/update-release-branch.py \
|
||||
--github-token ${{ steps.app-token.outputs.token }} \
|
||||
--github-token ${{ secrets.GITHUB_TOKEN }} \
|
||||
--repository-nwo ${{ github.repository }} \
|
||||
--source-branch ${SOURCE_BRANCH} \
|
||||
--target-branch ${TARGET_BRANCH} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue