Fix Dependabot auto-approve when update-type is empty - #54
Open
proxymeshai wants to merge 1 commit into
Open
Conversation
Pip requirement-range bumps often leave fetch-metadata update-type empty, so the minor/patch allowlist skipped approve on those PRs. Keep blocking explicit majors, and for empty update-type fall back to non-major dependency groups or from/to versions in the PR title. Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
proxymeshai
marked this pull request as ready for review
September 3, 2026 23:41
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 01b464e. Configure here.
| prod-minor-patch|dev-all) | ||
| allow=true | ||
| reason="dependency-group:$DEPENDENCY_GROUP" | ||
| ;; |
There was a problem hiding this comment.
Dev group allows major updates
Medium Severity
The empty update-type fallback auto-approves every PR in dev-all, but that group is configured to include major updates. A development major with missing metadata would be approved and auto-merged, while the same update stays blocked if update-type is version-update:semver-major.
Reviewed by Cursor Bugbot for commit 01b464e. Configure here.
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
Stopped after Dependabot #41 (scrapy): CI was green and auto-merge was already enabled, but the approve step never ran.
dependabot/fetch-metadatareturns an emptyupdate-typefor pip requirement-range bumps likeUpdate scrapy from >=2.14.2 to >=2.18.0 in /python. The previous minor/patch allowlist treated that as ineligible, so those PRs stayedREVIEW_REQUIRED.Fix
Eligibility is now:
version-update:semver-majorupdate-typeis empty: allowprod-minor-patch/dev-allgroups, otherwise parsefrom/toversions from the PR title and allow only same-major bumpsKeeps
skip-commit-verificationso known majors stay labeled after branch updates.After merge
Resume updating open Dependabot PR branches one at a time.
Slack Thread