Skip to content

Commit

Permalink
ci: update snyk/actions/docker and upload sarif files (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
gofrolist authored Dec 26, 2023
1 parent 04ca44f commit 8f17cb9
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ jobs:
needs:
- build
runs-on: ubuntu-22.04
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
Expand All @@ -103,15 +106,18 @@ jobs:
sarif: true
args: --file=Dockerfile

# - name: Upload result to GitHub Code Scanning
# uses: github/codeql-action/upload-sarif@v3
# with:
# sarif_file: snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: snyk.sarif

snyk-python:
needs:
- build
runs-on: ubuntu-22.04
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
Expand Down

0 comments on commit 8f17cb9

Please sign in to comment.