Skip to content

Commit 6221401

Browse files
committed
Introduce time limits on actions
1 parent eaf9aa8 commit 6221401

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/build-module-base.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919

2020
build:
2121
runs-on: ubuntu-latest
22+
timeout-minutes: 10
2223

2324
steps:
2425
- name: Checkout

.github/workflows/ci-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434

3535
build-windows-maui:
3636
runs-on: windows-latest
37+
timeout-minutes: 20
3738

3839
steps:
3940
- name: Checkout
@@ -69,6 +70,7 @@ jobs:
6970
installer-windows-maui:
7071
runs-on: windows-latest
7172
needs: build-windows-maui
73+
timeout-minutes: 10
7274

7375
steps:
7476
- name: Checkout
@@ -101,6 +103,7 @@ jobs:
101103

102104
build-linux-web-containers:
103105
runs-on: ubuntu-latest
106+
timeout-minutes: 10
104107

105108
steps:
106109
- name: Checkout
@@ -149,6 +152,7 @@ jobs:
149152
150153
build-linux-photino:
151154
runs-on: ubuntu-latest
155+
timeout-minutes: 10
152156

153157
steps:
154158
- name: Checkout

.github/workflows/ci-tag.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
# Pre-job to find the latest tag
1212
get-latest-tag:
1313
runs-on: ubuntu-latest
14+
timeout-minutes: 2
1415
outputs:
1516
latest-tag: ${{ steps.latest-tag.outputs.tag }}
1617
steps:
@@ -29,6 +30,7 @@ jobs:
2930
# Pre-job to find the latest RC tag
3031
get-latest-rc-tag:
3132
runs-on: ubuntu-latest
33+
timeout-minutes: 2
3234
outputs:
3335
latest-rc: ${{ steps.latest-rc.outputs.tag }}
3436
steps:

0 commit comments

Comments
 (0)