File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -157,15 +157,15 @@ jobs:
157157
158158 publish-nuget :
159159 name : Publish NuGet
160- if : ${{ !cancelled() && !failure() && inputs.disablePublish == false && github.event_name == 'push ' && github.actor != 'dependabot[bot]' }}
160+ if : ${{ !cancelled() && !failure() && inputs.disablePublish == false && github.event_name != 'pull_request ' && github.actor != 'dependabot[bot]' }}
161161 uses : ./.github/workflows/step-dotnet-publish-nuget.yml
162162 needs :
163163 - build
164164 secrets : inherit
165165
166166 release :
167167 name : Release
168- if : ${{ !cancelled() && !failure() && inputs.disablePublish == false && github.event_name == 'push ' && github.actor != 'dependabot[bot]' }}
168+ if : ${{ !cancelled() && !failure() && inputs.disablePublish == false && github.event_name != 'pull_request ' && github.actor != 'dependabot[bot]' }}
169169 needs :
170170 - version
171171 - build
You can’t perform that action at this time.
0 commit comments