ci: force retrieve the missing tags and use v3 of checkout (#3296)

This commit is contained in:
Ankur Srivastava
2024-04-20 22:38:13 +02:00
committed by GitHub
parent 001a23f17d
commit d89fd900cc
+8 -5
View File
@@ -33,12 +33,15 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Clone the current repo
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
ref: ${{ github.event.client_payload.pull_request.head.ref || github.ref }}
fetch-depth: 0
fetch-tags: true
ref: 'refs/pull/${{ github.event.client_payload.pull_request.number }}/merge'
# uses: actions/checkout@v4
# with:
# repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
# ref: ${{ github.event.client_payload.pull_request.head.ref || github.ref }}
# fetch-depth: 0
# fetch-tags: true
- name: Set GIT_TAG env
run: |