Pre-checks Pipeline

Pre-checks Pipeline A workflow diagram generated by Archify. 01 / GitHub Actions Build pre-checks container · GitHub Actions Build pre-checks container Scan for secrets (gitleaks) · GitHub Actions Scan for secrets (gitleaks) Scan dependencies for CVEs (trivy) · GitHub Actions Scan dependencies for CVEs (trivy) Run pre-checks · GitHub Actions Run pre-checks Legend Agent logic Policy

What this pipeline does

  • • Gatekeeper pipeline that runs before any code lands: secret scanning with Gitleaks, Trivy filesystem vulnerability scan, and the full pre-commit suite (ruff, shellcheck, shfmt, hadolint, codespell) inside a dedicated CI image — so no tooling is installed at job runtime.

Job by job

  • • Build pre-checks container: Build and push the pre-checks CI container with ruff, shellchec…
  • • Scan for secrets (gitleaks): Scan git history and staged changes for leaked secrets and cre…
  • • Scan dependencies for CVEs (trivy): Run Trivy filesystem scan and fail on HIGH or CRITICAL…
  • • Run pre-checks: Run ruff, shellcheck, shfmt, hadolint, and codespell on changed and all fil…