chore: auto-merge bot PRs when checks pass#312
Merged
williambdean merged 6 commits intomainfrom Mar 6, 2026
Merged
Conversation
- 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 Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com