feat(workflows): 新增 Issue 自动分拣端到端工作流 issue-triage-automation(补齐起步资源包缺失项) #416
Loading…
Reference in New Issue
No description provided.
Delete Branch "Taoyouce/gitlink-cli:feat/issue-triage-workflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
起步资源包承诺 examples/workflows 提供 3 个参考工作流(Issue 自动分拣、PR Review、Release Notes),当前 master 已有 pr-quality-gatekeeper 等,但「Issue 自动分拣」仍缺失。
内容
新增
examples/workflows/issue-triage-automation/:scripts/issue_triage.py:采集(issue +list 自动翻页合并)→ 确定性规则分类(关键词→建议优先级/标签/负责人;超龄→stale)→ markdown+json 报告 → 仅--apply时回写(issue +update --priority-id + issue +comment),纯标准库零依赖rules.example.json:bug/feature/docs/question 四类规则样例,含平台优先级 ID 映射(1低/2正常/3高/4紧急)tests/test_triage.py:10 个确定性单测全绿README.md:架构图、快速运行、规则定制、CI/Agent 集成生产验证(gitlink.org.cn,2026-07-10)
与 skills/gitlink-issue-triage Skill 同源互补:Skill 供 Agent 交互式分拣,本工作流供确定性批量闭环。