Browse code

gha: lower timeouts on "build" and "merge" steps

We had some runs timeout after 120 minutes; expected duration is much
lower than that, so let's lower the timeout to make actions fail faster.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2025/06/12 17:20:25
Showing 1 changed files
... ...
@@ -91,7 +91,7 @@ jobs:
91 91
 
92 92
   build:
93 93
     runs-on: ubuntu-24.04
94
-    timeout-minutes: 120 # guardrails timeout for the whole job
94
+    timeout-minutes: 20 # guardrails timeout for the whole job
95 95
     needs:
96 96
       - validate-dco
97 97
       - prepare
... ...
@@ -167,7 +167,7 @@ jobs:
167 167
 
168 168
   merge:
169 169
     runs-on: ubuntu-24.04
170
-    timeout-minutes: 120 # guardrails timeout for the whole job
170
+    timeout-minutes: 40 # guardrails timeout for the whole job
171 171
     needs:
172 172
       - build
173 173
     if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && github.event_name != 'pull_request' && github.repository == 'moby/moby'