Skip to content

Commit

Permalink
fix(ci): use needs context instead of jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Mar 25, 2024
1 parent 7315c89 commit bb28a49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,12 @@ 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()
needs: semrel
uses: ./.github/workflows/trivy-scan.yaml
with:
image-ref: ember
attest: ${{ jobs.semrel.result == success }}
attest: ${{ needs.semrel.result == "success" }}

0 comments on commit bb28a49

Please sign in to comment.