Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
docs(contributing): 建议开启维护者编辑权限 (#3528)
Dash6bb6719c625c
diff --git a/CONTRIBUTING.en.md b/CONTRIBUTING.en.mdindex 9169903a00..717ba80e00 100644--- a/CONTRIBUTING.en.md+++ b/CONTRIBUTING.en.md@@ -64,7 +64,15 @@ explain why any highly relevant check was not run.unrelated generated files, or unintended submodule pointer changes.4. Complete the [pull request template](.github/PULL_REQUEST_TEMPLATE.md),including scope, verification, risks, and rollback information.-5. Wait for CI and review; do not push directly to `main`.+5. When submitting a pull request from a personal fork, we recommend keeping+ `Allow edits from maintainers` enabled so maintainers and QA can collaborate+ on fixes directly in the original pull request branch. If the fork contains+ GitHub Actions workflows, GitHub labels the option+ `Allow edits and access to secrets by maintainers`; enabling it also lets+ upstream maintainers edit workflows in the fork, which can potentially+ reveal Actions secrets or grant access to other branches. Only enable it if+ you accept that permission scope.+6. Wait for CI and review; do not push directly to `main`.Small documentation fixes are welcome as pull requests. For larger changes toarchitecture, protocols, database migrations, permissions, or user data,diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex aae574de3e..c31f784271 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -51,7 +51,12 @@ Git LFS 和依赖安装。该文档是安装命令的唯一权威说明;本指[PR 模板](.github/PULL_REQUEST_TEMPLATE.md)。3. Review 完整 diff,确认没有凭证、无关生成文件或意外的 submodule 指针变化。4. 按 [PR 模板](.github/PULL_REQUEST_TEMPLATE.md) 填写变更范围、验证、风险和回滚方式。-5. 等待 CI 和 review;不要直接向 `main` 推送。+5. 从个人 Fork 提交 PR 时,建议保持 `Allow edits from maintainers` 开启,方便维护者和 QA+ 直接在原 PR 分支协作修复。若 Fork 包含 GitHub Actions workflow,该选项会显示为+ `Allow edits and access to secrets by maintainers`;开启后,拥有上游仓库 push 权限的维护者+ 也能编辑 Fork 中的 workflow,可能暴露 Actions secrets 或取得其他分支的访问权限。+ 请仅在接受这一权限范围时开启。+6. 等待 CI 和 review;不要直接向 `main` 推送。小型文档修正也欢迎直接提交 PR。较大的架构、协议、数据库 migration、权限或用户数据变更,建议先开 issue 讨论范围和兼容性。