Skip to content

Commit d761b63

Browse files
authored
Fix: add timeouts for GitHub Workflows (#6881)
1 parent 67edc58 commit d761b63

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/code-scanning.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
analyze:
2121
name: Analyze
2222
runs-on: ubuntu-latest
23+
timeout-minutes: 30
2324
permissions:
2425
actions: read
2526
contents: read

.github/workflows/preparing-github-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
prepare:
1313
name: Prepare
1414
runs-on: ubuntu-latest
15+
timeout-minutes: 20
1516
steps:
1617
- uses: actions/checkout@v3
1718

.github/workflows/releasing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
if: github.repository == 'stylelint/stylelint' # Workaround. See https://github.com/changesets/action/issues/4
1818
name: Release
1919
runs-on: ubuntu-latest
20+
timeout-minutes: 20
2021
steps:
2122
- name: Checkout Repo
2223
uses: actions/checkout@v3

.github/workflows/testing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
test-coverage:
2525
name: Test on Node.js 18 and ubuntu-latest with coverage
2626
runs-on: ubuntu-latest
27+
timeout-minutes: 30
2728
steps:
2829
- name: Checkout
2930
uses: actions/checkout@v3

0 commit comments

Comments
 (0)