Commit Graph

3 Commits

Author SHA1 Message Date
camelliamc 9f0973f80a 完成两条自动化工作流:社区运营自动化 + 代码质量看门人
工作流一(社区运营自动化):
- Webhook 监听 Issue 创建 → 自动关键词分类 → 打标签 + 分配责任人
- 修复 assigner_ids 字段名(原 assigned_to_id 已被后端静默忽略)
- 修复标签 ID 从项目 issue_tags API 动态获取(原 tracker ID 与 issue_tag ID 不匹配)
- 新增 Windows PowerShell 版本脚本

工作流二(代码质量看门人):
- Webhook 监听 PR 创建 → 数据采集 → AI 代码审查 → 本地 CI → 冲突检测 → 自动合并
- 新增 02a-pr-gatekeeper.sh 核心编排脚本(603 行)
- 新增 Windows PowerShell 版本
- Webhook 监听器增加 pull_request 事件路由
2026-07-10 10:49:48 +08:00
Donkey_kevin ecf16b379d feat(workflows): add PowerShell scripts and refactor workflow Skill
- Add 4 PowerShell workflow scripts for cross-platform automation:
  - 01-community-ops.ps1: Issue auto-classify, assign, weekly report, release notes
  - 03-project-init.ps1: One-click project init with README, CONTRIBUTING, CI guide, issues, branch protection, release
  - 04-multi-repo-collab.ps1: Cross-repo dashboard with HTML output and coordinated release
  - 05-contributor-growth.ps1: Contributor scoring (AHP), HTML report, Wiki, badge awards
- Add workflows/lib/common.psm1 shared PowerShell module
- Refactor gitlink-workflow SKILL.md to focus on AI-powered code review (workflow 2)
- Retain original .sh scripts alongside new .ps1 scripts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 23:52:17 +08:00
Donkey_kevin a3c433e697 feat(workflows): add 5 workflow scripts with bug fixes
Add workflow automation scripts for GitLink CLI:
- 01-community-ops: issue triage, weekly reports, release notes
- 02-code-quality-gatekeeper: PR review, quality scoring, auto-merge
- 03-project-init: repo creation, branch protection, wiki setup
- 04-multi-repo-collab: cross-repo dashboard, health monitoring
- 05-contributor-growth: AHP-weighted scoring, HTML reports, wiki publish

Fixes applied during testing:
- common.sh: fix SIGPIPE error in gl_check (use here-string instead of pipe)
- common.sh: add WinGet Links to PATH for jq availability on Windows
- 05-contributor-growth: fix pull_request_number → pull_request_id
- 05-contributor-growth: fix null total_addition/total_deletion (sum from files)
- 05-contributor-growth: fix wiki publish 400 error (use timestamp in title)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 12:11:38 +08:00