Skip to content

Commit

Permalink
Merge pull request #260 from ava-labs/snyk-upload-fix
Browse files Browse the repository at this point in the history
Snyk upload fix
  • Loading branch information
michaelkaplan13 authored Apr 10, 2024
2 parents 449f654 + 9e4298b commit 3a4abd7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:
with:
args: --sarif-file-output=snyk.sarif --all-projects --detection-depth=4

# Replace any "undefined" security severity values with 0. The undefined value is used in the case
# of license-related findings, which do not do not indicate a security vulnerability.
# See https://github.com/github/codeql-action/issues/2187 for more context.
- name: Post-process sarif output
run: |
sed -i 's/"security-severity": "undefined"/"security-severity": "0"/g' snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion scripts/versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# See the file LICENSE for licensing terms.

# The go version for this project is set from a combination of major.minor from go.mod and the patch version set here.
GO_PATCH_VERSION=8
GO_PATCH_VERSION=9

RELAYER_PATH=$(
cd "$(dirname "${BASH_SOURCE[0]}")"
Expand Down

0 comments on commit 3a4abd7

Please sign in to comment.