Skip to content

Commit 0531d5a

Browse files
committed
gha: set default timeout
GitHub's default timeout is 6 hours, which is really long. Set a more reasonable timeout to prevent "runnaway" runs from running for hours before timing out. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 6f132ae commit 0531d5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
golang: ['1.23.x', 'oldstable', 'stable']
2121
# currently, we cannot run non-x86_64 machines on GitHub Actions cloud env.
2222
runs-on: ${{ matrix.os }}-latest
23+
timeout-minutes: 10 # guardrails timeout for the whole job
2324
env:
2425
# Setting GOTOOLCHAIN to local tells go
2526
# to use the bundled Go version rather

0 commit comments

Comments
 (0)