feat(release): prepare ASF npm candidates - #3335
Draft
M4n5ter wants to merge 1 commit into
Draft
Conversation
Add a credential-free handoff that builds and validates one immutable npm tarball from the exact ASF source release candidate. The recorded provenance and SHA-512 checksum support release review while deliberately keeping signing, approval, and npm publication outside this workflow.
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.
English
Summary
Scope and dependency
This is the first, non-publishing slice of G8. It depends on #3222 for the unified product identity, npm package construction, and reusable validation workflow.
The workflow deliberately does not sign artifacts, call npm staging or publication, modify dist-tags, or claim that the source release has passed either required vote. Those requirements remain tracked in #3275.
Refs #3275.
Verification
node --test scripts/asf-npm-candidate.test.mjs scripts/asf-npm-workflow-policy.test.mjsmise exec go -- go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.7 .github/workflows/asf-npm-candidate.yml .github/workflows/cli-package-validation.ymlnpm run buildnpm run format:checknpm run lintnpm run check:releasenpm run release:cli:smoke简体中文
概述
范围与依赖
这是 G8 的第一个非发布阶段。它依赖 #3222 提供统一产品身份、npm 包构建和可复用验证工作流。
该工作流刻意不签名、不调用 npm staging 或发布、不修改 dist-tag,也不声称源码 release 已通过任一必要投票。其余要求继续由 #3275 跟踪。
Refs #3275。
验证
node --test scripts/asf-npm-candidate.test.mjs scripts/asf-npm-workflow-policy.test.mjsmise exec go -- go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.7 .github/workflows/asf-npm-candidate.yml .github/workflows/cli-package-validation.ymlnpm run buildnpm run format:checknpm run lintnpm run check:releasenpm run release:cli:smoke