Skip to content

Commit c847a1d

Browse files
authored
Init git user name and email as GHA virtual mashines do no do it. (#267)
1 parent 04f49ff commit c847a1d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

checkout-and-merge/action.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ runs:
3737
--single-branch \
3838
--branch ${{ inputs.target_branch }} \
3939
https://github.com/opencv/opencv.git
40+
cd opencv
41+
git config user.email "opencv.ci"
42+
git config user.name "opencv.ci"
4043
echo "::endgroup::"
4144
4245
- if: ${{ github.event.repository.name != 'ci-gha-workflow' && contains(inputs.repos, 'main') && inputs.source_branch }}
@@ -66,6 +69,9 @@ runs:
6669
--single-branch \
6770
--branch ${{ inputs.target_branch }} \
6871
https://github.com/opencv/opencv_contrib.git
72+
cd opencv_contrib
73+
git config user.email "opencv.ci"
74+
git config user.name "opencv.ci"
6975
echo "::endgroup::"
7076
7177
- if: ${{ github.event.repository.name != 'ci-gha-workflow' && contains(inputs.repos, 'contrib') && inputs.source_branch }}
@@ -95,6 +101,9 @@ runs:
95101
--single-branch \
96102
--branch ${{ inputs.target_branch }} \
97103
https://github.com/opencv/opencv_extra.git
104+
cd opencv_extra
105+
git config user.email "opencv.ci"
106+
git config user.name "opencv.ci"
98107
echo "::endgroup::"
99108
100109
- if: ${{ github.event.repository.name != 'ci-gha-workflow' && contains(inputs.repos, 'extra') && inputs.source_branch }}

0 commit comments

Comments
 (0)