feat(github): add contributor issue commands

This commit is contained in:
t8y2
2026-07-27 21:47:32 +08:00
parent 1d671ca698
commit a96cf11942
8 changed files with 516 additions and 64 deletions
+4
View File
@@ -33,6 +33,8 @@ description: 从零搭建 DBX 开发环境,运行桌面版,完成第一次
认领成功后,机器人会把 Issue 分配给你。如果你准备采用的方案可能影响现有行为,先在 Issue 中简要说明思路,等维护者确认后再开始大规模修改。
如果后续不准备继续或暂时无法完成,可以单独评论 `/unclaim`,也兼容 `/unclaimed`。工作流只会移除你自己的 assignee,之后其他贡献者可以重新认领。
## 2. 安装开发环境
DBX 桌面版基于 Tauri、Vue 和 Rust。仓库当前要求:
@@ -421,6 +423,8 @@ PR 描述至少写清:
提交 PR 后,如果 CI 失败,点击失败任务查看日志,在原分支继续提交修复即可,不需要重新创建 PR。
关联 PR 合并到默认分支后,如果 Issue 仍然处于打开状态,可以在 Issue 下单独评论 `/close`。工作流只会在评论者是当前 assignee,并且是已合并关联 PR 的作者时关闭 Issue。
## 10. 根据 Review 更新代码
维护者提出修改意见后,在同一分支继续修改、提交并推送:
+4
View File
@@ -33,6 +33,8 @@ If nobody is working on the issue, post this as a standalone comment:
The claim workflow assigns the issue to you when it is available. If your proposed solution changes existing behavior, explain the approach briefly in the issue before making a large patch.
If you later cannot continue, post `/unclaim` as a standalone comment (`/unclaimed` is also accepted). The workflow removes only your own assignment so another contributor can claim the issue.
## 2. Install the Toolchain
DBX Desktop uses Tauri, Vue, and Rust. The repository currently requires:
@@ -421,6 +423,8 @@ The pull request description should include:
If CI fails, open the failed job and inspect its logs. Push the fix to the same branch; you do not need to create another pull request.
When your linked PR has been merged into the default branch but the issue remains open, post `/close` as a standalone issue comment. The workflow only closes the issue when you are its current assignee and the author of a merged PR that cross-references the issue.
## 10. Update the Pull Request After Review
Continue working on the same branch after receiving review feedback: