diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 8547dad7dcc3..4cc0b0e9e2a0 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -3,8 +3,8 @@ name: Benchmark # Actions access a common cache entry and may corrupt it. concurrency: # If PR, cancel prev commits. head_ref = source branch name on pull_request, null if push - # if push, default to github.ref so retries of the same commit do not overwrite each other - group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + # if push, default to github.run_id so retries of the same commit do not overwrite each other + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true on: