authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-04-07 14:13:24-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-04-07 21:13:24+00:00
logb1934b925aec31be8f5ef1561116ef427dc1ba76
tree967dc4dc4c5fe9b0068acd3814aa3ecdf3f7ccb9
parent8244fb80e68f465b8fe9d93cbdea86d308df1acd
signature Signed by PGP key B5690EEEBB952194

Add explicit timeouts to CI and release workflows (#1825)


2 files changed, 7 insertions(+), 0 deletions(-)

.github/workflows/ci.yml+2
......@@ -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+5
......@@ -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