Auto-approve and merge non-major Dependabot PRs - #53
Merged
Merged
Conversation
Branch protection requires reviews, so enabling auto-merge alone left Dependabot PRs blocked. Restore approval, keep major updates for human review, and match on the PR author so branch updates still trigger. Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
proxymeshai
marked this pull request as ready for review
September 3, 2026 22:21
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 0a13c4a. Configure here.
After a human branch update, fetch-metadata can leave update-type empty if commit verification fails, and != semver-major would still approve. Skip commit verification for merge commits, and only auto-approve/merge explicit minor or patch updates. Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
|
cursor review |
Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
Restrict pull_request_target to opened/reopened/synchronize, require the head repo to match this repository, and note that steps only call the GitHub API (no PR code checkout). Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
|
bugbot run |
proxymesh
approved these changes
Sep 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Dependabot PRs were enabling auto-merge but staying
BLOCKEDwithREVIEW_REQUIREDbecause branch protection needs an approving review.This updates
dependabot-auto-mergeto:dependabot[bot]) instead ofgithub.actor, so branch updates still trigger the workflowpull_request_targettypesBugbot follow-up
Fail closed when
update-typeis empty/unknown (can happen after human branch updates if commit verification fails). Useskip-commit-verificationso metadata still parses after merge commits, and only auto-approve/merge explicitsemver-minor/semver-patchupdates.Repo setting to confirm
Settings → Actions → General → Allow GitHub Actions to create and approve pull requests must be enabled, or the approve step will fail.
After merge
Update open Dependabot PR branches (or
@dependabot rebase) so they re-run against the new workflow onmain.Slack Thread