Command Help
Command Example Description Who Can Use Plugin
stars
Featured command
open_in_new
External plugin
/review [you question]
  • /review default
  • /review do you have any suggestions about this PR?
ask chatgpt for the PR. This command works both in PRs opened and updating events, also support comment on the opened PR.
Anyone
stars
Featured command
/test ?
  • /test ?
List available test job(s) for a trusted PR.
Anyone can trigger this command on a trusted PR.
stars
Featured command
/retest
  • /retest
Rerun test jobs that have failed.
Anyone can trigger this command on a trusted PR.
stars
Featured command
/test [|all]
  • /test all
  • /test pull-bazel-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
/[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
/[un]cc [[@]...|[@]...]
  • /cc
  • /uncc
  • /cc @spongebob
  • /cc spongebob patrick
  • /cc @kubernetes/sig-foo-bar
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 [[@]...|[@]...]
  • /assign
  • /unassign
  • /assign @spongebob
  • /assign spongebob patrick
  • /assign @kubernetes/sig-foo-bar
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]
  • /approve
  • /approve no-issue
  • /remove-approve
Approves a pull request
Users listed as 'approvers' in appropriate OWNERS files.
/auto-cc
  • /auto-cc
Manually request reviews from reviewers for a PR. Useful if OWNERS file were updated since the PR was opened.
Anyone
/[remove-](help|good-first-issue)
  • /help
  • /remove-help
  • /good-first-issue
  • /remove-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]
  • /hold
  • /hold cancel
  • /unhold
  • /remove-hold
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)
  • /kind bug
  • /remove-area prow
  • /sig testing
  • /language zh
  • /label foo-bar-baz
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.
/ok-to-test
  • /ok-to-test
Marks a PR as 'trusted' and starts tests.
Members of the trusted organization for the repo.
/verify-owners
  • /verify-owners
do-not-merge/invalid-owners-file
Anyone