From 69354a6144829b76febe60b5ec549a26e8f637db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Wed, 15 Nov 2023 13:56:54 +0100 Subject: [PATCH] Add the benchmarck name to the bot message --- .github/workflows/benchmarks-pr.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks-pr.yml b/.github/workflows/benchmarks-pr.yml index aa784296a..30baa294e 100644 --- a/.github/workflows/benchmarks-pr.yml +++ b/.github/workflows/benchmarks-pr.yml @@ -90,7 +90,8 @@ jobs: set -x 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) - echo 'Here are your benchmarks diff 👊' >> body.txt + export bench_name=$(echo ${{ steps.command.outputs.command-arguments }}) + echo "Here are your $bench_name benchmarks diff 👊" >> body.txt echo '```' >> body.txt ./benchmarks/scripts/compare.sh $base_filename ${{ steps.file.outputs.basename }}.json >> body.txt echo '```' >> body.txt