There was an error while loading. Please reload this page.
1 parent 26b9a65 commit 592fc4fCopy full SHA for 592fc4f
1 file changed
.github/workflows/semgrep.yaml
@@ -0,0 +1,29 @@
1
+name: Security / Semgrep
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - master
8
9
+jobs:
10
+ semgrep:
11
+ name: Security / Semgrep
12
+ runs-on: ubuntu-latest
13
+ container:
14
+ image: semgrep/semgrep:1.68.0
15
+ if: (github.actor != 'dependabot[bot]')
16
+ steps:
17
+ - name: Checkout source repository
18
+ uses: actions/checkout@v4
19
+ - name: Scan with Semgrep
20
+ env:
21
+ # Connect to Semgrep Cloud Platform
22
+ SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
23
+ run: |
24
+ semgrep ci \
25
+ --code \
26
+ --secrets \
27
+ --supply-chain \
28
+ --pro \
29
+ --no-suppress-errors
0 commit comments