Commit Graph

20 Commits

Author SHA1 Message Date
Donkey_kevin d9ff6d134d Merge origin/master into zk_branch, resolve conflicts in milestone/issue/README 2026-07-14 16:41:56 +08:00
camelliamc 7079bfae64 修改测试脚本 2026-07-12 18:31:12 +08:00
camelliamc 8a2c4d3bd9 实现多仓库协同自动化工作流(04)
串联 repo/issue/pr/release +list 命令完成端到端任务链:
逐仓库采集数据 → 对齐 gitlink-health 的健康度评分 → 生成中文 HTML
看板 → 协调发版(支持真 --dry-run 预览)
2026-07-10 20:54:32 +08:00
camelliamc 3988802e2c 完成项目一键初始化工作流(03-project-init):重构为文件模式生成README/LICENSE/CI配置+里程碑+Issue+分支保护+Release
- README/LICENSE/CONTRIBUTING/.gitlink-ci.yml 生成在仓库内,而非Wiki页面
- 新增里程碑创建步骤、欢迎Issue
- README中文标题(快速开始、环境要求、安装、使用、测试)
- git clone/push免密认证、git作者行内传参
- 修复CRLF换行符、反引号命令替换等问题
- 同步更新PowerShell版本(03-project-init.ps1)
- 更新workflows文档和SKILL菜单
2026-07-10 18:37:19 +08:00
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
狗gogo 17a876b0bd Update community-ops workflows and demo index on zzx_branch
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 10:29:15 +08:00
狗gogo 86eff95244 Update research-compliance workflow on zzx_branch
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 09:14:21 +08:00
狗gogo a5e9fe8199 Update academic workflows and dashboard on zzx_branch
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 01:15:23 +08:00
狗gogo 609a62c146 Update workflows and demo files on zzx_branch
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 22:57:15 +08:00
狗gogo de9bca30bb Merge origin/master into zzx_branch, local wins on conflicts 2026-07-07 13:09:19 +08:00
狗gogo 08037ca60b Resolve conflicts: keep local changes on zzx_branch
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 13:08:51 +08:00
camelliamc 2420579ba9 Merge branch 'master' into mc_branch 2026-07-07 09:37:59 +08:00
camelliamc 8ecbf8a203 fix(workflows): 修复项目初始化/多仓库协同 + 公共库 2026-07-07 09:25:53 +08:00
camelliamc 0b6d176a45 feat(workflows): 社区运营自动化 — Webhook接收器 + 部署 + systemd 2026-07-07 09:25:39 +08:00
camelliamc 411403ac5a feat(workflows): 社区运营自动化 — Issue实时分类 + 周报/Release定时发布 2026-07-07 09:23:27 +08:00
Donkey_kevin a8f8a30953 feat(workflows): add gitlink-research skill and academic workflow scripts
Add 5 research auxiliary scenarios: project insights, compliance check,
progress tracking, citation format, and knowledge graph support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-06 12:14:06 +08:00
Donkey_kevin 4f3ae280b7 feat(workflows): add workflow skill system and fix batch commands
- Fix batch-label: use issue_tag_ids instead of tracker_id
- Fix parseTracker: support Chinese label names (缺陷/功能/疑问 etc.)
- Add workflow skill menu (workflows/SKILL.md) with 5 automation options
- Add workflow reference files: community-ops, contributor-growth, multi-repo
- Fix PowerShell scripts: Invoke-GL array syntax, remove ConvertFrom-Json
- Fix wiki +create flag from --body to --content
- Update contributor-growth doc with known issues and field corrections
- Add contributor leaderboard HTML report

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-02 16:17:15 +08:00
Donkey_kevin 012c197ee6 fix(workflows): make PowerShell scripts compatible with PS 5.1
- Replace ?? operator with if/else for Windows PowerShell 5.1 compatibility
- Remove Chinese characters to avoid encoding issues
- Use string concatenation instead of complex expressions in here-strings
- Update common.psm1 to remove PS 7+ syntax

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 23:59:45 +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