Fix originating commit command

This commit is contained in:
Kerollmops 2023-10-12 13:12:53 +02:00
parent 5f09d89ad1
commit cf7e355735
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 }} GITHUB_TOKEN: ${{ secrets.MEILI_BOT_GH_PAT }}
run: | run: |
set -x 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) export base_filename=$(echo ${{ steps.command.outputs.command-arguments }}_main_${base_ref}.json)
echo 'Here are your benchmarks diff 👊' >> body.txt echo 'Here are your benchmarks diff 👊' >> body.txt
echo '```' >> body.txt echo '```' >> body.txt