Skip to content

Commit 4258d9b

Browse files
voidd7Voidd
andauthored
Added Semgrep CI/CD scan (#8)
Co-authored-by: Voidd <[email protected]>
1 parent 392aeab commit 4258d9b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/semgrep.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Semgrep
2+
on:
3+
pull_request:
4+
workflow_dispatch:
5+
6+
jobs:
7+
semgrep:
8+
name: Run Semgrep
9+
runs-on: ubuntu-latest
10+
timeout-minutes: 30
11+
container:
12+
# A Docker image with Semgrep installed. Do not change this.
13+
image: returntocorp/semgrep
14+
steps:
15+
- uses: actions/checkout@v4
16+
- run: semgrep ci
17+
env:
18+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN_PUBLIC }}

0 commit comments

Comments
 (0)