File tree Expand file tree Collapse file tree 2 files changed +29
-18
lines changed
Expand file tree Collapse file tree 2 files changed +29
-18
lines changed Original file line number Diff line number Diff line change 1+ name : Semgrep
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ permissions :
10+ contents : read
11+ security-events : read
12+
13+ jobs :
14+ scan :
15+ runs-on : ubuntu-latest
16+ container :
17+ image : semgrep/semgrep
18+ if : (github.actor != 'dependabot[bot]')
19+ steps :
20+ - uses : actions/checkout@v4
21+ - run : semgrep scan --config=auto --sarif --output=semgrep.sarif
22+ env :
23+ SEMGREP_RULES : auto
24+ - name : Upload SARIF file
25+ uses : github/codeql-action/upload-sarif@v4
26+ with :
27+ sarif_file : semgrep.sarif
28+ category : semgrep
29+ if : always()
Original file line number Diff line number Diff line change 6767 run : |
6868 go install golang.org/x/lint/golint@latest
6969 golint -set_exit_status ./...
70-
71- semgrep :
72- name : semgrep/ci
73- runs-on : ubuntu-latest
74- container :
75- image : semgrep/semgrep
76- if : (github.actor != 'dependabot[bot]')
77- steps :
78- - uses : actions/checkout@v4
79- - run : semgrep scan --config=auto --sarif --output=semgrep.sarif
80- env :
81- SEMGREP_RULES : auto
82- - name : Upload SARIF file
83- uses : github/codeql-action/upload-sarif@v4
84- with :
85- sarif_file : semgrep.sarif
86- category : semgrep
87- if : always()
You can’t perform that action at this time.
0 commit comments