Skip to content

Commit a0b051c

Browse files
sserrataclaude
andcommitted
chore(dependabot): disable auto-rebase to avoid CI cascade
When one Dependabot PR merges and main advances, Dependabot's default behavior is to auto-rebase all its other open PRs by force-pushing onto each. With the Deploy Preview environment gate, every force-push invalidates the prior approval and triggers a fresh CI run — turning N sibling PRs into roughly O(N^2) workflow runs. The /dependabot-review skill already rebases on demand (`gh pr update-branch`, or commenting `@dependabot rebase` if conflicts) so disabling auto-rebase doesn't lose any capability — it just lets the skill control when rebases happen. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 09144fb commit a0b051c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ updates:
66
interval: weekly
77
cooldown:
88
default-days: 7
9+
# Prevent the rebase cascade that fires when one PR merges and Dependabot
10+
# force-pushes rebases onto all sibling PRs (each force-push invalidates
11+
# env-gate approvals and re-runs CI). The /dependabot-review skill still
12+
# rebases on demand via `gh pr update-branch` when needed.
13+
rebase-strategy: disabled
914
groups:
1015
react:
1116
patterns:
@@ -18,3 +23,4 @@ updates:
1823
interval: weekly
1924
cooldown:
2025
default-days: 7
26+
rebase-strategy: disabled

0 commit comments

Comments
 (0)