mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
fix: add concurrency guard and workflow_dispatch to CLI release (#1812)
The race condition: two PRs merged 3 seconds apart both triggered the CLI Release workflow. The second run (v0.7.12) finished last and overwrote the release with a stale binary, even though the repo HEAD was at v0.8.0. - Add concurrency group so concurrent releases cancel the older one - Add workflow_dispatch trigger for manual re-runs Co-authored-by: lab <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c76d930046
commit
aa88e70488
2 changed files with 6 additions and 1 deletions
5
.github/workflows/cli-release.yml
vendored
5
.github/workflows/cli-release.yml
vendored
|
|
@ -7,6 +7,11 @@ on:
|
|||
- 'cli/src/**'
|
||||
- 'cli/package.json'
|
||||
- 'cli/bun.lock'
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: cli-release
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue