Skip to content

Commit 6f20c50

Browse files
committed
gha: set "guardrails" timeout
The default is 6 hours; set a time limit to prevent runnaway checks. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 4300299 commit 6f20c50

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
go-version: [1.18.x, oldstable, stable]
2323
platform: [ubuntu-22.04, ubuntu-24.04, windows-2022, windows-2025, macos-15, macos-26]
2424
runs-on: ${{ matrix.platform }}
25+
timeout-minutes: 10 # guardrails timeout for the whole job
2526
defaults:
2627
run:
2728
shell: bash
@@ -85,6 +86,7 @@ jobs:
8586

8687
codespell:
8788
runs-on: ubuntu-24.04
89+
timeout-minutes: 10 # guardrails timeout for the whole job
8890
steps:
8991
- uses: actions/checkout@v6
9092
- run: pip install --break-system-packages codespell==v2.3.0

0 commit comments

Comments
 (0)