File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Semgrep
22
33on :
44 # Scan changed files in PRs (diff-aware scanning):
5- pull_request : {}
5+ pull_request_target : {}
66 # Scan on-demand through GitHub Actions interface:
77 workflow_dispatch : {}
88 # Scan mainline branches and report all findings:
1818 runs-on : ubuntu-latest
1919 permissions :
2020 security-events : write
21- contents : read
22- actions : read
21+ # contents: read
22+ # actions: read
2323
2424 container :
2525 image : semgrep/semgrep@sha256:85f9de554201cc891c470774bb93a7f4faf41ea198ddccc34a855b53f7a51443 # v1.127.1
3939 env :
4040 # Connect to Semgrep AppSec Platform through your SEMGREP_APP_TOKEN.
4141 SEMGREP_APP_TOKEN : ${{ secrets.SEMGREP_APP_TOKEN }}
42-
42+ # Do not check for new version
43+ SEMGREP_ENABLE_VERSION_CHECK : 0
44+ # No metrics
45+ SEMGREP_SEND_METRICS : no
4346 - name : Upload SARIF file for GitHub Advanced Security Dashboard
4447 uses : github/codeql-action/upload-sarif@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
4548 with :
You can’t perform that action at this time.
0 commit comments