GitHub Action
Purpose: Run a scan in CI without installing the binary by hand, and optionally upload SARIF to GitHub code scanning. For the full DevOps / SecOps playbook (GitOps, GitLab/CLI, agentic loops), start at CI/CD & workflow integration.Example
go installs the tagged CLI ref (or builds from the Action checkout on non-tag refs), runs the report scan with your fail-on, then — when upload-sarif is true — runs a second SARIF scan with --fail-on none and --deterministic so upload still happens if the gate fails.
Inputs
Requires
security-events: write on the job (or workflow) when uploading SARIF.