From 9706ded67ac434073c217e0a9dbbddf25dae4075 Mon Sep 17 00:00:00 2001 From: Sam Dozor Date: Fri, 3 Nov 2023 14:05:11 -0400 Subject: [PATCH] fix: only delete branch if all succeeds --- .github/workflows/daily.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index e8487c01c..860306ae2 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -283,8 +283,7 @@ jobs: delete-regression-branch: name: "Delete regression branch" - if: ${{ always() }} - needs: [semantic-release-dryrun, create-regression-branch] + needs: semantic-release-dryrun runs-on: ubuntu-latest env: GITHUB_TOKEN: ${{ secrets.MP_SEMANTIC_RELEASE_BOT }}