Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,32 @@ jobs:
queries: security-extended
- uses: github/codeql-action/analyze@v3

semgrep:
name: SAST (Semgrep)
runs-on: ubuntu-latest
container:
image: semgrep/semgrep
steps:
- uses: actions/checkout@v4
- run: semgrep scan --config auto --error --severity ERROR

dependency-audit:
name: Dependency audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Audit dependencies
run: |
set -euo pipefail
# The package declares no dependencies today, so this passes trivially. It is
# wired up anyway: the moment a dependency is added the audit becomes real and
# blocking, instead of being something someone has to remember to add.
npm install --package-lock-only --no-audit --no-fund
npm audit --audit-level=high

secret-scan:
name: Secret scan
runs-on: ubuntu-latest
Expand Down
Loading