Skip to content

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

Open
ItsPaulAT wants to merge 2 commits into
mainfrom
ci/dependabot-automerge
Open

ItsPaulAT wants to merge 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.

Weekly grouped updates with majors in their own group. Patch and minor
updates are approved and set to auto-merge (squash); majors stay manual.

Signed-off-by: ItsPaulAT <76869048+ItsPaulAT@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 21, 2026 07:26
Auto-merge then needs no branch update after each merge.

Signed-off-by: ItsPaulAT <76869048+ItsPaulAT@users.noreply.github.com>

Copilot AI 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.

🟡 Changes recommended

Missing versions can bypass the pre-1.0 auto-merge safeguard, template-managed action updates fail required checks, and disabled strict checks allow merges without testing against the latest base branch.

3 open issues
What changed in this PR

This PR automates routine dependency maintenance through Dependabot and GitHub Actions, while leaving major updates for manual review.

Changes:

  • Schedules weekly action and Python dependency updates with a seven-day cooldown and separate major-update groups.
  • Adds a Dependabot-only workflow to approve eligible updates and enable squash auto-merge.
  • Removes the default-branch ruleset’s requirement that PR branches be up to date before merging.
File Description
rulesets/​main.json Disables strict status-check enforcement.
.github/​workflows/​dependabot-automerge.yml Checks commit authors and update metadata before requesting approval and auto-merge.
.github/​dependabot.yml Configures weekly grouped updates for GitHub Actions and Python dependencies.

Review effort: Balanced

Comment thread .github/dependabot.yml
Comment on lines +5 to +6
- package-ecosystem: github-actions
directory: /
Comment on lines +64 to +65
elif kind.endswith("minor") and d.get("dependency-version", "").startswith("0."):
reasons.append(f"{name}: minor update below 1.0")
Comment thread rulesets/main.json
"type": "required_status_checks",
"parameters": {
"strict_required_status_checks_policy": true,
"strict_required_status_checks_policy": false,
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