Skip to content

Commit

Permalink
fix: ensure benchmark workflow is not cancelled on stable/unstable co…
Browse files Browse the repository at this point in the history
…nsecutive pushes (#5535)
  • Loading branch information
g11tech authored May 24, 2023
1 parent 172d181 commit 118f7b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 118f7b9

Please sign in to comment.