From b27f1c6e5aa33c65d6b4c94f3eecdfd0a5179250 Mon Sep 17 00:00:00 2001 From: Mario Minardi Date: Wed, 26 Feb 2025 17:43:12 -0700 Subject: [PATCH] .github/workflows: add `skipTests` option Add `skipTests` option to build.yml to allow for skipping tests in extraordinary circumstances. Updates https://github.com/tailscale/go/issues/47 Signed-off-by: Mario Minardi --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f9b8b736d5fc57..434e0dde32ecc4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,10 +17,16 @@ on: description: Branch, commit or tag to build from required: true default: 'tailscale.go1.24' + skipTests: + description: Whether to skip tests. This should only be used in break-glass / extraordinary scenarios. + required: false + type: boolean + default: false jobs: test: runs-on: ubuntu-24.04 + if: ${{ !inputs.skipTests }} steps: - name: checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7