From be92376ab36a35e7c2513a6707aea3f520333274 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Thu, 12 Oct 2023 13:51:41 +0200 Subject: [PATCH] Fix originating commit branch --- .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 f48de2903..e4efb3153 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 main ${{ steps.comment-branch.outputs.head_ref }}) + export base_ref=$(git merge-base origin/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