Skip to content

Commit 31d93e6

Browse files
committed
.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 <mario@tailscale.com>
1 parent 564fe38 commit 31d93e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# the bot does not have credentials for the integration testing tailnet.
2323
# TODO(mpminardi): revisit / remove this if / when we give dependabot a tailnet for
2424
# testing with a smaller blast radius.
25-
if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }}
25+
if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]') }}
2626
name: ${{ matrix.os }} (${{ matrix.arch }}) (${{ matrix.credential-type }}) tailscale-${{ matrix.version }}
2727
strategy:
2828
fail-fast: false

0 commit comments

Comments
 (0)