Repository navigation
Scope the Publisher's Concurrency Group to the Ref per WORKFLOW.md D7.1 - #154
Conversation
WORKFLOW.md D7.1, carried at hub 2.0.972, requires the publisher to use
a ref-scoped group, ${{ github.workflow }}-${{ github.ref }}, so a
publish on one ref neither queues behind nor replaces a pending publish
on another. This publisher has no push trigger, so the run_id suffix D7.1
adds for unpublished pushes does not apply.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 11 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved review issues were identified.
0 open findings
What changed in this PR
Updates publisher concurrency to be scoped by Git ref, preventing cross-branch interference.
Changes:
- Uses
${{ github.workflow }}-${{ github.ref }}for the concurrency group. - Preserves
cancel-in-progress: false.
| File | Description |
|---|---|
.github/workflows/publish-release.yml |
Applies ref-scoped publisher concurrency. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Scopes the publisher's concurrency group to the ref,
${{ github.workflow }}-${{ github.ref }}, keepingcancel-in-progress: false. This is what WORKFLOW.md D7.1 requires, as carried at hub 2.0.972.Copilot raised this on the promotion PR #153. Under the old global group, a publish on one ref could queue behind, or replace, a pending publish on another. One example is the hub's D4.7 supersede dispatch on
developreplacing a pending scheduled publish onmain.workflow_dispatchandschedule. Therun_idsuffix that D7.1 adds for unpublished pushes therefore does not apply, and the group is the same as the hub's own publisher uses.build-release-task.ymldispatches on the same branch, so it lands in the same ref-scoped group, which is the behavior D4.7 describes.closed, but D8.1 deletes branches onclosedonly when the caller opts in withdelete-branch, and this caller doesn't.🤖 Generated with Claude Code