Skip to content

Commit 2038932

Browse files
committed
chore: Set timeouts for jobs
1 parent 978e52a commit 2038932

File tree

9 files changed

+16
-0
lines changed

9 files changed

+16
-0
lines changed

.github/workflows/cdk-checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
check_time_server:
88
name: Check Python-based Time Server
99
runs-on: ubuntu-latest
10+
timeout-minutes: 15
1011
steps:
1112
- uses: actions/checkout@v4
1213

@@ -40,6 +41,7 @@ jobs:
4041
check_weather_alerts_server:
4142
name: Check Typescript-based Weather Alerts Server
4243
runs-on: ubuntu-latest
44+
timeout-minutes: 15
4345
steps:
4446
- uses: actions/checkout@v4
4547

.github/workflows/check-uv-lock.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
jobs:
1414
check-lock:
1515
runs-on: ubuntu-latest
16+
timeout-minutes: 15
1617
steps:
1718
- uses: actions/checkout@v4
1819

.github/workflows/integ-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
integ_tests:
1212
name: Run Integration Tests
1313
runs-on: ubuntu-latest
14+
timeout-minutes: 30
1415
permissions:
1516
id-token: write
1617
contents: read

.github/workflows/lint-pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
semanticpr:
1212
name: Semantic Pull Request
1313
runs-on: ubuntu-latest
14+
timeout-minutes: 15
1415
steps:
1516
- uses: amannn/action-semantic-pull-request@v5
1617
env:

.github/workflows/pull-request-integ-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ jobs:
1212
id-token: write
1313
contents: read
1414
secrets: inherit
15+
timeout-minutes: 30
1516
uses: ./.github/workflows/integ-tests.yml

.github/workflows/python-checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
check_python:
88
name: Check Python library
99
runs-on: ubuntu-latest
10+
timeout-minutes: 15
1011
steps:
1112
- uses: actions/checkout@v4
1213

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
determine_release:
1010
name: "Determine if release is needed"
1111
runs-on: ubuntu-latest
12+
timeout-minutes: 15
1213
outputs:
1314
pending_version_number: ${{ steps.versiondetails.outputs.pendingversion }}
1415
pending_version_available: ${{ steps.versiondetails.outputs.pendingversionavailable }}
@@ -90,6 +91,7 @@ jobs:
9091
name: "Run unit tests"
9192
needs: determine_release
9293
if: needs.determine_release.outputs.pending_version_available == 'true'
94+
timeout-minutes: 15
9395
uses: ./.github/workflows/unit-tests.yml
9496

9597
run_integration_tests:
@@ -100,13 +102,15 @@ jobs:
100102
id-token: write
101103
contents: read
102104
secrets: inherit
105+
timeout-minutes: 30
103106
uses: ./.github/workflows/integ-tests.yml
104107

105108
release_new_version:
106109
name: "Release the new version"
107110
needs: [determine_release, run_unit_tests, run_integration_tests]
108111
if: needs.determine_release.outputs.pending_version_available == 'true'
109112
runs-on: ubuntu-latest
113+
timeout-minutes: 15
110114
permissions:
111115
contents: write
112116
id-token: write

.github/workflows/typescript-checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
check_typescript:
88
name: Check Typescript library
99
runs-on: ubuntu-latest
10+
timeout-minutes: 15
1011
steps:
1112
- uses: actions/checkout@v4
1213

@@ -36,6 +37,7 @@ jobs:
3637
check_typescript_chatbot:
3738
name: Check Typescript chatbot
3839
runs-on: ubuntu-latest
40+
timeout-minutes: 15
3941
steps:
4042
- uses: actions/checkout@v4
4143

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ on:
99

1010
jobs:
1111
python:
12+
timeout-minutes: 15
1213
uses: ./.github/workflows/python-checks.yml
1314
typescript:
15+
timeout-minutes: 15
1416
uses: ./.github/workflows/typescript-checks.yml
1517
cdk:
18+
timeout-minutes: 15
1619
uses: ./.github/workflows/cdk-checks.yml

0 commit comments

Comments
 (0)