Skip to content

Latest commit

 

History

History
31 lines (29 loc) · 3.4 KB

commands.md

File metadata and controls

31 lines (29 loc) · 3.4 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
/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.
/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
/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
/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
/remove-sig [label1 label2 ...] prow label anyone removes a sig/<> label(s) if it exists
/lgtm prow lgtm assignees adds the lgtm label
/lgtm cancel prow lgtm authors and assignees removes the lgtm label
/approve mungegithub approvers owners approve all the files for which you are an approver
/approve cancel mungegithub approvers owners removes your approval on this pull-request
/close prow close authors and assignees closes the issue
/reopen prow reopen authors and assignees reopens a closed issue
/release-note prow releasenote authors and kubernetes org members adds the release-note label
/release-note-none prow releasenote authors and kubernetes org members adds the release-note-none label
@kubernetes/sig-<some-github-team> prow label kubernetes org members adds the corresponding sig label
/retest prow trigger anyone on trusted PRs reruns failed tests
@k8s-bot test this prow trigger anyone on trusted PRs runs tests defined in config.yaml
@k8s-bot ok to test prow trigger kubernetes org members allows the PR author to @k8s-bot test this
@k8s-bot tell me a joke prow yuks anyone tells a bad joke, sometimes