Skip to content

Commit 224106c

Browse files
authored
chore(ci): add stricter timeouts to jobs (#2290)
1 parent a290816 commit 224106c

File tree

6 files changed

+8
-0
lines changed

6 files changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
node-version:
6262
- ${{ inputs.node-version }}
6363
runs-on: ${{ matrix.system }}
64+
timeout-minutes: 10
6465
outputs:
6566
head-sha: ${{ steps.set-SHAs.outputs.head }}
6667
base-sha: ${{ steps.set-SHAs.outputs.base }}

.github/workflows/compare-results.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
compare:
3939
name: Compare compiled assets
4040
runs-on: ubuntu-latest
41+
timeout-minutes: 10
4142
needs: [fetch-build-artifacts]
4243
outputs:
4344
has-changed: ${{ steps.compare.outputs.has-changed }}
@@ -102,6 +103,7 @@ jobs:
102103
- ${{ inputs.head-sha }}
103104
- ${{ inputs.base-sha }}
104105
runs-on: ubuntu-latest
106+
timeout-minutes: 10
105107
steps:
106108
- name: Set the cache key for builds
107109
id: derive-key

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
lint:
4343
name: Lint
4444
runs-on: ubuntu-latest
45+
timeout-minutes: 5
4546
steps:
4647
# install but don't build - we're linting pre-compiled assets
4748
- name: Check out code

.github/workflows/production.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353

5454
todo_to_issue:
5555
runs-on: ubuntu-latest
56+
timeout-minutes: 5
5657
steps:
5758
- name: Check out code
5859
uses: actions/checkout@v4
@@ -63,6 +64,7 @@ jobs:
6364
autoupdate:
6465
name: Auto-update pull requests
6566
runs-on: ubuntu-latest
67+
timeout-minutes: 5
6668
permissions:
6769
contents: read
6870
pull-requests: write

.github/workflows/publish-site.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
publish_site:
3939
name: Publish
4040
runs-on: ubuntu-latest
41+
timeout-minutes: 10
4142
steps:
4243
## --- SETUP --- ##
4344
- name: Check out code

.github/workflows/vrt.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
vrt:
2323
name: Chromatic
2424
runs-on: ubuntu-latest
25+
timeout-minutes: 20
2526
outputs:
2627
storybook-url: ${{ steps.chromatic.outputs.storybookUrl }}
2728

0 commit comments

Comments
 (0)