You interact with Cody using commands posted as comments on GitHub Pull Requests.

cody approve

Use this command to approve a PR for which you are a reviewer.

Your approval must be on its own line with no other text on the same line in order to be recognized.

Aliases

In addition to cody approve, the following aliases are also recognized:

cody rebuild

Use this command to reevaluate all Review Rules on this PR.

This command will check all Review Rules against the current state of the PR. This is useful if the PR has changed significantly and should receive more review.

Rebuilding is also useful if the review status has gotten out of sync. Rebuilding will update the PR with the definitive status from Cody.

cody replace DIRECTIVES...

Use this command to replace the generate reviewer for a Review Rule with another user that also satisfies the Review Rule.

DIRECTIVES... can be one or more replacement directives. These have the following syntax:

<SHORTCODE>=<GITHUB_LOGIN>

SHORTCODE is the short code of the Review Rule to target. GITHUB_LOGIN is login of the GitHub user to swap in.