fix(release): 对齐 SFMC_GITHUB_TOKEN + DRY GitHub Release 回退 - #77
Merged
Tanya7z merged 1 commit intoJul 25, 2026
Merged
Conversation
#76 合入后文档/注释仍写 CHANGESETS_GITHUB_TOKEN,与维护者改用的 SFMC_GITHUB_TOKEN 漂移;workflow 同时兼容旧名。github-release 缺失态 回退改为复用 listPackagesWithExistingVersionTags,避免重复 tag -l 扫描。 Co-authored-by: Shiroha <Tanya7z@users.noreply.github.com>
Tanya7z
marked this pull request as ready for review
July 25, 2026 05:54
Contributor
Author
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
2 tasks
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.
Summary
审查 main@7d92a08(合入 #76)后的残留问题补丁。CI(ootb / changeset-release)已绿,并成功发布
@sfmc-bds/tools@0.2.0-beta.1;本 PR 修 SOLID 债,不修失败 WF。审查发现
CHANGESETS_GITHUB_TOKEN,维护者合入前已改为SFMC_GITHUB_TOKEN,权威名漂移changeset-github-release.mjs手写tag -l扫描,与listPackagesWithExistingVersionTags重复修复
SFMC_GITHUB_TOKEN \|\| CHANGESETS_GITHUB_TOKEN \|\| GITHUB_TOKEN(权威名 + 旧名兼容)npm-publish.md对齐SFMC_GITHUB_TOKENlistPackagesWithExistingVersionTagsnode --test tools/changeset-release.test.mjs→ 9 pass@sfmc-bds/toolspatch未改(仍可接受)
SFMC_GITHUB_TOKEN(本轮发布因无 pending changeset、直接走 publish,未再触开 Version PR)ServiceId仍含pack-manager(CLI 路径仍需要)Test plan
node --test tools/changeset-release.test.mjs(9 pass)SFMC_GITHUB_TOKEN与旧名回退