Skip to content

Commit 10c9654

Browse files
committed
fix: prevent workflow publish on pull request
1 parent a419fb6 commit 10c9654

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/nuget-test-and-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
publish:
9292
# Publish the NuGet package and create release assets
9393
runs-on: ubuntu-latest
94+
if: ${{ github.event_name != 'pull_request' }}
9495
needs: [ build, draft-release ]
9596
env:
9697
tag_name: ${{ needs.draft-release.outputs.tag_name }}

0 commit comments

Comments
 (0)