Slash commands enable teams to manage their pull requests with Aviator directly from the GitHub pull request page. The commands are invoked by including the line
/aviator <command>anywhere in your comment (as long as it's on a line by itself). Only one slash command per comment is allowed.
/aviator mergecommand queues a PR for merging. This can be used instead of adding the ready label. You can also specify affected targets as an additional parameter. See affected targets mode to learn more.
/aviator merge --targets=frontend,backend,api
/aviator cancelcommand de-queues a PR that has been previously queued.
/aviator refreshcommand causes MergeQueue to re-examine your pull request. This can be useful if MergeQueue missed an event (such as you labeling your PR with the ready label).
Usually this is only necessary if GitHub fails to deliver an event to MergeQueue (e.g., during a GitHub outage).
/aviator stack mergecommand queues a stack for merging into the target branch of the stack (usually your repository default branch).
When queueing a stack, MergeQueue internally queues the PR where the command was given and every PR that comes before it in the stack. The target branch of the stack (i.e., the branch where that the stack is being merged into) is the base branch of the first PR in the stack.
aviator stack cancelcommand de-queues a stack that has been previously queued.
/aviator synccommand synchronizes the PR to be up-to-date with its base branch (i.e., creates a merge commit or rebases on top of the latest commit from the base branch, depending on your repository configuration).