Skip to content

ci(dependabot): approve non-major updates to unblock auto-merge#403

Merged
blafourcade merged 1 commit into
nextfrom
ci/dependabot-approve-auto-merge
Jul 7, 2026
Merged

ci(dependabot): approve non-major updates to unblock auto-merge#403
blafourcade merged 1 commit into
nextfrom
ci/dependabot-approve-auto-merge

Conversation

@blafourcade

Copy link
Copy Markdown
Contributor

Problem

Non-major dependabot PRs on next had auto-merge enabled but sat BLOCKED forever. The next protection ruleset requires required_approving_review_count: 1; dependabot PRs never receive a review, so auto-merge never fires.

Fix

Add an approve step (app token) for non-major (patch + minor) updates before enabling auto-merge. The app identity (aidd-bot) differs from the PR author (dependabot[bot]), so the approval counts toward the required review.

Targets next because pull_request_target runs the workflow from the PR's base branch.

Notes

🤖 Generated with Claude Code

The next-branch ruleset requires 1 approving review. Dependabot PRs never
get one, so auto-merge stayed BLOCKED indefinitely. Approve non-major
(patch + minor) updates with the app token before enabling auto-merge; the
app identity differs from the PR author, so the approval satisfies the rule.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@blafourcade blafourcade merged commit 5b3fe8a into next Jul 7, 2026
7 checks passed
blafourcade added a commit that referenced this pull request Jul 10, 2026
The next-branch ruleset requires 1 approving review. Dependabot PRs never
get one, so auto-merge stayed BLOCKED indefinitely. Approve non-major
(patch + minor) updates with the app token before enabling auto-merge; the
app identity differs from the PR author, so the approval satisfies the rule.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant