From bb28a49432b402dd9fccd69cf322c25989713413 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Mon, 25 Mar 2024 15:06:48 +0100 Subject: [PATCH] fix(ci): use needs context instead of jobs --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3292ab93..a7c71525 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -134,7 +134,7 @@ jobs: uses: ./.github/workflows/trivy-scan.yaml with: image-ref: api - attest: ${{ jobs.semrel.result == success }} + attest: ${{ needs.semrel.result == "success" }} trivy-scan-ember: if: always() @@ -142,4 +142,4 @@ jobs: uses: ./.github/workflows/trivy-scan.yaml with: image-ref: ember - attest: ${{ jobs.semrel.result == success }} + attest: ${{ needs.semrel.result == "success" }}