Skip to content

Commit

Permalink
github.run_id is unique to each run, meaning if not from a PR (with a…
Browse files Browse the repository at this point in the history
… pull_request.number), there will be no concurrency.

Signed-off-by: paul.profizi <paul.profizi@ansys.com>
  • Loading branch information
PProfizi committed Nov 25, 2022
1 parent b4bdc2f commit 7ea222a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:


concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

env:
Expand Down

0 comments on commit 7ea222a

Please sign in to comment.