Provenance ships a first-party GitHub Action that downloads the CLI and runs a supply chain check in your workflow.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/NetRiseInc/provenance-cli/llms.txt
Use this file to discover all available pages before exploring further.
Using the GitHub Action
.github/workflows/supply-chain.yml
Action inputs
Your Provenance API token. Use a GitHub Actions secret:
${{ secrets.PROVENANCE_API_TOKEN }}.Path to the SBOM file to check. Either
sbom or package is required.Package URL (PURL) to check — alternative to
sbom.Path to a policy YAML file or directory of policy files.
Output format:
human, json, or sarif.CLI version to download (e.g.,
v0.1.0). Defaults to the latest release.Show only summary output.
Action outputs
| Output | Description |
|---|---|
exit-code | Exit code from provenance check (0=pass, 1=deny, 2=review, 3=error) |
sarif-file | Path to the SARIF output file (when format=sarif) |
json-file | Path to the JSON output file (when format=json) |
Running the CLI directly
If you prefer not to use the action, install the CLI manually:.github/workflows/supply-chain.yml
Checking a single package
Exit code handling
SARIF upload
Upload SARIF findings to GitHub Code Scanning.
Exit codes
Full reference for all exit codes.