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
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ on:
permissions:
contents: read

# PR runs are keyed by PR number (repo-assigned, so a fork branch named "main"
# cannot collide with and cancel trusted runs on this repo's main). Push and
# workflow_dispatch runs share a group per ref_name so a dispatched run is
# cancelled when a push supersedes it, and vice versa.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.ref_name }}
cancel-in-progress: true

jobs:
Expand Down
Loading