Skip to content

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

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

ci(deps): auto-approve / auto-merge dependencies from dependabot#1554
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 added dependencies Pull requests that update a dependency file semver:patch labels Feb 4, 2026
@mwbrooks mwbrooks requested a review from a team as a code owner February 4, 2026 00:20
@mwbrooks mwbrooks added dependencies Pull requests that update a dependency file semver:patch labels Feb 4, 2026
@mwbrooks mwbrooks self-assigned this Feb 4, 2026
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

@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.38%. Comparing base (dbef5e4) to head (5e42a77).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1554      +/-   ##
============================================
+ Coverage     73.36%   73.38%   +0.02%     
  Complexity     4515     4515              
============================================
  Files           477      477              
  Lines         14274    14274              
  Branches       1487     1487              
============================================
+ Hits          10472    10475       +3     
+ Misses         2910     2908       -2     
+ Partials        892      891       -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mwbrooks
Copy link
Member Author

mwbrooks commented Feb 4, 2026

Thanks for the approval @zimeg!

Everything was configured correctly on this repo (of course!)

@mwbrooks mwbrooks merged commit 797d1c1 into main Feb 4, 2026
7 checks passed
@mwbrooks mwbrooks deleted the mwbrooks-dependabot-auto-merge branch February 4, 2026 03:00
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