From a095ce290d1a97752cc5fd3f0d608f52c36c10ec Mon Sep 17 00:00:00 2001 From: Aaron Steers Date: Thu, 5 Dec 2024 14:43:53 -0800 Subject: [PATCH] ci: update pytest workflow to trigger on all pull requests, including forks --- .github/workflows/pytest_matrix.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest_matrix.yml b/.github/workflows/pytest_matrix.yml index fce75a27b..fee7ae683 100644 --- a/.github/workflows/pytest_matrix.yml +++ b/.github/workflows/pytest_matrix.yml @@ -23,8 +23,8 @@ jobs: name: Pytest (All, Python ${{ matrix.python-version }}, ${{ matrix.os }}) # Don't run on forks. Run on pushes to main, and on PRs that are not from forks. if: > - (github.event_name == 'push' && github.ref == 'refs/heads/main') || - (github.event.pull_request.head.repo.fork == false) + github.event_name == 'pull_request' || + (github.event_name == 'push' && github.ref == 'refs/heads/main') strategy: matrix: python-version: [