1snob/Class1 Cost-Risk Guard
Estimate PR monthly LLM cost delta with Monte Carlo simulations and budget policy gates.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 29, 2026
- License
- None
Pinned Snippet
uses: 1snob/class1-action@253c48d73161d0456eefdeb61b90be274e5ca84b # class1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| license_key | Class1.dev license key (required for budget gates and persistence) | no | — |
| config | Path to config JSON file overriding priors (optional) | no | — |
| base | Git base ref (defaults to PR target branch, e.g. origin/main) | no | — |
| head | Git head ref (defaults to GITHUB_SHA or HEAD) | no | — |
| output | File path to write the markdown comment report | no | comment.md |
| json | File path to write the machine-readable gate JSON summary | no | — |
| persist | Workflow name to persist estimate metrics (for calibration) | no | — |
| n | Number of Monte Carlo samples | no | 120000 |
| github_token | GitHub token to automatically post or update the PR comment | no | ${{ github.token }} |
Outputs
no outputs