Fix originating commit branch

This commit is contained in:
Kerollmops 2023-10-12 13:51:41 +02:00
parent cf7e355735
commit be92376ab3
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -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