File tree Expand file tree Collapse file tree 1 file changed +14
-19
lines changed
Expand file tree Collapse file tree 1 file changed +14
-19
lines changed Original file line number Diff line number Diff line change 1+ name : Semgrep
2+
13on :
2- workflow_dispatch : {}
3- pull_request : {}
44 push :
5- branches :
6- - main
7- - master
8- paths :
9- - .github/workflows/semgrep.yml
10- schedule :
11- # random HH:MM to avoid a load spike on GitHub Actions at 00:00
12- - cron : 6 20 * * *
13- name : Semgrep
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
149jobs :
1510 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
11+ runs-on : ubuntu-latest
2212 steps :
23- - uses : actions/checkout@v4
24- - run : semgrep ci
13+ - uses : actions/checkout@v3
14+
15+ - uses : returntocorp/semgrep-action@v1
16+ with :
17+ config : >-
18+ p/default # Use Semgrep's default open-source security rules
19+
You can’t perform that action at this time.
0 commit comments