We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 402b414 + ac787c2 commit 3876d0dCopy full SHA for 3876d0d
1 file changed
.github/workflows/main.yml
@@ -25,7 +25,7 @@ jobs:
25
publish-nuget:
26
name: Publish Nuget
27
needs: [ unit-tests ]
28
- if: ${{ github.ref_name == 'main' && github.event_name != 'pull_request' }}
+ if: ${{ github.ref_name == 'main' && github.event_name != 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}
29
uses: ./.github/workflows/publish-svs.yml
30
secrets: inherit
31
with:
@@ -34,7 +34,7 @@ jobs:
34
publish-nuget-beta:
35
name: Publish Nuget Beta
36
37
- if: ${{ github.ref_name != 'main' }}
+ if: ${{ github.ref_name != 'main' && github.event.pull_request.head.repo.full_name == github.repository }}
38
39
40
0 commit comments