File tree Expand file tree Collapse file tree 2 files changed +27
-27
lines changed
Expand file tree Collapse file tree 2 files changed +27
-27
lines changed Original file line number Diff line number Diff line change 1+ # ## Ensure that our local testing always passes
2+ name : ' Run semgrep tests'
3+
4+ on :
5+ pull_request : {}
6+
7+ permissions :
8+ contents : ' read'
9+ actions : ' read'
10+
11+ jobs :
12+ semgrep-tests :
13+ name : ' Run semgrep tests'
14+ runs-on : ' ubuntu-latest'
15+
16+ container :
17+ image : index.docker.io/semgrep/semgrep@sha256:85782eaf09692e6dfb684cd3bad87ef315775814b01f76b4d15582e4ca7c1c89 # ratchet:semgrep/semgrep
18+
19+ # Skip any PR created by dependabot to avoid permission issues:
20+ if : (github.actor != 'dependabot[bot]')
21+
22+ steps :
23+ - name : ' Checkout Code'
24+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4
25+
26+ - name : ' Run Actions semgrep scan'
27+ run : ' semgrep --test --config semgrep-rules semgrep-tests'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments