Fetch the whole git history when cloning

This commit is contained in:
Clément Renault 2023-10-12 12:25:26 +02:00
parent 6ecb26a3f8
commit 5f09d89ad1
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -35,6 +35,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
if: success() if: success()
with: with:
fetch-depth: 0 # fetch full history to be able to get main commit sha
ref: ${{ steps.comment-branch.outputs.head_ref }} ref: ${{ steps.comment-branch.outputs.head_ref }}
# Set variables # Set variables