Skip to content

Commit ac43650

Browse files
god-of-javascriptRobinMalfait
authored andcommitted
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 <malfait.robin@gmail.com>
1 parent 24c6a99 commit ac43650

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
@@ -18,6 +18,7 @@ env:
1818
jobs:
1919
build:
2020
runs-on: ubuntu-latest
21+
timeout-minutes: 15
2122

2223
strategy:
2324
matrix:

.github/workflows/integration-tests-oxide.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
jobs:
1919
test:
2020
runs-on: ubuntu-latest
21+
timeout-minutes: 15
2122

2223
strategy:
2324
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-oxide.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

@@ -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_oxide_release:
357361
runs-on: ubuntu-latest
362+
timeout-minutes: 15
358363
name: Build and release Tailwind CSS
359364

360365
needs:

.github/workflows/release-oxide.yml

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

2525
name: Build ${{ matrix.target }} (OXIDE)
2626
runs-on: ${{ matrix.os }}
27+
timeout-minutes: 15
2728
steps:
2829
- uses: actions/checkout@v3
2930

@@ -75,6 +76,7 @@ jobs:
7576
oxide-build-apple-silicon:
7677
name: Build Apple Silicon (OXIDE)
7778
runs-on: macos-latest
79+
timeout-minutes: 15
7880
steps:
7981
- uses: actions/checkout@v3
8082

@@ -156,6 +158,7 @@ jobs:
156158

157159
name: Build ${{ matrix.target }} (OXIDE)
158160
runs-on: ubuntu-latest
161+
timeout-minutes: 15
159162
container:
160163
image: ${{ matrix.image }}
161164

@@ -213,6 +216,7 @@ jobs:
213216
214217
oxide-release:
215218
runs-on: ubuntu-latest
219+
timeout-minutes: 15
216220
name: Build and release
217221
needs:
218222
- oxide-build
@@ -285,6 +289,7 @@ jobs:
285289

286290
tailwind_oxide_release:
287291
runs-on: ubuntu-latest
292+
timeout-minutes: 15
288293
name: Build and release Tailwind CSS
289294

290295
needs:

0 commit comments

Comments
 (0)