diff --git a/.github/workflows/build-metrics.yml b/.github/workflows/build-metrics.yml index 03136cc1f1e2d..910bbe2731d43 100644 --- a/.github/workflows/build-metrics.yml +++ b/.github/workflows/build-metrics.yml @@ -128,6 +128,6 @@ jobs: ./scripts/build-metrics.py upload \ --build_type "${{ matrix.type }}" \ --run_id "BM-${{ matrix.type }}-${{ github.run_id }}-${{ github.run_attempt }}" \ - --pr_number "${{ github.event.number }}" \ - --sha "${{ inputs.ref || github.sha }}" \ + --pr_number "0" \ + --sha "${{ inputs.ref || github.head_sha }}" \ "/tmp/metrics"