Snyk workflow failing when running the checks against the Operator (#16653)
Resolves #16622
This commit is contained in:
parent
025d47c57a
commit
bbca0bb4e8
1 changed files with 3 additions and 1 deletions
4
.github/workflows/snyk-analysis.yml
vendored
4
.github/workflows/snyk-analysis.yml
vendored
|
@ -34,7 +34,9 @@ jobs:
|
||||||
sarif_file: quarkus-report.sarif
|
sarif_file: quarkus-report.sarif
|
||||||
|
|
||||||
- name: Check for vulnerabilities in Operator
|
- name: Check for vulnerabilities in Operator
|
||||||
run: snyk test --policy-path=${GITHUB_WORKSPACE}/.github/snyk/.snyk --all-projects --prune-repeated-subdependencies --exclude=tests --sarif-file-output=operator-report.sarif operator
|
run: |
|
||||||
|
mvn -Poperator -pl operator -am -DskipTests clean install
|
||||||
|
snyk test --policy-path=${GITHUB_WORKSPACE}/.github/snyk/.snyk --all-projects --prune-repeated-subdependencies --exclude=tests --sarif-file-output=operator-report.sarif operator
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue