File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -58,16 +58,18 @@ jobs:
5858 run : |
5959 BASE_REF="${{ github.event.pull_request.base.sha }}"
6060 HEAD_REF="${{ github.event.pull_request.head.sha }}"
61+ BASE_REMOTE="${{github.event.pull_request.base.repo.clone_url}}"
6162 HEAD_REMOTE="${{github.event.pull_request.head.repo.clone_url}}"
6263
6364 echo "BASE_REF=$BASE_REF" >> $GITHUB_ENV
6465 echo "HEAD_REF=$HEAD_REF" >> $GITHUB_ENV
66+ echo "BASE_REMOTE=$BASE_REMOTE" >> $GITHUB_ENV
6567 echo "HEAD_REMOTE=$HEAD_REMOTE" >> $GITHUB_ENV
6668
6769 - name : Fetch Base Branch
6870 run : |
6971 # Fetch all history for the base branch and PR head
70- git fetch origin ${BASE_REF}
72+ git fetch ${BASE_REMOTE} ${BASE_REF}
7173 git fetch ${HEAD_REMOTE} ${HEAD_REF}
7274
7375 - name : Detect Added Submodules
You can’t perform that action at this time.
0 commit comments