Skip to content
Open
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
9 changes: 4 additions & 5 deletions .github/workflows/publish-npm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ on:
type: boolean
default: false

# Cancels all previous workflow runs for pull requests that have not completed.
# Prevents overlapping package releases without canceling an in-progress release.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
# Scope package release dispatches by target npm release branch.
group: npm-publish-wp-${{ github.event.inputs.wp_version }}
cancel-in-progress: false

jobs:
release:
Expand Down
Loading