Repository navigation
Fix Dependabot auto-merge classification - #524
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request fixes Dependabot auto-merge eligibility classification by switching the reusable workflow from PR-title parsing to dependabot/fetch-metadata outputs, ensuring SHA-based GitHub Actions bumps are handled deterministically and routed to manual review when semver metadata is unavailable.
Changes:
- Replaced PR-title-based semver parsing with Dependabot metadata (
dependabot/fetch-metadata) and updated phase behavior to keep MAJOR updates on manual review in all phases. - Extended regression tests to enforce metadata usage and prevent reintroducing title-based classification.
- Updated caller workflow and changelog to reflect the corrected behavior and policy.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
tests/dependabot-auto-merge.sh |
Adds regression checks ensuring the reusable workflow uses Dependabot metadata and avoids PR-title classification. |
CHANGELOG.md |
Documents the Dependabot classification fix and related workflow/test updates. |
.github/workflows/reusable-dependabot-auto-merge.yml |
Implements metadata-based classification, adds handling for GitHub Actions SHA bumps, and updates messaging/policy. |
.github/workflows/dependabot-auto-merge.yml |
Updates the local caller workflow invocation to align with reusable-workflow constraints/policy. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 81750b8049
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5003867313
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: GitHub Actions title fallback leak
- Restricted the metadata-empty PR-title fallback to non-github-actions ecosystems and added a regression test so incomplete GitHub Actions metadata now stays on manual review.
You can send follow-ups to the cloud agent here.
Reviewed by Cursor Bugbot for commit f4408c0. Configure here.
…o inspect-dependabot-pr-names
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f4408c030c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 790c32fdfc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Register the exact contracts #524 / PR #525 Ready source through maintained Exact-State-Adoption v3 CURRENT_RECEIPT admission. Preserve historical provider H0, the real issued H1 receipt identity, finite history and unavailable package bytes. Add direct positive and negative safety-harness regression execution. Fixes #1038

TDD / Validate-First Evidence
bash tests/dependabot-auto-merge.shfailed withReusable Dependabot workflow must fetch Dependabot metadata instead of classifying updates from the PR title.bash tests/dependabot-auto-merge.sh;git diff --check;yamllint .github/workflows/reusable-dependabot-auto-merge.yml .github/workflows/dependabot-auto-merge.yml;./scripts/preflight.shDefect proof
The failing condition reproduced the current defect: Dependabot GitHub Actions updates pinned to commit SHAs produce titles such as
chore(deps): Bump ... from <sha> to <sha>, while the reusable auto-merge workflow tried to classify updates by parsing semver values out ofgithub.event.pull_request.title.Change
.github/workflows/reusable-dependabot-auto-merge.ymlwithdependabot/fetch-metadataoutputs.github-actions-non-semverand route them to manual review with a specific explanation.tests/dependabot-auto-merge.shso the reusable workflow must fetch Dependabot metadata and must not regress to title-based classification.CHANGELOG.md.Validation
bash tests/dependabot-auto-merge.shgit diff --checkyamllint .github/workflows/reusable-dependabot-auto-merge.yml .github/workflows/dependabot-auto-merge.yml./scripts/preflight.shgit log -1 --show-signature --format=fullerLocal review
Linked work
/home/secpal/.polyscope/clones/4e5a331a/royal-doveBefore ready