Skip to content

chore: auto-merge bot PRs when checks pass#312

Merged
williambdean merged 6 commits intomainfrom
bot-prs
Mar 6, 2026
Merged

chore: auto-merge bot PRs when checks pass#312
williambdean merged 6 commits intomainfrom
bot-prs

Conversation

@williambdean
Copy link
Owner

  • Add auto-merge job that triggers on bot PRs
  • Wait for all status checks to pass (180 second timeout)
  • Auto-merge with squash when checks succeed
  • Fail gracefully if checks fail
  • Respects branch protection rules

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

williambdean and others added 4 commits March 6, 2026 17:19
- Add auto-merge job that triggers on bot PRs
- Wait for all status checks to pass (180 second timeout)
- Auto-merge with squash when checks succeed
- Fail gracefully if checks fail
- Respects branch protection rules

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Auto-delete bot PR branches after successful squash merge to keep
repository clean from remote branches.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add uv.lock and .pre-commit-config.yaml to test workflow path filters
so tests run when Dependabot updates dependencies or pre-commit.ci
updates hooks. This ensures the auto-merge workflow doesn't hang
waiting for the Tests check.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Include .github/workflows/tests.yml in test workflow path filters so
that changes to the test workflow definition itself trigger tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.02%. Comparing base (37a02e4) to head (273ff6f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #312   +/-   ##
=======================================
  Coverage   94.02%   94.02%           
=======================================
  Files          10       10           
  Lines        1323     1323           
=======================================
  Hits         1244     1244           
  Misses         79       79           

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

@williambdean williambdean merged commit a018d5b into main Mar 6, 2026
7 checks passed
@williambdean williambdean deleted the bot-prs branch March 6, 2026 22:38
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.

1 participant