From bc747aac3a36f24027e2e148bbbf3fdcd0408426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Thu, 12 Oct 2023 15:04:37 +0200 Subject: [PATCH] Cut the first 8 characters --- .github/workflows/trigger-benchmarks-on-message.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trigger-benchmarks-on-message.yml b/.github/workflows/trigger-benchmarks-on-message.yml index e4efb3153..aa784296a 100644 --- a/.github/workflows/trigger-benchmarks-on-message.yml +++ b/.github/workflows/trigger-benchmarks-on-message.yml @@ -88,7 +88,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.MEILI_BOT_GH_PAT }} run: | set -x - export base_ref=$(git merge-base origin/main ${{ steps.comment-branch.outputs.head_ref }}) + export base_ref=$(git merge-base origin/main ${{ steps.comment-branch.outputs.head_ref }} | head -c8) export base_filename=$(echo ${{ steps.command.outputs.command-arguments }}_main_${base_ref}.json) echo 'Here are your benchmarks diff 👊' >> body.txt echo '```' >> body.txt