Skip to content

Commit 8fb47cc

Browse files
authored
chore: add timeout-minutes for ci check (#10225)
1 parent fda9be6 commit 8fb47cc

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/cicd-pull-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
needs: trigger-mode
7878
if: ${{ contains(needs.trigger-mode.outputs.trigger-mode, '[test]') }}
7979
runs-on: ubuntu-latest
80+
timeout-minutes: ${{ matrix.ops == 'test' && 15 || matrix.ops == 'lint' && 6 || matrix.ops == 'manifests' && 5 || 2 }}
8081
strategy:
8182
fail-fast: true
8283
matrix:

.github/workflows/cicd-push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ jobs:
102102
needs: trigger-mode
103103
if: contains(needs.trigger-mode.outputs.trigger-mode, '[test]')
104104
runs-on: ubuntu-latest
105+
timeout-minutes: ${{ matrix.ops == 'test' && 15 || matrix.ops == 'lint' && 6 || matrix.ops == 'manifests' && 5 || 2 }}
105106
strategy:
106107
fail-fast: true
107108
matrix:

0 commit comments

Comments
 (0)