From bce7dc46680dec3e125feec3905eaa4274cf23d6 Mon Sep 17 00:00:00 2001 From: Justin Braaten Date: Fri, 4 Oct 2024 09:02:14 -0700 Subject: [PATCH] Only run CI tests if PR is not from a fork Based on https://github.com/orgs/community/discussions/25217 --- .github/workflows/ci-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 60b5d83..0bb7fe8 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -25,6 +25,7 @@ on: jobs: build: + if: github.event.pull_request.head.repo.full_name == github.repository name: "python ${{ matrix.python-version }} tests" runs-on: ubuntu-latest strategy: