Skip to content

Latest commit

 

History

History
36 lines (34 loc) · 4.15 KB

commands.md

File metadata and controls

36 lines (34 loc) · 4.15 KB

k8s Bot Commands

k8s-ci-robot and k8s-merge-robot understand several commands. They should all be uttered on their own line, and they are case-sensitive.

Command Implemented By Who can run it Description
/approve mungegithub approvers owners approve all the files for which you are an approver
/approve no-issue mungegithub approvers owners approve when a PR doesn't have an associated issue
/approve cancel mungegithub approvers owners removes your approval on this pull-request
/area [label1 label2 ...] prow label anyone adds an area/<> label(s) if it exists
/remove-area [label1 label2 ...] prow label anyone removes an area/<> label(s) if it exists
/assign [@userA @userB @etc] prow assign anyone Assigns specified people (or yourself if no one is specified). Target must be a kubernetes org member.
/unassign [@userA @userB @etc] prow assign anyone Unassigns specified people (or yourself if no one is specified). Target must already be assigned.
/cc [@userA @userB @etc] prow assign anyone Request review from specified people (or yourself if no one is specified). Target must be a kubernetes org member.
/uncc [@userA @userB @etc] prow assign anyone Dismiss review request for specified people (or yourself if no one is specified). Target must already have had a review requested.
/close prow close authors and assignees closes the issue/PR
/reopen prow reopen authors and assignees reopens a closed issue/PR
/hold prow hold anyone adds the do-not-merge/hold label
/hold cancel prow hold anyone removes the do-not-merge/hold label
/joke prow yuks anyone tells a bad joke, sometimes
/kind [label1 label2 ...] prow label anyone adds a kind/<> label(s) if it exists
/remove-kind [label1 label2 ...] prow label anyone removes a kind/<> label(s) if it exists
/lgtm prow lgtm assignees adds the lgtm label
/lgtm cancel prow lgtm authors and assignees removes the lgtm label
/ok-to-test prow trigger kubernetes org members allows the PR author to /test all
/test all
/test <some-test-name>
prow trigger anyone on trusted PRs runs tests defined in config.yaml
/retest prow trigger anyone on trusted PRs reruns failed tests
/priority [label1 label2 ...] prow label anyone adds a priority/<> label(s) if it exists
/remove-priority [label1 label2 ...] prow label anyone removes a priority/<> label(s) if it exists
/sig [label1 label2 ...] prow label anyone adds a sig/<> label(s) if it exists
@kubernetes/sig-<some-github-team> prow label kubernetes org members adds the corresponding sig label
/remove-sig [label1 label2 ...] prow label anyone removes a sig/<> label(s) if it exists
/release-note prow releasenote authors and kubernetes org members adds the release-note label
/release-note-action-required prow releasenote authors and kubernetes org members adds the release-note-action-required label
/release-note-none prow releasenote authors and kubernetes org members adds the release-note-none label
/status [label1 label2 ...] prow milestonestatus members of the kubernetes-milestone-maintainers github team adds a status/<> label(s) if it exists