Skip to content

Commit 17e5888

Browse files
authored
Merge pull request #19 from auth0/integrate-semgrep
Add semgrep.yml
2 parents b14593b + 7d4b384 commit 17e5888

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.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+
3+
on:
4+
pull_request_target: {}
5+
push:
6+
branches: ["master", "main"]
7+
jobs:
8+
semgrep:
9+
name: Scan
10+
runs-on: ubuntu-latest
11+
container:
12+
image: returntocorp/semgrep
13+
if: (github.actor != 'dependabot[bot]' && github.actor != 'snyk-bot')
14+
steps:
15+
- uses: actions/checkout@v3
16+
- run: semgrep ci
17+
env:
18+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}

0 commit comments

Comments
 (0)