Skip to main content

GitHub Actions

All CI/CD runs in GitHub Actions.

Architecture​

  • Windows self-hosted runner — builds .NET and deploys to the office cluster.
  • Release pipeline — security scan with Semgrep OSS (code) and Trivy (images, deps).
  • Helm — deploys staging and PR previews.

Configuration​

  • dotnet publish is scoped to the specific project, not the solution.
  • Playwright browsers: set PLAYWRIGHT_BROWSERS_PATH so the runner and the app use the same browser binaries.
  • Trivy is installed from a pinned binary, not the GitHub Action.
  • package-lock.json is gitignored repo-wide. Front-end jobs use cache-dependency-path: front/package.json and npm install, not npm ci.
  • AI services: see AI platform deployment.

Gotchas​

  • Problem: actions/setup-node fails with Some specified paths were not resolved, unable to cache dependencies. Fix: cache on package.json, not the gitignored lockfile (fixed in the AI workflows 2026-08-22).

Decisions​

  • Backfill — Semgrep OSS + Trivy for release scanning, not CodeQL. Why: GitHub Advanced Security is not enabled on private repos.
  • Backfill — Pin the Trivy binary. Why: past supply-chain incident with the Trivy GitHub Action.