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 0d838ca commit faa1124Copy full SHA for faa1124
.github/workflows/semgrep.yml
@@ -0,0 +1,25 @@
1
+name: Semgrep
2
+on:
3
+ workflow_dispatch: {}
4
+ pull_request: {}
5
+ push:
6
+ branches:
7
+ - main
8
+ - master
9
+ paths:
10
+ - .github/workflows/semgrep.yml
11
+ schedule:
12
+ # random HH:MM to avoid a load spike on GitHub Actions at 00:00
13
+ - cron: '14 20 * * *'
14
+jobs:
15
+ semgrep:
16
+ name: semgrep/ci
17
+ runs-on: ubuntu-20.04
18
+ env:
19
+ SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
20
+ container:
21
+ image: returntocorp/semgrep
22
+ if: (github.actor != 'dependabot[bot]')
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - run: semgrep ci
0 commit comments