From cf7e3557355304c6390a3a14a4845bce067c7e5d Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Thu, 12 Oct 2023 13:12:53 +0200 Subject: [PATCH] Fix originating commit command --- .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 a62cd6b7a..f48de2903 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 log --pretty=%p -n 1) + export base_ref=$(git merge-base main ${{ steps.comment-branch.outputs.head_ref }}) export base_filename=$(echo ${{ steps.command.outputs.command-arguments }}_main_${base_ref}.json) echo 'Here are your benchmarks diff 👊' >> body.txt echo '```' >> body.txt