From fd8df41b4ce32f0219e2cfb607ccee06128e2ef0 Mon Sep 17 00:00:00 2001 From: Kevin Hahn Date: Tue, 25 Aug 2026 10:49:12 +0700 Subject: [PATCH] Add per-job timeouts to CI Set timeout-minutes on both jobs so a hung job fails fast instead of running to the 6-hour default: build (10m; recent runs ~5m) and publish-test-results (5m; normally <30s). Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci-cd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 7ae39983..b8e8eff1 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -23,6 +23,7 @@ jobs: matrix: os: [windows-latest, ubuntu-22.04] runs-on: ${{ matrix.os }} + timeout-minutes: 10 env: DOTNET_NOLOGO: true @@ -109,6 +110,8 @@ jobs: publish-test-results: runs-on: ubuntu-22.04 needs: build + # Normally completes in <30s. + timeout-minutes: 5 if: always() steps: - name: Download test results