From 08cb9566d3b541cb3915a9ae253e455d56501bb5 Mon Sep 17 00:00:00 2001 From: Stojan Dimitrovski Date: Thu, 8 Feb 2024 17:52:56 +0100 Subject: [PATCH] ci: only calculate release versions if release please detects a version commit (#1405) If release please doesn't detect a version commit, the release name calculation should not run. IDK why that line was left like that. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3726468ee5..8540046a7e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: with: fetch-depth: 0 - - if: ${{ steps.release.outputs }} + - if: ${{ steps.release.outputs.release_created == 'true' || steps.release.outputs.prs_created == 'true' }} id: versions run: | set -ex