File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ jobs:
326326 needs : build
327327 runs-on : ubuntu-latest
328328 permissions :
329- contents : write
329+ contents : read
330330 security-events : write
331331 strategy :
332332 fail-fast : false
@@ -355,8 +355,6 @@ jobs:
355355 format : " sarif"
356356 output : " trivy-results.sarif"
357357 severity : " CRITICAL,HIGH"
358- scanners : " vuln,secret,misconfig,license"
359- github-pat : " ${{ secrets.GITHUB_TOKEN }}"
360358 - name : Log in to Container Registry (ghcr.io)
361359 if : ${{ github.event_name != 'pull_request' }}
362360 uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
@@ -372,8 +370,6 @@ jobs:
372370 format : " sarif"
373371 output : " trivy-results.sarif"
374372 severity : " CRITICAL,HIGH"
375- scanners : " vuln,secret,misconfig,license"
376- github-pat : " ${{ secrets.GITHUB_TOKEN }}"
377373 - name : Upload Trivy scan results to GitHub Security tab
378374 if : always()
379375 uses : github/codeql-action/upload-sarif@v4
You can’t perform that action at this time.
0 commit comments