Skip to content

Commit

Permalink
Merge pull request #4657 from fluxcd/snyk-test-all-projects
Browse files Browse the repository at this point in the history
ci: Include all go modules in snyk testing
  • Loading branch information
stefanprodan authored Mar 14, 2024
2 parents 35e0ba6 + bb4f27a commit d9e435c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ jobs:
- name: Run Snyk to check for vulnerabilities
continue-on-error: true
run: |
snyk test --sarif-file-output=snyk.sarif
snyk test --all-projects --sarif-file-output=snyk.sarif
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
- name: Upload result to GitHub Code Scanning
continue-on-error: true
uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
with:
sarif_file: snyk.sarif
Expand Down

0 comments on commit d9e435c

Please sign in to comment.