[Merged by Bors] - ci: add splice-bot action#33979
Closed
adomani wants to merge 5 commits intoleanprover-community:masterfrom
Closed
[Merged by Bors] - ci: add splice-bot action#33979adomani wants to merge 5 commits intoleanprover-community:masterfrom
splice-bot action#33979adomani wants to merge 5 commits intoleanprover-community:masterfrom
Conversation
PR summary 3c4005cb76Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
Contributor
|
I will review the code in the new action at https://github.com/leanprover-community/SpliceBot and make suggestions there. Let's not merge this until I've done so. edit: I ended up making a lot of changes to SpliceBot, so I'm no longer a suitable reviewer. |
adomani
commented
Feb 13, 2026
Member
|
Thanks 🎉 bors merge |
mathlib-bors bot
pushed a commit
that referenced
this pull request
Feb 17, 2026
Adds a CI action that inspects review comments. If a review comment posted by the PR author or a member of the reviewer or maintainer teams selects at least one line and contains the string `splice-bot` at the start of some line, then the bot will create a branch in the new [mathlib4_copy repo](https://github.com/leanprover-community/mathlib4_copy) with just the changes to the selected file, clearing all history, and then open a new PR from that branch. mathlib4_copy is a repo with GitHub actions disabled on it so that people cannot use SpliceBot to trigger workflows they otherwise couldn't. Reviewers and maintainers also have write permissions to mathlib4_copy so that they can make changes to the PR branches created by this bot if necessary. See https://github.com/leanprover-community/SpliceBot Co-authored-by: Bryan Gin-ge Chen <bryangingechen@gmail.com>
Contributor
|
Pull request successfully merged into master. Build succeeded: |
splice-bot actionsplice-bot action
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.
Adds a CI action that inspects review comments.
If a review comment posted by the PR author or a member of the reviewer or maintainer teams selects at least one line and contains the string
splice-botat the start of some line, then the bot will create a branch in the new mathlib4_copy repo with just the changes to the selected file, clearing all history, and then open a new PR from that branch.mathlib4_copy is a repo with GitHub actions disabled on it so that people cannot use SpliceBot to trigger workflows they otherwise couldn't. Reviewers and maintainers also have write permissions to mathlib4_copy so that they can make changes to the PR branches created by this bot if necessary.
See https://github.com/leanprover-community/SpliceBot
Before merging:
After merging: