Skip to content

ci(deps): auto-approve / auto-merge dependencies from dependabot#1830

Merged
mwbrooks merged 1 commit intomainfrom
mwbrooks-dependabot-auto-merge
Feb 4, 2026
Merged

ci(deps): auto-approve / auto-merge dependencies from dependabot#1830
mwbrooks merged 1 commit intomainfrom
mwbrooks-dependabot-auto-merge

Conversation

@mwbrooks
Copy link
Member

@mwbrooks mwbrooks commented Feb 4, 2026

Summary

Add a GitHub Actions workflow to auto-approve and auto-merge Dependabot pull requests for patch and minor version updates.

This reduces maintenance burden by automatically handling low-risk dependency updates while still requiring manual review for major version bumps.

Repository Settings Required

To enable auto-merge functionality, the following repository settings must be configured:

  • Settings → General → Pull Requests

    • ✅ Allow auto-merge
  • Settings → Branches → main branch protection rule

    • ✅ Require status checks to pass before merging
      • Add required checks: Build, Unit Tests
  • Settings → Actions → General → Workflow permissions

    • ✅ Allow GitHub Actions to create and approve pull requests

Requirements (place an x in each [ ])

@mwbrooks mwbrooks requested a review from a team as a code owner February 4, 2026 00:20
@mwbrooks mwbrooks added semver:patch dependencies Pull requests that update a dependency file labels Feb 4, 2026
@mwbrooks mwbrooks self-assigned this Feb 4, 2026
@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.91%. Comparing base (95e80f8) to head (95eb96f).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1830   +/-   ##
=======================================
  Coverage   83.91%   83.91%           
=======================================
  Files         115      115           
  Lines       13080    13080           
=======================================
  Hits        10976    10976           
  Misses       2104     2104           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

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

LGTM - clean dependabot auto-merge workflow

@mwbrooks
Copy link
Member Author

mwbrooks commented Feb 4, 2026

Thanks for the quick review @zimeg!

Everything was configured correctly on this repo (of course). I didn't add any additional required status checks.

@mwbrooks mwbrooks merged commit 4981f34 into main Feb 4, 2026
17 checks passed
@mwbrooks mwbrooks deleted the mwbrooks-dependabot-auto-merge branch February 4, 2026 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file semver:patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants