We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eff765f commit fa41365Copy full SHA for fa41365
.github/workflows/semgrep-ci.yml
@@ -0,0 +1,26 @@
1
+name: Semgrep
2
+on:
3
+ workflow_dispatch: {}
4
+ pull_request: {}
5
+ push:
6
+ branches:
7
+ - main
8
+ paths:
9
+ - .github/workflows/semgrep-ci.yml
10
+ schedule:
11
+ # random HH:MM to avoid a load spike on GitHub Actions at 00:00
12
+ - cron: '10 13 * * *'
13
+jobs:
14
+ semgrep:
15
+ name: semgrep/ci
16
+ runs-on: ubuntu-20.04
17
+ env:
18
+ SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
19
+ container:
20
+ image: semgrep/semgrep
21
+ if: (github.actor != 'dependabot[bot]')
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ - name: Log in to Semgrep
25
+ run: semgrep login
26
+ - run: semgrep ci
0 commit comments