This folder is a reference hub for CI integration. The canonical specification lives in the main repository docs; copy patterns from there into your own workflows.
- You run GitHub Actions and want merges blocked unless the hosted verdict is VALID.
- You want digest-bound evidence (recommended for production) or a lighter
govai checksmoke path.
| Goal | Location |
|---|---|
| Full action inputs, exit codes, semantics | docs/github-action.md |
| Step-by-step integration guide | docs/examples/github-actions-integration.md |
| Example workflow fragment | examples/ci/govai-check.yml |
| Production gate in this repo | .github/workflows/compliance.yml |
- Create
GOVAI_RUN_ID(UUID) — stable for the release train you are gating. - Configure
GOVAI_AUDIT_BASE_URLand secretGOVAI_API_KEY. - Produce
evidence_digest_manifest.jsonand run JSON underartifacts_pathexpected by the composite action. - Pin the action to a tag or SHA you trust (
@v1or newer as released). - Require the GovAI job in branch protection.
github.run_id is not a substitute for GOVAI_RUN_ID unless you deliberately design it that way. The evidence run must be one consistent identifier end-to-end.
This reference does not ship a standalone runnable workflow by itself — it points to the canonical files above to avoid drift.