Skip to content

Commit e19cd0b

Browse files
committed
fix: remove --auto from gh pr merge for immediate Dependabot merge
The --auto flag enables auto-merge which blocks on branch protection rules (e.g. required reviews). Since the workflow already verifies CI passed and head SHA matches, merge immediately with --rebase instead.
1 parent a87585b commit e19cd0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/dependabot_auto_merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ jobs:
8888
if: steps.merge_guard.outputs.should_merge == 'true'
8989
env:
9090
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91-
run: gh pr merge "${{ steps.pr.outputs.pr_number }}" --repo "${GITHUB_REPOSITORY}" --rebase --delete-branch --match-head-commit "${{ steps.pr.outputs.head_sha }}" --auto
91+
run: gh pr merge "${{ steps.pr.outputs.pr_number }}" --repo "${GITHUB_REPOSITORY}" --rebase --delete-branch --match-head-commit "${{ steps.pr.outputs.head_sha }}"

0 commit comments

Comments
 (0)