Cut the first 8 characters

This commit is contained in:
Clément Renault 2023-10-12 15:04:37 +02:00
parent be92376ab3
commit bc747aac3a
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 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) 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