Browse code

gha: Set timeout-minutes on build-dind and labeler jobs

These were the only two jobs running directly via `runs-on:` that did
not have a `timeout-minutes` guardrail. Add 120 minutes as a starting
point to prevent runaway jobs, matching the existing convention used
elsewhere in the workflows. Tuning each job's timeout to its usual
runtime is left as a follow-up, as suggested in the issue.

Signed-off-by: Takumi Akasaka <takumiakasaka1231@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Takumi Akasaka authored on 2026/06/10 11:48:29
Showing 2 changed files
... ...
@@ -158,6 +158,7 @@ jobs:
158 158
 
159 159
   build-dind:
160 160
     runs-on: ubuntu-24.04
161
+    timeout-minutes: 120 # guardrails timeout for the whole job
161 162
     if: ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'ci/validate-only') }}
162 163
     needs:
163 164
       - validate-dco
... ...
@@ -16,6 +16,7 @@ jobs:
16 16
       contents: read
17 17
       pull-requests: write
18 18
     runs-on: ubuntu-latest
19
+    timeout-minutes: 5
19 20
     steps:
20 21
       -
21 22
         name: Labels