Skip to content

Commit 6722e78

Browse files
Ensure CI jobs don't run for longer than 15 minutes (#11496)
* fix: prevent long unwanted runs! * add timeout-minutes to all the workflows --------- Co-authored-by: Robin Malfait <[email protected]>
1 parent e4af07f commit 6722e78

File tree

5 files changed

+13
-0
lines changed

5 files changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ env:
1717
jobs:
1818
build:
1919
runs-on: ubuntu-latest
20+
timeout-minutes: 15
2021

2122
strategy:
2223
matrix:

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ env:
1717
jobs:
1818
test:
1919
runs-on: ubuntu-latest
20+
timeout-minutes: 15
2021

2122
strategy:
2223
matrix:

.github/workflows/prepare-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
contents: write # for softprops/action-gh-release to create GitHub release
1919

2020
runs-on: macos-11
21+
timeout-minutes: 15
2122

2223
strategy:
2324
matrix:

.github/workflows/release-insiders.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626

2727
name: Build ${{ matrix.target }} (OXIDE)
2828
runs-on: ${{ matrix.os }}
29+
timeout-minutes: 15
2930
steps:
3031
- uses: actions/checkout@v3
3132

@@ -96,6 +97,7 @@ jobs:
9697
build-apple-silicon:
9798
name: Build Apple Silicon (OXIDE)
9899
runs-on: macos-latest
100+
timeout-minutes: 15
99101
steps:
100102
- uses: actions/checkout@v3
101103

@@ -186,6 +188,7 @@ jobs:
186188

187189
name: Build ${{ matrix.target }} (OXIDE)
188190
runs-on: ubuntu-latest
191+
timeout-minutes: 15
189192
container:
190193
image: ${{ matrix.image }}
191194

@@ -262,6 +265,7 @@ jobs:
262265
263266
release:
264267
runs-on: ubuntu-latest
268+
timeout-minutes: 15
265269
name: Build and release
266270
needs:
267271
- build
@@ -353,6 +357,7 @@ jobs:
353357

354358
tailwind-release:
355359
runs-on: ubuntu-latest
360+
timeout-minutes: 15
356361
name: Build and release Tailwind CSS
357362

358363
needs:

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828

2929
name: Build ${{ matrix.target }} (OXIDE)
3030
runs-on: ${{ matrix.os }}
31+
timeout-minutes: 15
3132
steps:
3233
- uses: actions/checkout@v3
3334

@@ -98,6 +99,7 @@ jobs:
9899
build-apple-silicon:
99100
name: Build Apple Silicon (OXIDE)
100101
runs-on: macos-latest
102+
timeout-minutes: 15
101103
steps:
102104
- uses: actions/checkout@v3
103105

@@ -188,6 +190,7 @@ jobs:
188190

189191
name: Build ${{ matrix.target }} (OXIDE)
190192
runs-on: ubuntu-latest
193+
timeout-minutes: 15
191194
container:
192195
image: ${{ matrix.image }}
193196

@@ -264,6 +267,7 @@ jobs:
264267
265268
release:
266269
runs-on: ubuntu-latest
270+
timeout-minutes: 15
267271
name: Build and release
268272
needs:
269273
- build
@@ -355,6 +359,7 @@ jobs:
355359

356360
tailwind-release:
357361
runs-on: ubuntu-latest
362+
timeout-minutes: 15
358363
name: Build and release Tailwind CSS
359364

360365
needs:

0 commit comments

Comments
 (0)