Skip to content

Commit 5ce6157

Browse files
authored
[GHA] Set checkout timeout (openvinotoolkit#27995)
### Details: - Set checkout timeouts because the git clone command could freeze. ### Tickets: - *156678*
1 parent b0a8c14 commit 5ce6157

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+108
-0
lines changed

.github/workflows/android_arm64.yml

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
steps:
2626
- name: checkout action
2727
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+
timeout-minutes: 15
2829
with:
2930
sparse-checkout: .github/actions/smart-ci
3031

@@ -54,6 +55,7 @@ jobs:
5455
steps:
5556
- name: Checkout
5657
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
58+
timeout-minutes: 15
5759

5860
- uses: ./.github/actions/handle_docker
5961
id: handle_docker
@@ -99,6 +101,7 @@ jobs:
99101
steps:
100102
- name: Clone OpenVINO
101103
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
104+
timeout-minutes: 15
102105
with:
103106
path: 'openvino'
104107

@@ -117,6 +120,7 @@ jobs:
117120
118121
- name: Clone vcpkg
119122
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
123+
timeout-minutes: 15
120124
with:
121125
repository: 'microsoft/vcpkg'
122126
ref: ${{ env.VCPKG_VERSION }}

.github/workflows/android_x64.yml

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
steps:
2929
- name: checkout action
3030
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
timeout-minutes: 15
3132
with:
3233
sparse-checkout: .github/actions/smart-ci
3334

@@ -57,6 +58,7 @@ jobs:
5758
steps:
5859
- name: Checkout
5960
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
61+
timeout-minutes: 15
6062

6163
- uses: ./.github/actions/handle_docker
6264
id: handle_docker
@@ -98,12 +100,14 @@ jobs:
98100
steps:
99101
- name: Clone OpenVINO
100102
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
103+
timeout-minutes: 15
101104
with:
102105
path: 'openvino'
103106
submodules: 'true'
104107

105108
- name: Clone OpenVINO GenAI
106109
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
110+
timeout-minutes: 15
107111
with:
108112
repository: 'openvinotoolkit/openvino.genai'
109113
path: ${{ env.OPENVINO_GENAI_REPO }}

.github/workflows/build_doc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
steps:
2020
- name: Clone OpenVINO
2121
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
timeout-minutes: 15
2223
with:
2324
submodules: 'true'
2425
lfs: 'true'

.github/workflows/check_pr_commits.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
steps:
1111
- name: Clone OpenVINO
1212
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+
timeout-minutes: 15
1314

1415
- name: Install dependencies
1516
run: python3 -m pip install -r ./.github/github_org_control/requirements.txt

.github/workflows/cleanup_caches.yml

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
steps:
5050
- name: Checkout cach action
5151
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
52+
timeout-minutes: 15
5253
with:
5354
sparse-checkout: .github/actions/cache
5455

@@ -71,6 +72,7 @@ jobs:
7172
steps:
7273
- name: Checkout cach action
7374
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
75+
timeout-minutes: 15
7476
with:
7577
sparse-checkout: .github/actions/cache
7678

.github/workflows/code_snippets.yml

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
steps:
3030
- name: Clone OpenVINO
3131
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32+
timeout-minutes: 15
3233
with:
3334
submodules: 'true'
3435

.github/workflows/code_style.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
pull-requests: write
1616
steps:
1717
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
timeout-minutes: 15
1819
with:
1920
submodules: 'true'
2021

@@ -75,6 +76,7 @@ jobs:
7576
pull-requests: write
7677
steps:
7778
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
79+
timeout-minutes: 15
7880
with:
7981
submodules: 'true'
8082

@@ -107,6 +109,7 @@ jobs:
107109
if: ${{ github.repository_owner == 'openvinotoolkit' }}
108110
steps:
109111
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
112+
timeout-minutes: 15
110113
with:
111114
submodules: 'true'
112115

.github/workflows/coverage.yml

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333

3434
- name: Clone OpenVINO
3535
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36+
timeout-minutes: 15
3637
with:
3738
submodules: 'true'
3839

.github/workflows/coverity.yml

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
steps:
3636
- name: checkout action
3737
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
38+
timeout-minutes: 15
3839
with:
3940
sparse-checkout: .github/actions/smart-ci
4041

@@ -63,6 +64,7 @@ jobs:
6364
steps:
6465
- name: Checkout
6566
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
67+
timeout-minutes: 15
6668

6769
- uses: ./.github/actions/handle_docker
6870
id: handle_docker
@@ -98,13 +100,15 @@ jobs:
98100
steps:
99101
- name: Clone OpenVINO
100102
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
103+
timeout-minutes: 15
101104
with:
102105
path: ${{ env.OPENVINO_REPO }}
103106
submodules: 'true'
104107
ref: ${{ inputs.openvinoRef }}
105108

106109
- name: Clone OpenVINO Contrib
107110
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
111+
timeout-minutes: 15
108112
with:
109113
repository: 'openvinotoolkit/openvino_contrib'
110114
path: ${{ env.OPENVINO_CONTRIB_REPO }}

.github/workflows/debian_10_arm.yml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
steps:
2626
- name: checkout action
2727
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+
timeout-minutes: 15
2829
with:
2930
sparse-checkout: .github/actions/smart-ci
3031

@@ -59,6 +60,7 @@ jobs:
5960
steps:
6061
- name: Checkout
6162
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
63+
timeout-minutes: 15
6264

6365
- uses: ./.github/actions/handle_docker
6466
id: handle_docker

.github/workflows/dependency_review.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
steps:
1111
- name: Clone OpenVINO
1212
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+
timeout-minutes: 15
1314

1415
- name: Dependency Review
1516
uses: actions/dependency-review-action@72eb03d02c7872a771aacd928f3123ac62ad6d3a # v4.3.3

.github/workflows/dev_cpu_linux_snippets_libxsmm.yml

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
steps:
3434
- name: checkout action
3535
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36+
timeout-minutes: 15
3637
with:
3738
sparse-checkout: .github/actions/smart-ci
3839

@@ -66,6 +67,7 @@ jobs:
6667
steps:
6768
- name: Checkout
6869
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
70+
timeout-minutes: 15
6971

7072
- uses: ./.github/actions/handle_docker
7173
id: handle_docker
@@ -110,6 +112,7 @@ jobs:
110112
steps:
111113
- name: Clone OpenVINO
112114
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
115+
timeout-minutes: 15
113116
with:
114117
path: ${{ env.OPENVINO_REPO }}
115118
submodules: 'true'
@@ -296,6 +299,7 @@ jobs:
296299
297300
- name: Fetch setup_python action
298301
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
302+
timeout-minutes: 15
299303
with:
300304
sparse-checkout: |
301305
.github/actions/setup_python/action.yml

.github/workflows/export_workflow_metrics.yml

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
steps:
4141
- name: Checkout
4242
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43+
timeout-minutes: 15
4344
with:
4445
sparse-checkout: '.github'
4546

.github/workflows/fedora_29.yml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
steps:
2626
- name: checkout action
2727
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+
timeout-minutes: 15
2829
with:
2930
sparse-checkout: .github/actions/smart-ci
3031

@@ -59,6 +60,7 @@ jobs:
5960
steps:
6061
- name: Checkout
6162
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
63+
timeout-minutes: 15
6264

6365
- uses: ./.github/actions/handle_docker
6466
id: handle_docker

.github/workflows/files_size.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
if: ${{ github.repository_owner == 'openvinotoolkit' }}
1414
steps:
1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16+
timeout-minutes: 15
1617

1718
- name: git ls-tree
1819
run: git ls-tree -r -t -l --full-name HEAD | sort -n -r -k 4

.github/workflows/job_build_linux.yml

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ jobs:
9292
steps:
9393
- name: Clone OpenVINO
9494
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
95+
timeout-minutes: 15
9596
with:
9697
path: ${{ env.OPENVINO_REPO }}
9798
submodules: 'true'
@@ -107,6 +108,7 @@ jobs:
107108
108109
- name: Clone OpenVINO Contrib
109110
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
111+
timeout-minutes: 15
110112
with:
111113
repository: 'openvinotoolkit/openvino_contrib'
112114
path: ${{ env.OPENVINO_CONTRIB_REPO }}

.github/workflows/job_build_windows.yml

+2
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,14 @@ jobs:
6060
steps:
6161
- name: Clone OpenVINO
6262
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
63+
timeout-minutes: 15
6364
with:
6465
path: 'openvino'
6566
submodules: 'true'
6667

6768
- name: Clone OpenVINO Contrib
6869
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
70+
timeout-minutes: 15
6971
with:
7072
repository: 'openvinotoolkit/openvino_contrib'
7173
path: 'openvino_contrib'

.github/workflows/job_cpu_functional_tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
7373
- name: Fetch setup_python action
7474
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
75+
timeout-minutes: 15
7576
with:
7677
sparse-checkout: |
7778
.github/actions/setup_python/action.yml

.github/workflows/job_jax_models_tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565

6666
- name: Fetch setup_python action
6767
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
68+
timeout-minutes: 15
6869
with:
6970
sparse-checkout: |
7071
.github/actions/setup_python/action.yml

.github/workflows/job_onnx_runtime.yml

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
6565
- name: Fetch ONNX runtime version and skip tests list
6666
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
67+
timeout-minutes: 15
6768
with:
6869
sparse-checkout: |
6970
src/frontends/onnx/tests/ci_utils/onnxruntime
@@ -78,6 +79,7 @@ jobs:
7879

7980
- name: Clone ONNX Runtime
8081
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
82+
timeout-minutes: 15
8183
with:
8284
repository: 'microsoft/onnxruntime'
8385
path: ${{ env.ONNX_RUNTIME_REPO }}

.github/workflows/job_openvino_js.yml

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
steps:
3434
- name: Fetch OpenVINO JS sources
3535
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36+
timeout-minutes: 15
3637
with:
3738
sparse-checkout: |
3839
src/bindings/js

.github/workflows/job_python_api_tests.yml

+2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262

6363
- name: Fetch setup_python and install wheels actions
6464
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
65+
timeout-minutes: 15
6566
with:
6667
sparse-checkout: |
6768
.github/actions/setup_python/action.yml
@@ -115,6 +116,7 @@ jobs:
115116
- name: Clone API snippets
116117
if: runner.os != 'macOS'
117118
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
119+
timeout-minutes: 15
118120
with:
119121
sparse-checkout: docs/articles_en/assets/snippets
120122
path: ${{ env.OPENVINO_REPO }}

.github/workflows/job_python_unit_tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777

7878
- name: Fetch setup_python and install wheels actions
7979
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
80+
timeout-minutes: 15
8081
with:
8182
sparse-checkout: |
8283
.github/actions/setup_python/action.yml

.github/workflows/job_pytorch_layer_tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686

8787
- name: Fetch setup_python and install wheels actions
8888
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
89+
timeout-minutes: 15
8990
with:
9091
sparse-checkout: |
9192
.github/actions/setup_python/action.yml

.github/workflows/job_pytorch_models_tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878

7979
- name: Fetch setup_python action
8080
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
81+
timeout-minutes: 15
8182
with:
8283
sparse-checkout: |
8384
.github/actions/setup_python/action.yml

.github/workflows/job_samples_tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868

6969
- name: Fetch setup_python and install wheels actions
7070
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
71+
timeout-minutes: 15
7172
with:
7273
sparse-checkout: |
7374
.github/actions/setup_python/action.yml

.github/workflows/job_tensorflow_layer_tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686

8787
- name: Fetch setup_python and install wheels actions
8888
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
89+
timeout-minutes: 15
8990
with:
9091
sparse-checkout: |
9192
.github/actions/setup_python/action.yml

.github/workflows/job_tensorflow_models_tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070

7171
- name: Fetch setup_python action
7272
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
73+
timeout-minutes: 15
7374
with:
7475
sparse-checkout: |
7576
.github/actions/setup_python/action.yml

0 commit comments

Comments
 (0)