stategraph unlock

stategraph unlock is a pull request comment, not a terminal command: it releases the directory locks that pull requests or drift detection runs hold, so that other operations can proceed.

With access control, the unlock list sets who can run it. By default, everyone can.

Unlocking can disrupt active operations

Restrict unlock to trusted users.

Usage

stategraph unlock
stategraph unlock <pull-request-number> [pull-request-number...]
stategraph unlock drift

Examples

Release every lock that the current pull request owns:

stategraph unlock

Release every lock that pull request 123 owns. Give the number alone, without # on GitHub or ! on GitLab:

stategraph unlock 123

Release the locks of several pull requests, for example to clean up locks left by closed or abandoned pull requests:

stategraph unlock 123 456 789

Release the locks of drift detection runs. You can combine drift with pull request numbers in one command.

stategraph unlock drift