CI secrets scan
CI secrets scan
Section titled “CI secrets scan”The secrets job in .github/workflows/ci.yml runs the gitleaks binary
directly instead of gitleaks/gitleaks-action, because the action requires a
paid licence key on organisation repositories (“[mrlstr] is an organization.
License key is required.”). The job downloads gitleaks 8.30.1 (linux x64) from
the GitHub release, verifies the tarball against sha256
551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb from the
published gitleaks_8.30.1_checksums.txt, and scans with
gitleaks git --redact --exit-code 1 using .gitleaks.toml. Results upload to
Code Scanning as SARIF via github/codeql-action/upload-sarif pinned to
74c1aea9df7c0f02e9b7bfe4a8935abf2e5e3aa6 (v3); the upload step uses
if: always() and continue-on-error: true so a missing Code Scanning
entitlement on a private repo does not fail the job.
