Repository navigation
ci: let Dependabot merge patch and minor updates - #19
Merged
Merged
Conversation
Weekly grouped updates with majors in their own group. Patch and minor updates are approved and set to auto-merge (squash); majors stay manual. The PR-title check no longer limits the length of Dependabot titles. Signed-off-by: ItsPaulAT <76869048+ItsPaulAT@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The workflow trusts spoofable bot attribution, lacks token permissions for approval and merging, and incorrectly allows minor updates with unknown or zero-major versions through the manual-review gate.
3 open issues
What changed in this PR
This PR adds automation intended to approve and squash-auto-merge eligible Dependabot updates, while keeping major updates manual and accommodating longer bot-generated PR titles.
Changes:
- Separate minor/patch and major dependency groups, with explicit open-PR limits.
- Add a workflow to evaluate Dependabot metadata and enable approval and auto-merge.
- Exempt Dependabot titles from the length limit and add regression coverage.
| File | Description |
|---|---|
tests/test_check_pr_title.py |
Tests long Dependabot titles while preserving human title limits. |
scripts/check_pr_title.py |
Relaxes the title-length rule for Dependabot. |
.github/workflows/dependabot-automerge.yml |
Adds metadata-based approval and squash-auto-merge automation. |
.github/dependabot.yml |
Separates update groups by version type and sets open-PR limits. |
Review effort: Balanced
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: ItsPaul <76869048+ItsPaulAT@users.noreply.github.com>
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.


Weekly grouped updates with majors in their own group. Patch and minor
updates are approved and set to auto-merge (squash); majors stay manual.
The PR-title check no longer limits the length of Dependabot titles.