Command | Example | Description | Who Can Use | Plugin | ||
---|---|---|---|---|---|---|
stars Featured command open_in_new External plugin | /cherrypick [branch] |
| Cherrypick a PR to a different branch. This command works both in merged PRs (the cherrypick PR is opened immediately) and open PRs (the cherrypick PR opens as soon as the original PR merges). If multiple branches are specified, separated by a space, a cherrypick for the first branch will be created with a comment to cherrypick the remaining branches after the first merges. | Members of the trusted organization for the repo. | ||
stars Featured command | /test ? |
| List available test job(s) for a trusted PR. | Anyone can trigger this command on a trusted PR. | ||
stars Featured command | /retest |
| Rerun test jobs that have failed. | Anyone can trigger this command on a trusted PR. | ||
stars Featured command | /test [ |
| Manually starts a/all automatically triggered test job(s). Lists all possible job(s) when no jobs/an invalid job are specified. | Anyone can trigger this command on a trusted PR. | ||
stars Featured command | /transfer[-issue] |
| Transfers an issue to a different repo in the same org. | Org members. | ||
stars Featured command | /retitle |
| Edits the pull request or issue title. | Collaborators on the repository. | ||
stars Featured command | /check-required-labels |
| Checks for required labels. | Anyone | ||
stars Featured command | /[remove-]lgtm [cancel] or GitHub Review action |
| Adds or removes the 'lgtm' label which is typically used to gate merging. | Collaborators on the repository. '/lgtm cancel' can be used additionally by the PR author. | ||
stars Featured command | /check-dco |
| Forces rechecking of the DCO status. | Anyone | ||
stars Featured command | /check-cla |
| Forces rechecking of the CLA status. | Anyone | ||
stars Featured command | /[un]cc [[@] |
| Requests a review from the user(s) or team(s). | Anyone can use the command, but the target user(s) must be a member of the org that owns the repository. | ||
stars Featured command | /[un]assign [[@] |
| Assigns assignee(s) or team(s) to the PR | Anyone can use the command, but the target user(s) must be an org member, a repo collaborator, or should have previously commented on the issue or PR. | ||
stars Featured command | /[remove-]approve [no-issue|cancel] |
| Approves a pull request | Users listed as 'approvers' in appropriate OWNERS files. | ||
/auto-cc |
| Manually request reviews from reviewers for a PR. Useful if OWNERS file were updated since the PR was opened. | Anyone | |||
/bugzilla refresh |
| Check Bugzilla for a valid bug referenced in the PR title | Anyone | |||
/bugzilla assign-qa |
| (DEPRECATED) Assign PR to QA contact specified in Bugzilla | Anyone | |||
/bugzilla cc-qa |
| Request PR review from QA contact specified in Bugzilla | Anyone | |||
/buildif(y|ier) |
| Runs buildifier on changes made to Bazel files in a PR | Anyone can trigger this command on a PR. | |||
/meow(vie) [CATegory] |
| Add a cat image to the issue or PR | Anyone | |||
/(woof|bark|this-is-{fine|not-fine|unbearable}) |
| Add a dog image to the issue or PR | Anyone | |||
/lint |
| Runs golint on changes made to *.go files in a PR | Anyone can trigger this command on a PR. | |||
/honk |
| Add a goose image to the issue or PR | Anyone | |||
/[remove-](help|good-first-issue) |
| Applies or removes the 'help wanted' and 'good first issue' labels to an issue. | Anyone can trigger this command on a PR. | |||
/[remove-][un]hold [cancel] |
| Adds or removes the `do-not-merge/hold` Label which is used to indicate that the PR should not be automatically merged. | Anyone can use the /hold command to add or remove the 'do-not-merge/hold' Label. | |||
/[remove-](area|committee|kind|language|priority|sig|triage|wg|label) |
| Applies or removes a label from one of the recognized types of labels. | Anyone can trigger this command on issues and PRs. `triage/accepted` can only be added by org members. Restricted labels are only able to be added by teams and users in their configuration. | |||
/close [not-planned] |
| Closes an issue or PR. | Authors and collaborators on the repository can trigger this command. | |||
/reopen |
| Reopens an issue or PR | Authors and collaborators on the repository can trigger this command. | |||
/[remove-]lifecycle |
| Flags an issue or PR as frozen/stale/rotten | Anyone can trigger this command. | |||
/milestone |
| Updates the milestone for an issue or PR | Members of the milestone maintainers GitHub team can use the '/milestone' command. | |||
/status (approved-for-milestone|in-progress|in-review) |
| Applies the 'status/' label to a PR. | Members of the milestone maintainers GitHub team can use the '/status' command. This team is specified in the config by providing the GitHub team's ID. | |||
/override [context1] [context2] |
| Forces github status contexts to green (multiple can be given). If the desired context has spaces, it must be quoted. | Repo administrators. | |||
/(pony) [pony] |
| Add a little pony image to the issue or PR. A particular pony can optionally be named for a picture of that specific pony. | Anyone | |||
/project |
| Add an issue or PR to a project board and column | Members of the project maintainer GitHub team can use the '/project' command. | |||
/release-note-none |
| Adds the 'release-note-none' label to indicate that the PR does not warrant a release note. This is deprecated and ideally the release note process should be followed in the PR body instead. | PR Authors and Org Members. | |||
/release-note-edit |
| Replaces the release note block in the top level comment with the provided one. | Org Members. | |||
/[un]shrug |
| ¯\_(ツ)_/¯ | Anyone, ¯\_(ツ)_/¯ | |||
/skip |
| Cleans up GitHub stale commit statuses for non-blocking jobs on a PR. | Anyone can trigger this command on a PR. | |||
/[remove-]stage |
| Labels the stage of an issue as alpha/beta/stable | Anyone can trigger this command. | |||
/trick(-)or(-)treat |
| Add a candy image to the issue or PR | Anyone | |||
/ok-to-test |
| Marks a PR as 'trusted' and starts tests. | Members of the trusted organization for the repo. | |||
/verify-owners |
| do-not-merge/invalid-owners-file | Anyone | |||
/joke |
| Tells a joke. | Anyone can use the `/joke` command. |