fix(ci): fix Snyk scan
All checks were successful
CI w/ Poetry and Docker / ci (pull_request) Successful in 1m19s
All checks were successful
CI w/ Poetry and Docker / ci (pull_request) Successful in 1m19s
This commit is contained in:
parent
560a4c37ea
commit
c31aac8538
@ -53,11 +53,15 @@ jobs:
|
|||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
|
||||||
- name: Snyk Vulnerability Scan
|
- name: Snyk Vulnerability Scan
|
||||||
uses: snyk/actions/python-3.10@master
|
|
||||||
continue-on-error: true # Sometimes vulns aren't immediately fixable
|
continue-on-error: true # Sometimes vulns aren't immediately fixable
|
||||||
env:
|
run: docker run --rm -v "${{ gitea.workspace }}:/app" -e "SNYK_TOKEN=${{ secrets.SNYK_TOKEN }}" snyk/snyk:python snyk test --all-projects --json
|
||||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
|
||||||
with:
|
# - name: Snyk Vulnerability Scan
|
||||||
command: test
|
# uses: snyk/actions/python-3.10@master
|
||||||
args: --all-projects
|
# continue-on-error: true # Sometimes vulns aren't immediately fixable
|
||||||
json: true
|
# env:
|
||||||
|
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||||
|
# with:
|
||||||
|
# command: test
|
||||||
|
# args: --all-projects
|
||||||
|
# json: true
|
||||||
|
Loading…
Reference in New Issue
Block a user