Skip to content

ci: let Dependabot merge patch and minor updates - #19

Merged
ItsPaulAT merged 2 commits into
mainfrom
ci/dependabot-automerge
Nov 23, 2026
Merged

ItsPaulAT merged 2 commits into
mainfrom
ci/dependabot-automerge

Conversation

@ItsPaulAT

Copy link
Copy Markdown
Member

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.

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>
Copilot AI balanced review requested due to automatic review settings November 21, 2026 07:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 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>
@ItsPaulAT
ItsPaulAT enabled auto-merge (squash) November 23, 2026 17:34
@ItsPaulAT
ItsPaulAT merged commit 2af5379 into main Nov 23, 2026
13 checks passed
@ItsPaulAT
ItsPaulAT deleted the ci/dependabot-automerge branch November 23, 2026 17:41
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.

2 participants