Skip to content

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

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

ci(deps): auto-approve / auto-merge dependencies from dependabot#2780
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:16
@mwbrooks mwbrooks self-assigned this Feb 4, 2026
@mwbrooks mwbrooks added semver:patch dependencies Pull requests that update a dependency file labels 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 93.44%. Comparing base (2e97fda) to head (571bd00).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2780   +/-   ##
=======================================
  Coverage   93.44%   93.44%           
=======================================
  Files          37       37           
  Lines        7677     7677           
  Branches      669      669           
=======================================
  Hits         7174     7174           
  Misses        498      498           
  Partials        5        5           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Thank you @zimeg! I've confirmed that all 3 settings are configured.

One note:

  • The required status checks are only the Node.js CI / build (18.x), (20.x), and (22.x).
  • Does not include the Samples Integration testing, although we can add it if you all want

@mwbrooks mwbrooks merged commit d9fc3ee into main Feb 4, 2026
21 checks passed
@mwbrooks mwbrooks deleted the mwbrooks-dependabot-auto-merge branch February 4, 2026 02:41
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