diff --git a/.github/workflows/pr-close.yml b/.github/workflows/pr-close.yml index a232f90292..ed25b112fb 100644 --- a/.github/workflows/pr-close.yml +++ b/.github/workflows/pr-close.yml @@ -6,7 +6,8 @@ on: - closed concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + # PR open and close use the same group, allowing only one at a time + group: pr-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index 2b4a4ee86d..fe477d8b5f 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -4,7 +4,8 @@ on: pull_request: concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + # PR open and close use the same group, allowing only one at a time + group: pr-${{ github.ref }} cancel-in-progress: true jobs: