Skip to content

Commit f42a0e9

Browse files
Merge pull request #339 from auth0/integrate-semgrep
Create semgrep.yml
2 parents 00763fa + dacb316 commit f42a0e9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/semgrep.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Semgrep
2+
3+
on:
4+
pull_request_target: {}
5+
push:
6+
branches: ["master", "main"]
7+
permissions:
8+
contents: read
9+
jobs:
10+
semgrep:
11+
name: Scan
12+
runs-on: ubuntu-latest
13+
container:
14+
image: returntocorp/semgrep
15+
if: (github.actor != 'dependabot[bot]' && github.actor != 'snyk-bot')
16+
steps:
17+
- uses: actions/checkout@v3
18+
- run: semgrep ci
19+
env:
20+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}

0 commit comments

Comments
 (0)