From 87e98e87888bd2089f25ca12dba0ac7a738eeea0 Mon Sep 17 00:00:00 2001 From: Andrey Senyaev Date: Sun, 24 Apr 2022 01:44:15 +0300 Subject: [PATCH] Fixed url for a fork --- .github/workflows/PR-3.4-U20.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PR-3.4-U20.yaml b/.github/workflows/PR-3.4-U20.yaml index 8c4f0e90e2..1c4cb91b36 100644 --- a/.github/workflows/PR-3.4-U20.yaml +++ b/.github/workflows/PR-3.4-U20.yaml @@ -10,6 +10,7 @@ env: OPENCV_TEST_DATA_PATH: '/opencv_extra/testdata' OPENCV_DOCKER_WORKDIR: '/__w/opencv/opencv' PR_AUTHOR: ${{ github.event.pull_request.user.login }} + PR_AUTHOR_FORK: ${{ github.event.pull_request.head.repo.full_name }} SOURCE_BRANCH_NAME: ${{ github.head_ref }} TARGET_BRANCH_NAME: ${{ github.base_ref }} ANT_HOME: '/usr/share/ant' @@ -43,7 +44,7 @@ jobs: git config --global --add safe.directory ${{ env.OPENCV_DOCKER_WORKDIR }} git config user.email "opencv.ci" git config user.name "opencv.ci" - git pull -v "https://github.com/${{ env.PR_AUTHOR }}/opencv" "${{ env.SOURCE_BRANCH_NAME }}" + git pull -v "https://github.com/${{ env.PR_AUTHOR_FORK }}" "${{ env.SOURCE_BRANCH_NAME }}" - name: Clone opencv_extra run: git clone --single-branch --branch ${{ env.TARGET_BRANCH_NAME }} --depth 1 https://github.com/opencv/opencv_extra.git /opencv_extra - name: Configure OpenCV @@ -154,7 +155,7 @@ jobs: git config --global --add safe.directory ${{ env.OPENCV_DOCKER_WORKDIR }} git config user.email "opencv.ci" git config user.name "opencv.ci" - git pull -v "https://github.com/${{ env.PR_AUTHOR }}/opencv" "${{ env.SOURCE_BRANCH_NAME }}" + git pull -v "https://github.com/${{ env.PR_AUTHOR_FORK }}" "${{ env.SOURCE_BRANCH_NAME }}" - name: Clone opencv_contrib run: git clone --single-branch --branch ${{ env.TARGET_BRANCH_NAME }} --depth 1 https://github.com/opencv/opencv_contrib.git /opencv_contrib - name: Configure OpenCV Contrib