From ca1099ffcaa6e6babbddd371c792f1f1d6ab330f Mon Sep 17 00:00:00 2001 From: Serhii Shymkiv Date: Thu, 14 Mar 2024 17:09:43 +0200 Subject: [PATCH] Fix for GH ref name in benchmarks workflow. --- .github/workflows/benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index ce163e0f10..7151d01a0e 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -26,7 +26,7 @@ jobs: node-version: ${{ matrix.node }} - name: Build o1js and execute benchmarks on ${{ matrix.os }} and Node.JS ${{ matrix.node }} env: - GIT_BRANCH: ${{ github.ref_name }} + GIT_BRANCH: ${{ github.head_ref || github.ref_name }} INFLUXDB_URL: ${{ secrets.INFLUXDB_URL }} INFLUXDB_ORG: ${{ secrets.INFLUXDB_ORG }} INFLUXDB_BUCKET: ${{ secrets.INFLUXDB_BUCKET }}