Skip to content

Commit

Permalink
Merge pull request #39 from OmegaSquad82/35-parallel-sarif-uploads-le…
Browse files Browse the repository at this point in the history
…ads-to-only-last-to-show-up-in-securitydependabot-vulnerabilities-tab

Ugly multiplication of restore
  • Loading branch information
OmegaSquad82 authored Sep 24, 2024
2 parents 6adb7da + 87acd12 commit b8a1011
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
env:
REPO_OWNER: ${{ github.repository_owner }}
jobs:
trivy:
scan:
name: Scan Custom Image
runs-on: ubuntu-24.04
permissions:
Expand All @@ -26,9 +26,6 @@ jobs:
- carbonatcyanotrichit
- flaviramea
steps:
#- name: Maximize build space
# uses: jlumbroso/free-disk-space@v1.3.1

- name: Checkout code
uses: actions/checkout@v4

Expand All @@ -38,7 +35,7 @@ jobs:
- name: Generate SARIF for Custom Image with Trivy
uses: aquasecurity/trivy-action@0.24.0
with:
output: ${{ matrix.package }}-trivy-results.sarif
output: trivy-results.sarif
github-pat: ${{ secrets.GITHUB_TOKEN }}
image-ref: "${{ env.IMAGE_REF }}"
severity: MEDIUM,HIGH,CRITICAL
Expand All @@ -52,4 +49,5 @@ jobs:
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: "${{ matrix.package }}-trivy-results.sarif"
category: ${{ matrix.package }}
sarif_file: trivy-results.sarif

0 comments on commit b8a1011

Please sign in to comment.