Skip to content

Fix Dependabot auto-approve when update-type is empty - #54

Open
proxymeshai wants to merge 1 commit into
mainfrom
cursor/dependabot-null-update-type-c08c
Open

Fix Dependabot auto-approve when update-type is empty#54
proxymeshai wants to merge 1 commit into
mainfrom
cursor/dependabot-null-update-type-c08c

Conversation

@proxymeshai

Copy link
Copy Markdown
Collaborator

Summary

Stopped after Dependabot #41 (scrapy): CI was green and auto-merge was already enabled, but the approve step never ran.

dependabot/fetch-metadata returns an empty update-type for pip requirement-range bumps like Update scrapy from >=2.14.2 to >=2.18.0 in /python. The previous minor/patch allowlist treated that as ineligible, so those PRs stayed REVIEW_REQUIRED.

Fix

Eligibility is now:

  1. Block explicit version-update:semver-major
  2. Allow explicit minor/patch
  3. If update-type is empty: allow prod-minor-patch / dev-all groups, otherwise parse from/to versions from the PR title and allow only same-major bumps
  4. Otherwise fail closed

Keeps skip-commit-verification so known majors stay labeled after branch updates.

After merge

Resume updating open Dependabot PR branches one at a time.

Slack Thread

Open in Web Open in Cursor 

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
proxymeshai marked this pull request as ready for review September 3, 2026 23:41

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ 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"
;;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 01b464e. Configure here.

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