Skip to content

Enable Dependabot auto-merge for minor and patch updates#20

Merged
leeoades merged 3 commits intomainfrom
copilot/enable-auto-merge-minor-updates
Feb 19, 2026
Merged

Enable Dependabot auto-merge for minor and patch updates#20
leeoades merged 3 commits intomainfrom
copilot/enable-auto-merge-minor-updates

Conversation

Copy link
Contributor

Copilot AI commented Feb 19, 2026

Automatically merge Dependabot PRs for semver-minor and semver-patch updates when CI passes. Major version updates still require manual review.

Implementation

Workflow: .github/workflows/dependabot-auto-merge.yml

  • Triggers on PR events from dependabot[bot]
  • Fetches metadata via dependabot/fetch-metadata@v2 to determine update type
  • Waits for build-and-test job completion using lewagon/wait-on-check-action@v1.3.4
  • Auto-merges using squash strategy if update type is version-update:semver-minor or version-update:semver-patch
  • Requires contents: write and pull-requests: write permissions

Documentation: CONTRIBUTING.md

  • Added "Dependency Management" section documenting auto-merge behavior
  • Clarified which update types are auto-merged vs. require manual review

Behavior

Update Type CI Pass Action
Patch/Minor Auto-merge
Patch/Minor Block merge
Major ✅/❌ Manual review required

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits February 19, 2026 02:42
Co-authored-by: leeoades <2321091+leeoades@users.noreply.github.com>
Co-authored-by: leeoades <2321091+leeoades@users.noreply.github.com>
Copilot AI changed the title [WIP] Enable auto-merge for minor package updates Enable Dependabot auto-merge for minor and patch updates Feb 19, 2026
Copilot AI requested a review from leeoades February 19, 2026 02:45
@leeoades leeoades marked this pull request as ready for review February 19, 2026 03:07
@leeoades leeoades merged commit 2d20397 into main Feb 19, 2026
2 checks passed
@leeoades leeoades deleted the copilot/enable-auto-merge-minor-updates branch February 19, 2026 03:07
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