From 7c41b463f91e504150adb3d8e56fb21ea778c9a4 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Tue, 16 Jul 2024 19:16:26 +0100 Subject: [PATCH] ops(release): stop release flow if no release created --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc8e260..e84d6e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,7 @@ jobs: create_docker: name: Create Docker Image needs: create_release + if: ${{ needs.create_release.outputs.success == 'true' }} uses: luketainton/gha-workflows/.github/workflows/build-push-attest-docker.yml@main with: release: ${{ needs.create_release.outputs.release_name }}