Repository navigation
feat(publish-gate): merge cyberuni's allow-list into the ack-based gate - #96
Merged
Merged
Conversation
Part of #94, step 1 (merge plan D3 and D5, decision Q5). - D3: keep repobuddy's .github/publish-gate.json acknowledgements as the base. Add cyberuni's FIRST_PARTY allow-list and its `allowed-new-dependencies` input as an optional extra. Fold in stable-packages' two extra FIRST_PARTY entries, global-store and stable-store. Acks apply first and are reported with their reason; the allow-list then splits the rest into allowed and blocked. An invalid allow-list entry blocks the whole run, like a malformed ack file. - D5: take cyberuni's pnpm-publish-gate.yml (repobuddy's was a port of it), pointing at repobuddy/.github. Keep `ref: v2` for the scripts checkout, so released callers never load unreleased scripts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: unional <homawong@gmail.com>
|
|
This pull request is merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #94, step 1. This PR covers merge plan items D3 and D5 and follows decision Q5. It is one of four PRs for this step.
D3: publish-gate scripts
.github/publish-gate.jsonacknowledgements as the base. An ack needs a reason, wildcards are rejected, and stale acks are reported.FIRST_PARTYallow-list andparseAllowList/isAllowedas an optional extra.global-storeandstable-store.allowed-new-dependenciesentry blocks the whole run, the same way a malformed ack file does. Previously, in cyberuni, it threw at module load.node --test .github/scripts/publish-gate.test.mjspasses 19 of 19 locally.D5:
pnpm-publish-gate.ymlrepobuddy/.github. This adds theallowed-new-dependenciesinput and usessetup-node-pnpm, sopnpm-versionis now honoured.ref: v2for the scripts checkout, so released callers never load unreleased scripts.Merge order
This PR depends on #95, which imports
actions/setup-node-pnpm. Both must be in the same release, becausesetup-node-pnpm@v2resolves only once av2tag carries the action.🤖 Generated with Claude Code