Skip to content

Commit

Permalink
Add timeout for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
thevindu-w authored and Ishad-M-I-M committed May 17, 2024
1 parent 7abe3f3 commit 582ca89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
unit-tests:
runs-on: ubuntu-latest
timeout-minutes: 15
if: ${{!contains(github.event.pull_request.labels.*.name, 'Skip unit tests')}}

steps:
Expand Down Expand Up @@ -44,6 +45,7 @@ jobs:

docker-integration-tests:
runs-on: ubuntu-latest
timeout-minutes: 10
if: ${{!contains(github.event.pull_request.labels.*.name, 'Skip docker integration')}}

steps:
Expand All @@ -62,6 +64,7 @@ jobs:
k8s-integration-tests:
runs-on: ubuntu-latest
timeout-minutes: 15
if: ${{!contains(github.event.pull_request.labels.*.name, 'Skip k8s integration')}}

steps:
Expand Down

0 comments on commit 582ca89

Please sign in to comment.