Bors
Repositories
Commands
Commands must be posted as comments on the PR and mention the bot account (@bors).
You can use the following commands:
PR management
r+ [p=<priority>] [rollup=<never|iffy|maybe|always>]: Approve this PR on your behalf- Optionally, you can specify the
<priority>of the PR and if it is eligible for rollups (<rollup>).
- Optionally, you can specify the
r=<user> [p=<priority>] [rollup=<never|iffy|maybe|always>]: Approve this PR on behalf of<user>- Optionally, you can specify the
<priority>of the PR and if it is eligible for rollups (<rollup>). - You can pass a comma-separated list of GitHub usernames.
- Optionally, you can specify the
r-: Unapprove this PRp=<priority>orpriority=<priority>: Set the priority of this PRrollup=<never|iffy|maybe|always>: Set the rollup status of the PRrollup: Short forrollup=alwaysrollup-: Short forrollup=maybedelegate[=<user>] [try|review]: Delegate permissions for running try builds or approving to the PR author or the specified<user>.- If no
<user>is specified, the PR author is delegated the permission. - The default permission is
review. tryallows the delegatee to start try builds.reviewallows the delegatee to both start try builds and approve the PR.
- If no
delegate|delegate+: Delegate approval permissions to the PR author- Shortcut for
delegate review
- Shortcut for
delegate-: Remove any previously granted permission delegationtry [parent=<parent>] [job|jobs=<jobs>]: Start a try build.- Optionally, you can specify a
<parent>SHA with which will the PR be merged. You can specifyparent=lastto use the same parent SHA as the previous try build. - Optionally, you can select a comma-separated list of CI
<jobs>to run in the try build. Examples:@bors try jobs=x86_64-gnu-nopt@bors try jobs=x86_64-gnu-nopt,x86_64-mingw-*(matchesx86_64-gnu-noptand jobs starting withx86_64-mingw-)
- Optionally, you can specify a
try cancel: Cancel a running try build on the current PR.retry: Clear a failed auto build status from an approved PR. This will cause the merge queue to eventually attempt to merge the PR again.cancel|yield: Cancel a running auto build on the current PR.squash [msg|message=<commit-message>]: Squash the commits of a PR into a single commit.- Optionally, you can specify a
<commit-message>for the created commit. If not specified, the commit messages of all squashed commits will be combined.
- Optionally, you can specify a
info: Get information about the current PR
Repository management
treeclosed=<priority>: Close the tree for PRs with priority less than<priority>treeclosed-ortreeopen: Open the repository tree for merging
Meta commands
ping: Check if the bot is alivehelp: Print this help message