Skip to content
Closed
Show file tree
Hide file tree
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
19 changes: 19 additions & 0 deletions .github/workflows/run-ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,25 @@ jobs:
run: |
make check-spelling

semgrep-scan:
name: Run Semgrep Scan
needs:
- check-frontend
- pre-commit
- spellcheck
permissions:
contents: read
runs-on: ubuntu-latest
container:
image: semgrep/semgrep:1.102.0
steps:
- name: Check out repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8

- name: Run Semgrep scan
run: semgrep scan --config p/security-audit
timeout-minutes: 10

scan-code:
name: Run Code Scan
needs:
Expand Down
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@ repos:
- id: trailing-whitespace
exclude: pnpm-lock.yaml

- repo: https://github.com/semgrep/pre-commit
rev: v1.148.0
hooks:
- id: semgrep
args:
- --config
- p/security-audit
- --skip-unknown-extensions
stages:
- manual

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.11.1
hooks:
Expand Down