Fix vm ci tests clogging in fork repository pull request

fix: https://github.com/tailscale/tailscale/issues/5771
Signed-off-by: Aoang <aoang@x2oe.com>
This commit is contained in:
Aoang 2022-11-01 16:04:40 +08:00 committed by Denton Gentry
parent 1440742a1c
commit 60f77ba515

View File

@ -14,7 +14,7 @@ jobs:
ubuntu2004-LTS-cloud-base:
runs-on: [ self-hosted, linux, vm ]
if: "!contains(github.event.head_commit.message, '[ci skip]')"
if: "(github.repository == 'tailscale/tailscale') && !contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Set GOPATH