Skip to content

Commit 1ab6ecf

Browse files
committed
.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 <mario@tailscale.com>
1 parent dea278b commit 1ab6ecf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
# Matrix test for all supported platforms and architectures
1515

1616
integration-tests:
17+
# Skip our integration tests if the PR is from a fork. This has the consequence of
18+
# disabling these even if the PR is from a forked repo into itself, but given that
19+
# these tests are very specific to our internal test environment that is a good thing.
20+
if: ${{ !github.event.repository.fork }}
1721
name: ${{ matrix.os }} (${{ matrix.arch }}) (${{ matrix.credential-type }}) tailscale-${{ matrix.version }}
1822
strategy:
1923
fail-fast: false

0 commit comments

Comments
 (0)