Skip to content

Commit b27f1c6

Browse files
committed
.github/workflows: add skipTests option
Add `skipTests` option to build.yml to allow for skipping tests in extraordinary circumstances. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
1 parent 5b2cc69 commit b27f1c6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

+6
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,16 @@ on:
1717
description: Branch, commit or tag to build from
1818
required: true
1919
default: 'tailscale.go1.24'
20+
skipTests:
21+
description: Whether to skip tests. This should only be used in break-glass / extraordinary scenarios.
22+
required: false
23+
type: boolean
24+
default: false
2025

2126
jobs:
2227
test:
2328
runs-on: ubuntu-24.04
29+
if: ${{ !inputs.skipTests }}
2430
steps:
2531
- name: checkout
2632
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

0 commit comments

Comments
 (0)