Skip to content

Commit 69593f2

Browse files
committed
fix(governance): pin tool: just@1.51.0 in mvp-smoke — clear R1 on main
Governance / Security policy checks fails on every push to main with: ❌ [R1] unversioned family-tool install: .github/workflows/mvp-smoke.yml:43: tool: just ❌ [R1] 1 unversioned family-tool install(s) — pin tool: <name>@<ver> Source: R1 in the governance workflow greps for `^[[:space:]]*tool:[[:space:]]*(just|must|trust|adjust|bust|dust|intend)[[:space:]]*$` across `.github/workflows/**`. PR #130 (2026-05-30) added the bare `tool: just` line to mvp-smoke.yml when it fixed `just: command not found`. The governance rule treats any bare family-tool install as supply-chain risk because each invocation would silently pull whatever version `taiki-e/install-action` resolves at that moment. Fix: change `tool: just` → `tool: just@1.51.0` (current upstream stable per `gh api repos/casey/just/releases/latest`). The action accepts the `<name>@<ver>` form natively; the regex no longer matches; downstream PRs stop being held up by a baseline-red required check. Adds an inline comment so the next contributor doesn't strip the pin when bumping the action SHA. Verification: grep -rnE '^[[:space:]]*tool:[[:space:]]*(just|must|trust|adjust|bust|dust|intend)[[:space:]]*$' .github/workflows/ # (no matches) YAML safe_load passes; the rest of the file is untouched.
1 parent 78a65dc commit 69593f2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/mvp-smoke.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ jobs:
4040
- name: Install just
4141
uses: taiki-e/install-action@184183c2401be73c3bf42c2e61268aa5855379c1 # v2.78.1
4242
with:
43-
tool: just
43+
# Governance R1 requires versioned family-tool pins
44+
# (just|must|trust|adjust|bust|dust|intend); bare `tool: just`
45+
# tripped the Security policy check on every push to main since
46+
# #130 landed (2026-05-30). 1.51.0 is the current upstream stable.
47+
tool: just@1.51.0
4448

4549
- name: Build release
4650
run: cargo build --release

0 commit comments

Comments
 (0)