Skip to content

Commit 12296b8

Browse files
committed
add timeouts to gh actions
1 parent 5999c8f commit 12296b8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/deploy-dev.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
jobs:
1111
test:
1212
runs-on: ubuntu-latest
13+
timeout-minutes: 15
1314
name: Run Unit Tests
1415
steps:
1516
- uses: actions/checkout@v4
@@ -35,6 +36,7 @@ jobs:
3536

3637
build:
3738
runs-on: ubuntu-24.04-arm
39+
timeout-minutes: 15
3840
name: Build Application
3941
steps:
4042
- uses: actions/checkout@v4
@@ -74,6 +76,7 @@ jobs:
7476
7577
deploy-test-dev:
7678
runs-on: ubuntu-latest
79+
timeout-minutes: 30
7780
permissions:
7881
id-token: write
7982
contents: read

.github/workflows/deploy-prod.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12+
timeout-minutes: 15
1213
name: Run Unit Tests
1314
steps:
1415
- uses: actions/checkout@v4
@@ -34,6 +35,7 @@ jobs:
3435

3536
build:
3637
runs-on: ubuntu-24.04-arm
38+
timeout-minutes: 15
3739
name: Build Application
3840
steps:
3941
- uses: actions/checkout@v4
@@ -73,6 +75,7 @@ jobs:
7375
7476
deploy-prod:
7577
runs-on: ubuntu-latest
78+
timeout-minutes: 30
7679
name: Deploy to Prod and Run Health Check
7780
concurrency:
7881
group: ${{ github.event.repository.name }}-prod

0 commit comments

Comments
 (0)