mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 15:41:47 +00:00
Merge pull request #4657 from fluxcd/snyk-test-all-projects
ci: Include all go modules in snyk testing
This commit is contained in:
commit
d9e435c041
1 changed files with 2 additions and 1 deletions
3
.github/workflows/scan.yaml
vendored
3
.github/workflows/scan.yaml
vendored
|
|
@ -49,10 +49,11 @@ jobs:
|
||||||
- name: Run Snyk to check for vulnerabilities
|
- name: Run Snyk to check for vulnerabilities
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
snyk test --sarif-file-output=snyk.sarif
|
snyk test --all-projects --sarif-file-output=snyk.sarif
|
||||||
env:
|
env:
|
||||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||||
- name: Upload result to GitHub Code Scanning
|
- name: Upload result to GitHub Code Scanning
|
||||||
|
continue-on-error: true
|
||||||
uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
|
uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
|
||||||
with:
|
with:
|
||||||
sarif_file: snyk.sarif
|
sarif_file: snyk.sarif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue