Skip to content

Commit 19ed9a2

Browse files
authored
Exclude running upload steps for fork repo (#1230)
1 parent 33e0da5 commit 19ed9a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/conda-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ jobs:
456456
needs: test_windows
457457

458458
if: |
459-
!github.event.pull_request.head.repo.fork &&
459+
!github.event.pull_request.head.repo.fork && !github.event.push.repository.fork &&
460460
(github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/'))
461461
462462
runs-on: windows-latest

0 commit comments

Comments
 (0)