Skip to content

Commit b1934b9

Browse files
Add explicit timeouts to CI and release workflows (#1825)
1 parent 8244fb8 commit b1934b9

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
quality:
1111
name: Format, Lint, Typecheck, Test, Browser Test, Build
1212
runs-on: blacksmith-4vcpu-ubuntu-2404
13+
timeout-minutes: 10
1314
steps:
1415
- name: Checkout
1516
uses: actions/checkout@v6
@@ -76,6 +77,7 @@ jobs:
7677
release_smoke:
7778
name: Release Smoke
7879
runs-on: ubuntu-24.04
80+
timeout-minutes: 10
7981
steps:
8082
- name: Checkout
8183
uses: actions/checkout@v6

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
preflight:
2020
name: Preflight
2121
runs-on: ubuntu-24.04
22+
timeout-minutes: 10
2223
outputs:
2324
version: ${{ steps.release_meta.outputs.version }}
2425
tag: ${{ steps.release_meta.outputs.tag }}
@@ -81,6 +82,7 @@ jobs:
8182
name: Build ${{ matrix.label }}
8283
needs: preflight
8384
runs-on: ${{ matrix.runner }}
85+
timeout-minutes: 30
8486
strategy:
8587
fail-fast: false
8688
matrix:
@@ -227,6 +229,7 @@ jobs:
227229
name: Publish CLI to npm
228230
needs: [preflight, build]
229231
runs-on: ubuntu-24.04
232+
timeout-minutes: 10
230233
steps:
231234
- name: Checkout
232235
uses: actions/checkout@v6
@@ -260,6 +263,7 @@ jobs:
260263
name: Publish GitHub Release
261264
needs: [preflight, build, publish_cli]
262265
runs-on: ubuntu-24.04
266+
timeout-minutes: 10
263267
steps:
264268
- name: Checkout
265269
uses: actions/checkout@v6
@@ -307,6 +311,7 @@ jobs:
307311
name: Finalize release
308312
needs: [preflight, release]
309313
runs-on: ubuntu-24.04
314+
timeout-minutes: 10
310315
steps:
311316
- id: app_token
312317
name: Mint release app token

0 commit comments

Comments
 (0)