From 5f09d89ad16fd79b0fea54a1ad0e0a7099f53d81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Thu, 12 Oct 2023 12:25:26 +0200 Subject: [PATCH] Fetch the whole git history when cloning --- .github/workflows/trigger-benchmarks-on-message.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/trigger-benchmarks-on-message.yml b/.github/workflows/trigger-benchmarks-on-message.yml index d89254625..a62cd6b7a 100644 --- a/.github/workflows/trigger-benchmarks-on-message.yml +++ b/.github/workflows/trigger-benchmarks-on-message.yml @@ -35,6 +35,7 @@ jobs: - uses: actions/checkout@v3 if: success() with: + fetch-depth: 0 # fetch full history to be able to get main commit sha ref: ${{ steps.comment-branch.outputs.head_ref }} # Set variables