We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3247f5a commit 3f4545fCopy full SHA for 3f4545f
.github/workflows/python_pytest.yml
@@ -73,8 +73,10 @@ jobs:
73
74
pytest:
75
name: Pytest (All, Python ${{ matrix.python-version }}, ${{ matrix.os }})
76
- # Don't run on forks
77
- if: github.repository_owner == 'airbytehq'
+ # Don't run on forks. Run on pushes to main, and on PRs that are not from forks.
+ if: >
78
+ (github.event_name == 'push' && github.ref == 'refs/heads/main') ||
79
+ (github.event.pull_request.head.repo.fork == false)
80
strategy:
81
matrix:
82
python-version: [
0 commit comments