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: Approval
These commands can be arbitrarily chained into one single command.
For example: @bors r+ squash rollup will squash the PR, approve it, and mark it rollup-able.
r+: Approve this PR on your behalfr=<user>: Approve this PR on behalf of<user>p=<priority>: Set the priority of this PR. Higher number is higher priority.rollup=<never|iffy|maybe|always>: Set the rollup status of the PR.rollup: Short forrollup=alwaysrollup-: Short forrollup=maybeforce: The default is for approvals to remain tentative until PR CI succeeds. Passforceto approve the PR immediately.note=<note>: Attach a<note>to the PR that will be displayed on the queue page.squash [msg|message=<commit-message>|description]: 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. - If you specify
msg=description, then the PR title and body will be used as the squashed commit message.
- Optionally, you can specify a
PR management: Other
r-: Unapprove this PRdelegate[=<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>] [nolimit]: 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 turn off the limit on the number of executed try jobs with
nolimit.
- 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.info: Get information about the current PR
Repository management
treeclosed=<priority> [reason]: Close the tree for PRs with priority less than<priority>. Optionally, you can specify a<reason>.treeclosed-ortreeopen: Open the repository tree for merging
Meta commands
ping: Check if the bot is alivehelp: Print this help message