chore: CI: avoid fetching full repo in PR Release (#12309)
This commit is contained in:
parent
690648d943
commit
12ad957bd5
1 changed files with 2 additions and 1 deletions
3
.github/workflows/pr-release.yml
vendored
3
.github/workflows/pr-release.yml
vendored
|
|
@ -61,7 +61,8 @@ jobs:
|
|||
run: |
|
||||
git init --bare lean4.git
|
||||
git -C lean4.git remote add origin https://github.com/${{ github.repository_owner }}/lean4.git
|
||||
git -C lean4.git fetch -n origin master
|
||||
# we only need to fetch the history; note this flag is sticky
|
||||
git -C lean4.git fetch -n origin --filter=tree:0 master
|
||||
git -C lean4.git fetch -n origin "${{ steps.workflow-info.outputs.sourceHeadSha }}"
|
||||
|
||||
# Create both the original tag and the SHA-suffixed tag
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue