fix: error fetch remote ref when using fetch depth of 1 (#996)

This commit is contained in:
Tonye Jack
2023-02-20 11:39:52 -07:00
committed by GitHub
parent 063e674726
commit 23e3c4300c
3 changed files with 27 additions and 12 deletions

View File

@@ -187,6 +187,7 @@ runs:
GITHUB_REF: ${{ github.ref }}
GITHUB_SHA: ${{ github.sha }}
GITHUB_WORKSPACE: ${{ github.workspace }}
GITHUB_EVENT_BASE_REF: ${{ github.event.base_ref }}
GITHUB_EVENT_HEAD_REPO_FORK: ${{ github.event.pull_request.head.repo.fork }}
GITHUB_EVENT_PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_EVENT_PULL_REQUEST_BASE_REF: ${{ github.event.pull_request.base.ref }}