From a9425fda715e9b0819c6ddae42e3cefc44fb3862 Mon Sep 17 00:00:00 2001 From: Mario Minardi Date: Thu, 5 Mar 2026 19:08:20 -0700 Subject: [PATCH] .github/workflows: run integration test if event is a push Run the integration tests if the event that triggered them is a push to main. Previous changes to skip these tests on pull requests from forks or dependabot had the unintended impact of disabling them on merges into main. 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 bb8b830..6f7e694 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.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }} + if: ${{ github.event_name == 'push' || (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