Skip to content

Commit 5aabb97

Browse files
committed
updated Snyk
1 parent 7821736 commit 5aabb97

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/M1-4-2-CI-Practice.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,11 @@ jobs:
110110
runs-on: ubuntu-latest
111111
needs: [gitleaks-scan, editorconfig, python-pylint, python-black, markdownlint-cli, unittests]
112112
steps:
113-
- name: Run Snyk to check for vulnerabilities
114-
uses: snyk/actions/python-3.10@master
113+
- uses: actions/checkout@v2
114+
- name: Run Snyk to check IAC files for issues
115+
uses: snyk/actions/iac@master
115116
env:
116117
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
117118
with:
118-
args: --severity-threshold=high
119-
119+
file: . (This should be the paths in which to scan files with issues.)
120+
sarif: true

0 commit comments

Comments
 (0)