We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46305eb commit 2ab371bCopy full SHA for 2ab371b
1 file changed
.github/workflows/semgrep.yml
@@ -1,15 +1,20 @@
1
name: Semgrep
2
+
3
on:
- pull_request: {}
4
+ pull_request_target: {}
5
push:
- branches: ["master"]
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:
- - uses: actions/checkout@v2
- - uses: returntocorp/semgrep-action@v1
- with:
- publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}
17
+ - uses: actions/checkout@v3
18
+ - run: semgrep ci
19
+ env:
20
+ SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
0 commit comments