ci: restrict package release workflow to cherry-studio's main branch#13797
Merged
GeorgeDong32 merged 1 commit intoCherryHQ:mainfrom Mar 26, 2026
Merged
ci: restrict package release workflow to cherry-studio's main branch#13797GeorgeDong32 merged 1 commit intoCherryHQ:mainfrom
GeorgeDong32 merged 1 commit intoCherryHQ:mainfrom
Conversation
DeJeune
approved these changes
Mar 26, 2026
GeorgeDong32
approved these changes
Mar 26, 2026
Collaborator
GeorgeDong32
left a comment
There was a problem hiding this comment.
✅ 审查通过
这是一个正确且重要的安全修复,防止 release-packages workflow 在 fork 仓库中意外运行。
审查结果
- ✅ 安全性:阻止 fork 中意外发布 npm 包
- ✅ 一致性:与
auto-i18n.yml、github-issue-tracker.yml等现有模式一致 - ✅ 最小改动:仅添加必要的条件检查
推荐合并。
MyPrototypeWhat
pushed a commit
that referenced
this pull request
Mar 30, 2026
…13797) This CI had run in my fork, but it should only run in cherry studio's main branch. <img width="1194" height="102" alt="CleanShot 2026-03-26 at 09 11 59@2x" src="https://github.com/user-attachments/assets/93cc496e-601e-40a4-a5d9-75cd056f7a66" />
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.
This CI had run in my fork, but it should only run in cherry studio's main branch.