We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5738fe6 commit 7f1717cCopy full SHA for 7f1717c
1 file changed
.github/workflows/semgrep.yml
@@ -20,13 +20,16 @@ jobs:
20
- uses: actions/checkout@v4
21
22
- name: Run Semgrep
23
- uses: returntocorp/semgrep-action@v1
24
- with:
25
- config: p/security-audit
26
- generateSarif: "1"
+ run: |
+ docker run --rm -v "$PWD":/src -w /src returntocorp/semgrep:latest \
+ semgrep \
+ --config p/security-audit \
27
+ --config p/php \
28
+ --sarif \
29
+ --output semgrep.sarif \
30
+ --metrics off
31
32
- name: Upload SARIF
33
uses: github/codeql-action/upload-sarif@v3
34
with:
35
sarif_file: semgrep.sarif
-
0 commit comments