Bors
Repositories
Commands
Commands must be posted as comments on the PR and mention the bot account (@bors2
).
Command | Permissions | Description |
---|---|---|
info |
Get information about the current PR | |
ping |
Check if the bot is alive | |
help |
Print help message | |
r+ |
review | Approve this PR on your behalf |
r=<user> |
review | Approve the PR on behalf of the specified user(s) |
r- |
review | Unapprove the PR |
p=<priority> or priority=<priority> |
review | Set the priority of the PR |
rollup |
review | Short for rollup=always |
rollup- |
review | Short for rollup=maybe |
rollup=<never|iffy|maybe|always> |
review | Set the rollup status of the PR |
r+ [p=<priority>] [rollup=<mode>] |
review | Approve this PR on your behalf with options |
r=<user> [p=<priority>] [rollup=<mode>] |
review | Approve the PR on behalf of the specified user(s) with options |
try [parent=<sha>] [jobs=<job1,job2,...>] |
try | Run a try build (max 10 jobs) |
try cancel |
try | Cancel a running try build |
delegate+ |
review | Short for delegate=review |
delegate- |
review | Remove any previously granted delegated permissions |
delegate=<try|review> |
review | Delegate permissions to the PR author (try or review) |
treeclosed- or treeopen |
review | Open the repository tree for merging |
treeclosed=<priority> |
review | Close the tree for PRs with priority less than <priority> |
Examples
@bors2 r=user1,user2 p=5
: Approve on behalf ofuser1
anduser2
with priority 5@bors2 r+ rollup p=1
: Approve with priority 1 and always rollup@bors2 try parent=last
: Start a try build using the same parent as the last try@bors2 try @rust-timer queue
: Short-hand for compile-perf benchmarking of PRs