mirror of
https://github.com/tailscale/github-action.git
synced 2026-08-20 13:09:20 +00:00
.github/workflows: disable integration tests for dependabot PRs
Disable integration tests for dependabot PRs since it does not have access to the integration testing tailnet. Updates https://github.com/tailscale/corp/issues/33791 Signed-off-by: Mario Minardi <mario@tailscale.com>
This commit is contained in:
parent
95e09948b8
commit
8d0691471a
1 changed files with 6 additions and 1 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
|
@ -17,7 +17,12 @@ jobs:
|
|||
# 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 }}
|
||||
#
|
||||
# Similarly, skip if this is running from a PR that has been opened by dependabot as
|
||||
# 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]' }}
|
||||
name: ${{ matrix.os }} (${{ matrix.arch }}) (${{ matrix.credential-type }}) tailscale-${{ matrix.version }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue