Skip to content

Semgrep

Semgrep #969

Workflow file for this run

name: Semgrep
permissions:
contents: read
security-events: write
on:
pull_request: {}
push:
branches:
- main
paths:
- .github/workflows/semgrep.yml
schedule:
# random HH:MM to avoid a load spike on GitHub Actions at 00:00
- cron: 0 7 * * *
jobs:
semgrep:
name: Scan
runs-on: ubuntu-20.04
container:
image: returntocorp/semgrep:1.166.0
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v4
- run: semgrep --error --config "p/cwe-top-25" --config "p/owasp-top-ten" --config "p/r2c-security-audit"