Skip to content

Commit c1b979e

Browse files
committed
ci: adds timeouts to jobs.
1 parent 46b7c15 commit c1b979e

File tree

9 files changed

+9
-0
lines changed

9 files changed

+9
-0
lines changed

.github/workflows/cicd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [ push ]
44
jobs:
55
setup:
66
runs-on: ubuntu-latest
7+
timeout-minutes: 5
78
outputs:
89
effective-branch: ${{ steps.git-meta.outputs.EFFECTIVE_BRANCH }}
910
release: ${{ startsWith(github.ref, 'refs/tags/') }}

.github/workflows/cut-release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
outputs:
1111
version: ${{ steps.since.outputs.CURRENT_VERSION }}
1212
runs-on: ubuntu-latest
13+
timeout-minutes: 5
1314
env:
1415
SINCE_VERSION: "0.15.5"
1516
steps:

.github/workflows/distroless.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ on:
1919
jobs:
2020
build-push:
2121
runs-on: ubuntu-latest
22+
timeout-minutes: 10
2223
env:
2324
CONTAINER_BUILDER: "buildx"
2425
steps:

.github/workflows/docs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
jobs:
88
deploy:
99
runs-on: ubuntu-latest
10+
timeout-minutes: 5
1011
permissions:
1112
contents: write
1213
steps:

.github/workflows/examples.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on: [ push ]
33
jobs:
44
build:
55
runs-on: ubuntu-latest
6+
timeout-minutes: 10
67
permissions:
78
checks: write
89
contents: write

.github/workflows/integ-test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
jobs:
66
test:
77
runs-on: ubuntu-latest
8+
timeout-minutes: 10
89
permissions:
910
checks: write
1011
env:

.github/workflows/maven-publish.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
jobs:
1111
publish:
1212
runs-on: ubuntu-latest
13+
timeout-minutes: 10
1314
permissions:
1415
contents: write
1516
env:

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222
jobs:
2323
release:
2424
runs-on: ubuntu-latest
25+
timeout-minutes: 15
2526
permissions:
2627
contents: write
2728
env:

.github/workflows/validate.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
jobs:
66
test:
77
runs-on: ubuntu-latest
8+
timeout-minutes: 15
89
strategy:
910
matrix:
1011
java: [ '11', '17' ]

0 commit comments

Comments
 (0)