Add --admin flag to auto-merge command

This commit is contained in:
Chris Titus
2026-02-23 18:28:25 -06:00
committed by GitHub
parent a9d9b148db
commit 19204534a2

View File

@@ -25,7 +25,7 @@ jobs:
GH_TOKEN: ${{ secrets.AUTO_MERGE }}
- name: Enable auto-merge
run: gh pr merge "$PR_NUMBER" --squash --delete-branch
run: gh pr merge "$PR_NUMBER" --squash --delete-branch --admin
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GH_TOKEN: ${{ secrets.AUTO_MERGE }}