From 154999c6be1a4464f8fff2d1890d8905c8e0f416 Mon Sep 17 00:00:00 2001 From: Jack Yao Date: Thu, 13 Jun 2024 22:16:26 -0500 Subject: [PATCH] Change CI to run on PRs within same repo --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b0437d82..5014a421 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,6 +21,7 @@ permissions: jobs: test-lts: + if: github.repository == 'poly-hammer/BlenderTools' && github.event.pull_request.head.repo.full_name == github.repository name: Test LTS uses: poly-hammer/BlenderTools/.github/workflows/re-use-tests.yml@main secrets: inherit @@ -30,6 +31,7 @@ jobs: blender-version: 3.6 test-latest: + if: github.repository == 'poly-hammer/BlenderTools' && github.event.pull_request.head.repo.full_name == github.repository needs: test-lts name: Test Latest uses: poly-hammer/BlenderTools/.github/workflows/re-use-tests.yml@main