From bb1fb0d477d1720928fac26842098057fb16be93 Mon Sep 17 00:00:00 2001 From: Ankitsinghsisodya Date: Wed, 1 Apr 2026 12:57:18 +0530 Subject: [PATCH] ci: add timeout-minutes to scheduled/update workflow jobs Fixes #3546 Scheduled workflows had no timeout-minutes, meaning a hung job would block a runner indefinitely. Follows the pattern from #3535 which added timeouts to functions.yaml. - test-podman-next: 60m (full cluster integration test) - update-builder: 30m - update-python-platform: 30m - update-quarkus-platform: 30m - update-springboot-platform: 30m - update-ca-bundle: 15m --- .github/workflows/test-podman-next.yaml | 1 + .github/workflows/update-builder.yaml | 1 + .github/workflows/update-ca-bundle.yaml | 1 + .github/workflows/update-python-platform.yaml | 1 + .github/workflows/update-quarkus-platform.yaml | 1 + .github/workflows/update-springboot-platform.yaml | 1 + 6 files changed, 6 insertions(+) diff --git a/.github/workflows/test-podman-next.yaml b/.github/workflows/test-podman-next.yaml index 5eccb6ad1d..e7c94bfb50 100644 --- a/.github/workflows/test-podman-next.yaml +++ b/.github/workflows/test-podman-next.yaml @@ -11,6 +11,7 @@ jobs: test: name: Podman Next Test runs-on: ubuntu-latest + timeout-minutes: 60 steps: - name: Remove Unnecessary Software run: | diff --git a/.github/workflows/update-builder.yaml b/.github/workflows/update-builder.yaml index 42ae0def2e..7604439860 100644 --- a/.github/workflows/update-builder.yaml +++ b/.github/workflows/update-builder.yaml @@ -10,6 +10,7 @@ jobs: contents: read packages: write runs-on: "ubuntu-latest" + timeout-minutes: 30 steps: - uses: actions/checkout@v4 - uses: knative/actions/setup-go@main diff --git a/.github/workflows/update-ca-bundle.yaml b/.github/workflows/update-ca-bundle.yaml index da58c0ac0f..6d87f03015 100644 --- a/.github/workflows/update-ca-bundle.yaml +++ b/.github/workflows/update-ca-bundle.yaml @@ -12,6 +12,7 @@ jobs: update: name: Update CA bundle runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/.github/workflows/update-python-platform.yaml b/.github/workflows/update-python-platform.yaml index aff2e650d7..8053440f97 100644 --- a/.github/workflows/update-python-platform.yaml +++ b/.github/workflows/update-python-platform.yaml @@ -13,6 +13,7 @@ jobs: update: name: Update func-python version runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/update-quarkus-platform.yaml b/.github/workflows/update-quarkus-platform.yaml index 4053707c10..3199e6037f 100644 --- a/.github/workflows/update-quarkus-platform.yaml +++ b/.github/workflows/update-quarkus-platform.yaml @@ -12,6 +12,7 @@ jobs: update: name: Update Quarkus Platform runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v4 - uses: knative/actions/setup-go@main diff --git a/.github/workflows/update-springboot-platform.yaml b/.github/workflows/update-springboot-platform.yaml index d4cd64dfb9..644c247ff4 100644 --- a/.github/workflows/update-springboot-platform.yaml +++ b/.github/workflows/update-springboot-platform.yaml @@ -12,6 +12,7 @@ jobs: update: name: Update Spring Boot Platform runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v4 - uses: knative/actions/setup-go@main