From 020397eaf0e2983ac3990f421645a337c9308ee0 Mon Sep 17 00:00:00 2001 From: Mario Minardi Date: Wed, 14 Jan 2026 13:06:39 -0700 Subject: [PATCH] .github/workflows: fix check to skip integration test for PRs from forks Check that the full name of the repo from pull request events matches the repo from the GitHub context to ensure we are properly skipping integration tests coming from forks. Updates #cleanup Signed-off-by: Mario Minardi --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7fc4fab..3c18315 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: # the bot does not have credentials for the integration testing tailnet. # TODO(mpminardi): revisit / remove this if / when we give dependabot a tailnet for # testing with a smaller blast radius. - if: ${{ !github.event.repository.fork && github.actor != 'dependabot[bot]' }} + if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }} name: ${{ matrix.os }} (${{ matrix.arch }}) (${{ matrix.credential-type }}) tailscale-${{ matrix.version }} strategy: fail-fast: false