Skip to content

Latest commit

 

History

History
76 lines (49 loc) · 2.06 KB

prow-commands.md

File metadata and controls

76 lines (49 loc) · 2.06 KB

Prow Commands

Prow commands allow developers to initiate tests and other functionality made available from enabled prow plugins directly from any pull request using comments.

A list of commands available to use on a given repository can be found here "https://deck-ci.svc.ci.openshift.org/command-help?repo=%2F".

lgtm and approve

Workflow comments that apply labels on the PR when made by appropriate OWNERS, see Prow Pull Request Workflow

Example:

/lgtm
/approve

cc and uncc

Request review from specific GitHub user (Must exist in the OWNERS file).

Example:

/cc @mikenairn

Remove request.

Example:

/uncc @mikenairn

hold

Applies a label to the PR "do-not-merge/hold" preventing it from being automatically merged even if someone approves it.

Example:

This requires extensive testing before being merged.

/hold

Hold can be removed using hold cancel

Example:

Tests have been executed.

/hold cancel

cherrypick

The Prow Cherrypick plugin, when enabled, automates cherry picking merged PRs back to different branches.

Example:

/cherrypick v1.5

The above comment will result in opening a new PR against the v1.5 branch once the PR where the comment was made gets merged or is already merged.

Note: The cherrypick command requires that the person issuing the command have their membership to the integr8ly GitHub org be public:

GitHub Membership

If you don't have public membership, you will get an error like the following:

Cherrypick Fail

Useful Links