buffer
buffer copied to clipboard
ci: add Semgrep OSS scanning workflow
Summary
Adds Semgrep Community Edition (OSS) scanning to this repository as part of the App&ProdSec team's migration from Semgrep Pro to Semgrep CE.
What it does
- Runs on every PR, on
pushto the main/master branch, and monthly on a staggered schedule. - Uses
actions/cache@v5sopip install semgreponly runs on cold cache (first run, version bump, or 7-day idle). - Pinned to
semgrep==1.160.0with--config=auto(default OSS ruleset). - Runs on
ubuntu-slimwithcontents: readtoken scope.
For reviewers
- Findings are informational; the job does not block on findings.
- First PR after merge installs Semgrep; subsequent PRs skip that step.
See the internal App&ProdSec email for migration context, or ping us internally.