Skip to content

Commit ed0899c

Browse files
authored
Enable Security Scanning with Semgrep in CI (#744)
1 parent 3d88369 commit ed0899c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/security_scan.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: security_scan
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
semgrep:
9+
runs-on: ubuntu-latest
10+
container:
11+
image: returntocorp/semgrep
12+
if: (github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]')
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
- run: semgrep ci
18+
env:
19+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}

0 commit comments

Comments
 (0)