Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ on:
types: [opened, reopened, synchronize, closed]

concurrency:
group: ci-${{ github.ref }}
# Grouped by PR number, not github.ref: a merged PR's `closed` run has
# github.ref = refs/heads/main and would otherwise cancel main's push run.
group: ci-${{ github.event.pull_request.number && format('pr-{0}', github.event.pull_request.number) || github.ref }}
# A new push to a PR supersedes its in-progress run; main runs in order.
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

Expand Down
Loading