Skip to content

ci: add Semgrep code scanning #1

ci: add Semgrep code scanning

ci: add Semgrep code scanning #1

Workflow file for this run

name: Semgrep
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
schedule:
- cron: "0 3 * * 0"
jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- name: Run Semgrep
uses: returntocorp/semgrep-action@v1
with:
config: p/security-audit
generateSarif: "1"
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: semgrep.sarif