fix(gh-actions): s/git_url/clone_url/g (#3593)

This commit is contained in:
Actionless Loveless 2022-03-20 18:56:13 +01:00 committed by GitHub
parent 392dbc21ab
commit 86f67f4e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.