fix(gh-actions): s/git_url/clone_url/g (#3593)
This commit is contained in:
parent
392dbc21ab
commit
86f67f4e08
|
@ -352,7 +352,7 @@ jobs:
|
||||||
- name: Test previous commits
|
- name: Test previous commits
|
||||||
if: matrix.test_prev_commits && github.event_name == 'pull_request'
|
if: matrix.test_prev_commits && github.event_name == 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
git remote add fork "${{ github.event.pull_request.head.repo.git_url }}"
|
git remote add fork "${{ github.event.pull_request.head.repo.clone_url }}"
|
||||||
# `actions/checkout` creates a shallow repo (`--depth 1`) by default,
|
# `actions/checkout` creates a shallow repo (`--depth 1`) by default,
|
||||||
# which is fine for everything up until now. But we need individual commits now.
|
# which is fine for everything up until now. But we need individual commits now.
|
||||||
# And we only want to unshallow now, to not slow down the checkout for other jobs.
|
# And we only want to unshallow now, to not slow down the checkout for other jobs.
|
||||||
|
|
Loading…
Reference in New Issue