Skip to content

Add Dependabot auto-merge workflow for dependency updates#56

Merged
alastairtree merged 2 commits intomainfrom
claude/add-ci-workflow-for-dependabot
Mar 3, 2026
Merged

Add Dependabot auto-merge workflow for dependency updates#56
alastairtree merged 2 commits intomainfrom
claude/add-ci-workflow-for-dependabot

Conversation

@Claude
Copy link
Copy Markdown
Contributor

@Claude Claude AI commented Mar 3, 2026

Implements automatic merging of Dependabot PRs when all CI checks pass.

Changes

  • New workflow: .github/workflows/dependabot-auto-merge.yml
    • Triggers on CI workflow completion
    • Verifies PR author is dependabot[bot]
    • Auto-approves and enables auto-merge when all checks pass
    • Uses squash merge method
    • Falls back to direct merge if auto-merge unavailable

Behavior

When Dependabot opens a PR:

  1. CI runs (lint, test, build)
  2. On success, workflow auto-approves the PR
  3. Enables GitHub auto-merge to merge when requirements met
  4. PR merges to main automatically

Requires contents: write and pull-requests: write permissions.

Co-authored-by: alastairtree <6273429+alastairtree@users.noreply.github.com>
@Claude Claude AI changed the title [WIP] Add CI workflow for automatic merging of Dependabot PRs Add Dependabot auto-merge workflow for dependency updates Mar 3, 2026
@alastairtree alastairtree marked this pull request as ready for review March 3, 2026 23:20
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 3, 2026

Test Results (Linux 3.14)

483 tests  ±0   483 ✅ ±0   42s ⏱️ +2s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit ed5694f. ± Comparison against base commit 2870f3b.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 3, 2026

Coverage report

This PR does not seem to contain any modification to coverable code.

@alastairtree alastairtree merged commit c441a4b into main Mar 3, 2026
12 checks passed
@alastairtree alastairtree deleted the claude/add-ci-workflow-for-dependabot branch March 3, 2026 23:22
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.97%. Comparing base (2870f3b) to head (ed5694f).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #56   +/-   ##
=======================================
  Coverage   87.97%   87.97%           
=======================================
  Files          17       17           
  Lines        2736     2736           
=======================================
  Hits         2407     2407           
  Misses        329      329           

☔ 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.

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