From 6b5690b6de120bb064308fb4a7bcf9e5f0fc9d5b Mon Sep 17 00:00:00 2001 From: Anish Sujanani Date: Thu, 17 Sep 2026 10:56:46 +0530 Subject: [PATCH] Add timeout-minutes to workflow jobs Sized from observed per-job durations of successful runs where available, otherwise from declared budgets in the job or from what the steps do. See the working notes for per-job reasoning. --- .github/workflows/draft-new-release.yml | 1 + .github/workflows/publish-new-release.yml | 1 + .github/workflows/test.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/draft-new-release.yml b/.github/workflows/draft-new-release.yml index 1aa067a82..9c9257068 100644 --- a/.github/workflows/draft-new-release.yml +++ b/.github/workflows/draft-new-release.yml @@ -13,6 +13,7 @@ jobs: if: startsWith(github.event.inputs.version, 'v') name: Draft a new release runs-on: ubuntu-latest + timeout-minutes: 5 permissions: contents: write pull-requests: write diff --git a/.github/workflows/publish-new-release.yml b/.github/workflows/publish-new-release.yml index 7983264d7..6f1f1768f 100644 --- a/.github/workflows/publish-new-release.yml +++ b/.github/workflows/publish-new-release.yml @@ -11,6 +11,7 @@ jobs: release: name: Publish new release runs-on: ubuntu-latest + timeout-minutes: 5 # only merged pull requests that begin with 'release/' or 'hotfix/' must trigger this job if: github.event.pull_request.merged == true && (contains(github.event.pull_request.head.ref, 'release/') || contains(github.event.pull_request.head.ref, 'hotfix/')) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f3a28682..a1ea3aa51 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,7 @@ on: jobs: Unit-Tests: runs-on: ubuntu-22.04 + timeout-minutes: 12 strategy: fail-fast: false max-parallel: 10