Skip to content

Commit 19f47c7

Browse files
authored
Update Snyk workflow for vulnerability checks
1 parent bdb1fc8 commit 19f47c7

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/snyk-infrastructure.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
# The branches below must be a subset of the branches above
1515
branches: [ "main" ]
1616
schedule:
17-
- cron: '21 15 * * 4'
17+
- cron: '* * * * *'
1818

1919
permissions:
2020
contents: read
@@ -28,14 +28,10 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
31-
- name: Run Snyk to check configuration files for security issues
32-
# Snyk can be used to break the build when it detects security issues.
33-
# In this case we want to upload the issues to GitHub Code Scanning
31+
- name: Run Snyk to check for vulnerabilities
32+
uses: snyk/actions/node@e2221410bff24446ba09102212d8bc75a567237d
3433
continue-on-error: true
35-
uses: snyk/actions/iac@14818c4695ecc4045f33c9cee9e795a788711ca4
3634
env:
3735
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
38-
- name: Upload result to GitHub Code Scanning
39-
uses: github/codeql-action/upload-sarif@7434149006143a4d75b82a2f411ef15b03ccc2d7
4036
with:
41-
sarif_file: snyk-results.sarif
37+
args: --sarif-file-output=snyk-results.sarif

0 commit comments

Comments
 (0)