File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1010
1111permissions : read-all
1212
13+ env :
14+ OV_BRANCH : ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}
15+
1316jobs :
1417 history :
1518 runs-on : ubuntu-22.04
1619 steps :
1720 - name : checkout master branch
1821 uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
1922 with :
20- ref : master
23+ ref : ${{ env.OV_BRANCH}}
2124 fetch-depth : 0
2225 - name : delete temporary branch
2326 run : git branch -D temporary-ci-branch | echo 1
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ concurrency:
1414
1515env :
1616 PYTHON_VERSION : ' 3.11'
17+ OV_BRANCH : ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}
1718
1819permissions : read-all
1920
5859 repository : ' openvinotoolkit/openvino'
5960 path : ${{ env.OPENVINO_REPO }}
6061 submodules : ' true'
61- ref : ' master '
62+ ref : ${{ env.OV_BRANCH}}
6263
6364 - name : Clone OpenVINO Contrib
6465 uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
@@ -240,7 +241,7 @@ jobs:
240241 install_build_dependencies.sh
241242 sparse-checkout-cone-mode : false
242243 repository : ' openvinotoolkit/openvino'
243- ref : ' master '
244+ ref : ${{ env.OV_BRANCH}}
244245 path : ${{ env.OPENVINO_REPO }}
245246
246247 - name : Install Prerequisites
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ concurrency:
1414
1515env :
1616 PYTHON_VERSION : ' 3.11'
17+ OV_BRANCH : ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}
1718
1819permissions : read-all
1920
4849 repository : ' openvinotoolkit/openvino'
4950 path : ' openvino'
5051 submodules : ' true'
51- ref : ' master '
52+ ref : ${{ env.OV_BRANCH}}
5253
5354 - name : Clone OpenVINO Contrib
5455 uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ concurrency:
1515
1616env :
1717 PYTHON_VERSION : ' 3.11'
18+ OV_BRANCH : ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}
1819
1920permissions : read-all
2021
5051 repository : ' openvinotoolkit/openvino'
5152 path : ${{ env.OPENVINO_REPO }}
5253 submodules : ' true'
53- ref : ' master '
54+ ref : ${{ env.OV_BRANCH}}
5455
5556 - name : Clone OpenVINO Contrib
5657 uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
You can’t perform that action at this time.
0 commit comments