Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Lock

The lock/unlock commands can be used to lock and unlock a GitHub issue or pull request.

Usage

Lock

To lock an issue or pull request, any rust-lang team member may enter the command:

@rustbot lock

This will immediately lock the issue or PR.

Unlock

To unlock an issue or pull request, any rust-lang team member may enter the command:

@rustbot unlock

Note

The triagebot Zulip unlock command can be used in case it’s not possible for the team member to post a command.

Configuration

Note

This feature is enabled by default in the rust-lang organization.

This feature is enabled on a repository by having a [lock] table in triagebot.toml:

[lock]

Implementation

See src/handlers/lock.rs and parser/src/command/lock.rs.