todmy/Valis Decision Check
Enforce your team's architectural decisions at PR time.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| valis_token | Project-scoped Valis API token (format vls_prj_...). Store as a GitHub repository secret. | yes | — |
| project_id | Valis project UUID. Overrides .valis.yaml when present. Optional if .valis.yaml is committed at repo root. | no | — |
| base | Git base SHA for the diff. Defaults to the PR base. | no | ${{ github.event.pull_request.base.sha }} |
| head | Git head SHA for the diff. Defaults to the PR head. | no | ${{ github.event.pull_request.head.sha }} |
| api_url | Valis /api/check endpoint URL. Override for staging / self-hosted deployments. | no | https://valis.krukit.co/api/check |
| override_label | PR label name that grants project-admin override on block-severity violations. | no | valis-override |
Outputs
| name | description |
|---|---|
| violation_count | Total violations returned by /api/check (all severities). |
| block_count | Number of block-severity violations. |
| check_run_id | GitHub Check Run ID created by this Action. |
| fail_open | 'true' if /api/check returned fail-open (budget exhausted, diff too large, LLM unavailable, etc.). |