Skip to content

Commit 0fe4ca7

Browse files
Revert changes for synk
1 parent 03d2d46 commit 0fe4ca7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/snyk.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
- uses: actions/checkout@v4
3434
with:
3535
ref: ${{ github.event.pull_request.head.sha || github.ref }}
36-
fetch-depth: 0
3736

3837
- uses: snyk/actions/python-3.8@cdb760004ba9ea4d525f2e043745dfe85bb9077e # pinned 2023-06-13
3938
continue-on-error: true # Make sure the SARIF upload is called
@@ -42,10 +41,7 @@ jobs:
4241
with:
4342
args: --sarif-file-output=snyk.sarif
4443

45-
- name: Validate SARIF file
46-
run: jq . snyk.sarif || (echo "Invalid SARIF file"; exit 1)
47-
4844
- name: Upload result to GitHub Code Scanning
49-
uses: github/codeql-action/upload-sarif@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 #pin@ v3.28.9
45+
uses: github/codeql-action/upload-sarif@v3
5046
with:
5147
sarif_file: snyk.sarif

0 commit comments

Comments
 (0)