From 4bd87538ddafe4c2677b4c5dddbb71673160d0f2 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Tue, 16 Jul 2024 19:08:22 +0100 Subject: [PATCH] Stop release flow if no new release --- .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 }}