Skip to content

Commit b91c721

Browse files
authored
ci: github actions: only deploy pytest-dev/pytest (#6474)
ci: github actions: only deploy pytest-dev/pytest
2 parents 715f56d + ea31649 commit b91c721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
name: ${{ matrix.name }}
160160

161161
deploy:
162-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
162+
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'pytest-dev/pytest'
163163

164164
runs-on: ubuntu-latest
165165

0 commit comments

Comments
 (0)