From bc5f281b1866d7cf0e33fe9e6e9a444b838b40f0 Mon Sep 17 00:00:00 2001 From: Mario Minardi Date: Wed, 10 Dec 2025 12:38:43 -0700 Subject: [PATCH] .github/workflows: skip integration tests for forks Skip the integration test workflows for forked versions of the repo. Updates #cleanup Signed-off-by: Mario Minardi --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78d29b8..5446f50 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,10 @@ jobs: # Matrix test for all supported platforms and architectures integration-tests: + # Skip our integration tests if the PR is from a fork. This has the consequence of + # disabling these even if the PR is from a forked repo into itself, but given that + # these tests are very specific to our internal test environment that is a good thing. + if: ${{ !github.event.repository.fork }} name: ${{ matrix.os }} (${{ matrix.arch }}) (${{ matrix.credential-type }}) tailscale-${{ matrix.version }} strategy: fail-fast: false