Size and spend limits
How Crysk skips very large pull requests, how to change the limit, and how to review a skipped one.
The open-source GitHub Action skips a pull request when its diff is larger than a size limit. The limit depends on how the review is paid.
Default limits
Section titled “Default limits”| Route | Lines | Files |
|---|---|---|
| Claude subscription | No limit | No limit |
| Metered (Claude API key, or an OpenCode API key) | 4000 | 50 |
A run on the subscription logs a notice that no limit applies.
What counts
Section titled “What counts”Only changed lines and files after exclusions: the built-in ones (lockfiles, minified bundles, snapshots), your .cryskignore, and whitespace-only changes. See exclude files.
Change the limit
Section titled “Change the limit”Set the inputs of the action in your workflow. 0 turns a limit off.
- uses: cryskai/crysk@v0 with: max-changed-lines: 8000 max-changed-files: 100Or set max_changed_lines and max_changed_files in .crysk/config.json. A value in the workflow wins over the file, and either wins over the defaults above.
Review a skipped pull request
Section titled “Review a skipped pull request”A skipped pull request gets a skip comment, and the crysk check fails with a description that says so. Comment /crysk review to review it anyway: that run ignores the size limit.
Dollar limits
Section titled “Dollar limits”The open-source GitHub Action has no dollar limit. Spend limits come only from the Crysk GitHub App, and they skip only runs billed per token. A run on a subscription is never skipped for cost.