diff --git a/.github/scripts/verify-version-pr-scope.sh b/.github/scripts/verify-version-pr-scope.sh index 38e3882a..f7cc3ec5 100755 --- a/.github/scripts/verify-version-pr-scope.sh +++ b/.github/scripts/verify-version-pr-scope.sh @@ -4,12 +4,19 @@ # mechanical `changeset version` output before an unattended merge. # # Two layers, both fail-closed: -# 1. Path allowlist: consumed changesets (.changeset/*.md) and per-package -# package.json / CHANGELOG.md / src/version.ts. No root package.json -# (private, unversioned), no lockfile (workspace:* deps don't touch it). -# src/version.ts is the committed gen:version output (see publish.yaml's -# `pnpm run version` note) — a Version PR bumping @openrouter/mcp always -# carries it, so excluding it would fail every such train run. +# 1. Path allowlist: consumed changesets (.changeset/*.md), per-package +# package.json / CHANGELOG.md, and each package's committed gen:version +# output (see publish.yaml's `pnpm run version` note). No root +# package.json (private, unversioned), no lockfile (workspace:* deps +# don't touch it). The gen:version output paths are DERIVED, not +# hard-coded: for every packages/*/package.json with a +# `"gen:version": "node