Update trivy sarif upload action to associate to branch ref

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-06-03 16:20:12 +02:00
parent ab05e501ac
commit e29dc4fee9

View File

@@ -328,6 +328,9 @@ jobs:
if: always() if: always()
with: with:
sarif_file: "trivy-results.sarif" sarif_file: "trivy-results.sarif"
ref: "refs/heads/main"
sha: ${{ github.sha }}
category: "trivy-docker-image"
- name: "Compose release notes" - name: "Compose release notes"
env: env:
IMAGE_TAG: ${{ needs.docker-manifest.outputs.image_tag }} IMAGE_TAG: ${{ needs.docker-manifest.outputs.image_tag }}