mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #21986 from alalek:gha_fix_git_merge
This commit is contained in:
commit
90820cd044
4
.github/workflows/PR-3.4-W10.yaml
vendored
4
.github/workflows/PR-3.4-W10.yaml
vendored
@ -44,7 +44,7 @@ jobs:
|
|||||||
OPENCV_EXTRA_FORK=$(git ls-remote --heads "git@github.com:/${{ env.PR_AUTHOR }}/opencv_extra" "${{ env.SOURCE_BRANCH_NAME }}") || true
|
OPENCV_EXTRA_FORK=$(git ls-remote --heads "git@github.com:/${{ env.PR_AUTHOR }}/opencv_extra" "${{ env.SOURCE_BRANCH_NAME }}") || true
|
||||||
if [[ ! -z "$OPENCV_EXTRA_FORK" ]]; then
|
if [[ ! -z "$OPENCV_EXTRA_FORK" ]]; then
|
||||||
echo "Merge opencv_extra with ${{ env.SOURCE_BRANCH_NAME }} branch"
|
echo "Merge opencv_extra with ${{ env.SOURCE_BRANCH_NAME }} branch"
|
||||||
cd opencv_extra
|
cd ${{ github.workspace }}\opencv_extra
|
||||||
git config user.email "opencv.ci"
|
git config user.email "opencv.ci"
|
||||||
git config user.name "opencv.ci"
|
git config user.name "opencv.ci"
|
||||||
git pull -v "git@github.com:${{ env.PR_AUTHOR }}/opencv_extra" "${{ env.SOURCE_BRANCH_NAME }}"
|
git pull -v "git@github.com:${{ env.PR_AUTHOR }}/opencv_extra" "${{ env.SOURCE_BRANCH_NAME }}"
|
||||||
@ -159,7 +159,7 @@ jobs:
|
|||||||
OPENCV_CONTRIB_FORK=$(git ls-remote --heads "git@github.com:${{ env.PR_AUTHOR }}/opencv_contrib" "${{ env.SOURCE_BRANCH_NAME }}") || true
|
OPENCV_CONTRIB_FORK=$(git ls-remote --heads "git@github.com:${{ env.PR_AUTHOR }}/opencv_contrib" "${{ env.SOURCE_BRANCH_NAME }}") || true
|
||||||
if [[ ! -z "$OPENCV_CONTRIB_FORK" ]]; then
|
if [[ ! -z "$OPENCV_CONTRIB_FORK" ]]; then
|
||||||
echo "Merge opencv_contrib with ${{ env.SOURCE_BRANCH_NAME }} branch"
|
echo "Merge opencv_contrib with ${{ env.SOURCE_BRANCH_NAME }} branch"
|
||||||
cd /opencv_contrib
|
cd ${{ github.workspace }}\opencv_contrib
|
||||||
git config user.email "opencv.ci"
|
git config user.email "opencv.ci"
|
||||||
git config user.name "opencv.ci"
|
git config user.name "opencv.ci"
|
||||||
git pull -v "git@github.com:${{ env.PR_AUTHOR }}/opencv_contrib" "${{ env.SOURCE_BRANCH_NAME }}"
|
git pull -v "git@github.com:${{ env.PR_AUTHOR }}/opencv_contrib" "${{ env.SOURCE_BRANCH_NAME }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user