From 0c0c8b2977e40e4f82e24d4bd4c1fdab86f5ee5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20St=C3=BChmer?= Date: Wed, 8 Jan 2025 10:22:41 +0100 Subject: [PATCH] fix: Run `dependabot-merge` if previous steps are skipped (#128) --- .github/workflows/cicd-dotnet.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd-dotnet.yml b/.github/workflows/cicd-dotnet.yml index 00de00e..f4f707a 100644 --- a/.github/workflows/cicd-dotnet.yml +++ b/.github/workflows/cicd-dotnet.yml @@ -149,7 +149,7 @@ jobs: dependabot-merge: name: Dependabot Merge - if: ${{ github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' }} + if: ${{ !cancelled() && !failure() && github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' }} uses: ./.github/workflows/step-dependabot-merge.yml needs: - build @@ -157,7 +157,7 @@ jobs: publish-nuget: name: Publish NuGet - if: ${{ inputs.disablePublish == false && github.event_name == 'push' && github.actor != 'dependabot[bot]' }} + if: ${{ !cancelled() && !failure() && inputs.disablePublish == false && github.event_name == 'push' && github.actor != 'dependabot[bot]' }} uses: ./.github/workflows/step-dotnet-publish-nuget.yml needs: - build @@ -165,7 +165,7 @@ jobs: release: name: Release - if: ${{ inputs.disablePublish == false && github.event_name == 'push' && github.actor != 'dependabot[bot]' }} + if: ${{ !cancelled() && !failure() && inputs.disablePublish == false && github.event_name == 'push' && github.actor != 'dependabot[bot]' }} needs: - version - build