Skip to content

Commit 747d8c0

Browse files
committed
chore(specgit): pin the acceptance workflow's specgit CLI to ^0.5.0
npm install -g specgit installs whatever is latest at run time; the CLI releases multiple times a day, so an unnoticed upstream change could flip CI acceptance verdicts repo-wide. Caret floor keeps patch/minor fixes while making the installed floor reproducible. Also restores this repo's bun/npm harness adaptation that a local 'specgit issue' run (0.5.0) had overwritten with the pnpm template. Closes #366
1 parent ab29932 commit 747d8c0

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/specgit-accept.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ jobs:
3131
node-version: '22'
3232

3333
# This repo is a bun workspace and does not vendor the SpecGit CLI;
34-
# install the published CLI instead of building from source.
34+
# install the published CLI instead of building from source. Pinned
35+
# with a caret floor (#366): the CLI releases multiple times a day and
36+
# an unpinned install would let an unnoticed upstream change flip CI
37+
# acceptance verdicts repo-wide.
3538
- name: Install specgit CLI
36-
run: npm install -g specgit
39+
run: npm install -g specgit@^0.5.0
3740

3841
- name: Wait for sibling checks
3942
# The verdict must see the OTHER required checks in a terminal

.specgit.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
version: 1
2-
delivery: issue350
2+
delivery: issue366
33
context:
44
kind: branch
5-
branch: feat/350-issue350
5+
branch: feat/366-issue366
66
issues:
7-
- 350
8-
pr: 365
7+
- 366

0 commit comments

Comments
 (0)