Skip to content

Commit b15cf21

Browse files
cliffhallclaude
andcommitted
fix(interface-diff): give each push and release run its own group (#4860)
Copilot round 4 on #4975: a concurrency group keeps only one pending run, so a third rapid push cancelled the queued one even without cancel-in-progress. Group by ref only for PRs; by run id otherwise. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1 parent a793ed4 commit b15cf21

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎.github/workflows/everything-mcp-diff.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ on:
7070
permissions:
7171
contents: read
7272

73-
# Superseded runs on the same PR are cancelled; pushes and releases each keep
74-
# their own run.
73+
# Superseded runs on the same PR are cancelled. Every other run gets a group
74+
# of its own: a group holds one running and one pending run, so a shared group
75+
# would drop a push's run when two more queued behind it.
7576
concurrency:
76-
group: ${{ github.workflow }}-${{ github.ref }}
77+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
7778
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
7879

7980
jobs:

0 commit comments

Comments
 (0)