Skip to content

The check and the merge gate

What the `crysk` check says on a pull request, and how to make it block merges.

View as Markdownllms.txt

Do it with your agent

Paste this prompt into Claude Code, Codex or another coding agent. It reads this page and does the steps for you.

Make the Crysk check block merges in this repository.
Follow https://crysk.dev/docs/reviews/merge-gate.md and run each step yourself.

Crysk writes a commit status named crysk on the head of every pull request it handles. That status is the check. By default it is a gate: blocking findings turn it red, so a branch rule that requires it stops the merge. This page applies to the Crysk GitHub App and to the open-source GitHub Action.

State Description Meaning
Pending crysk reviewing A review is running.
Success review posted or review complete The review finished with no blocking findings.
Failure crysk: N blocking finding(s) — fix and push, or /crysk override N blocking findings are still open.
Failure crysk: review partial (N of M hunters failed, …) — /crysk review retries it Some reviewers failed and no finding blocks, so the check cannot call it clean. A repeat reads review partial again (…) — fix the failing route or /crysk override.
Failure crysk skipped the review: … /crysk review reviews it anyway The pull request is over the size gate or a spend limit.
Success crysk: nothing to review — every changed file is excluded See Exclude files.
Success or failure … carried from <sha> Crysk chose not to review this push (see Re-review levels, or /crysk stop), so it takes the verdict of the last reviewed commit.
Pending crysk: waiting for a manual review (…); carried from <sha> — /crysk review or /crysk override The automatic reviews for this pull request are used up, or the level is manual. Comment /crysk review to review the push, or /crysk override to merge it as is.
Success crysk: overridden by @login — no new review run A maintainer overrode the check.
Error review did not finish, or CRYSK-…: … The run failed. See Error codes.
Mode What the check does
gate (default) Red on blocking findings, a partial review or a size skip. Green on a clean review or one with only advisory findings.
advisory Green for every finished review, whatever it finds. A push Crysk skips writes no status.

Change it with the mode input of the action in .github/workflows/crysk.yml:

- uses: cryskai/crysk@v0
with:
mode: advisory

Or rewrite the workflow from your repository, keeping your other settings:

Terminal window
npx -y crysk setup --ci --ci-mode advisory --force
  1. Open your repository’s Settings, then Branches (or Rules, then Rulesets).
  2. Add a rule for your default branch with Require status checks to pass before merging.
  3. Add crysk to the required checks. It shows up in the list after Crysk has reviewed one pull request.

Do not require the review job of the workflow. It stays green when a review finds blocking findings, and goes red only when a review did not finish.

Private repositories on GitHub Free cannot require status checks, so there the check is informational.

Comment /crysk override on the pull request. It marks the check as passed on the current commit, without a review. See Comment commands.