build(ci): add git commit hash to benchmark
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 5 Nov 2023 16:59:57 +0000 (17:59 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 5 Nov 2023 16:59:57 +0000 (17:59 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.github/workflows/internal-benchmark.yml

index 5170ae98cbf9574dd236c1dcd1eaf2990460266d..e4890fd46a4db9a359e6cc8dacc2276fe1723221 100644 (file)
@@ -38,6 +38,7 @@ jobs:
           --if-branch "$GITHUB_REF_NAME" \
           --else-if-branch "$GITHUB_BASE_REF" \
           --else-if-branch master \
+          --hash "$GITHUB_SHA" \
           --err \
           --github-actions ${{ secrets.GITHUB_TOKEN }} \
           "pnpm benchmark:prod"