Skip to content

Commit aaafb4c

Browse files
committed
[Automerge] Use App token when executing automerge script (#310)
This updates the Automerge workflow to use a GitHub App token when running the automerge.py script, instead of the regular GH_TOKEN. This should allow the automerge scripts to create PRs in the arm/arm-toolchain project when a merge conflict is encountered, as workflows by default aren't allowed to do so.
1 parent 79ecc38 commit aaafb4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ jobs:
4343
- name: Run automerge
4444
run: python3 arm-software/ci/automerge.py --project-name ${{ github.repository }} --from-branch ${{ matrix.branches.from_branch }} --to-branch ${{ matrix.branches.to_branch }} --verbose
4545
env:
46-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
GH_TOKEN: ${{ steps.generate-token.outputs.token }}

0 commit comments

Comments
 (0)