Skip to content

Commit

Permalink
fix: Run dependabot-merge if previous steps are skipped (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
samtrion authored Jan 8, 2025
1 parent 2084258 commit 0c0c8b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,23 +149,23 @@ 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
secrets: inherit

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
secrets: inherit

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
Expand Down

0 comments on commit 0c0c8b2

Please sign in to comment.