feat(workflow): render workflow_run jobs as colored diff block

List each job on its own line with a status emoji and, for completed
jobs, the duration. Discord colors the diff fence: '+' green for
success, '-' red for other finished conclusions, plain for
running/queued/pending. Telegram/Feishu collapse it to inline code.

Sync AGENTS.md, README(s), docs guide and supported-events tables.
This commit is contained in:
RhenCloud committed 2026-09-26 14:58:00 +08:00
1 parent 4e81d3d4da
commit e607d41432
9 files changed
+109 -12

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ WebHooker 支持 28 种 GitHub webhook 事件类型,每种都有专用的格
| `pull_request` | PR 打开/关闭/合并/编辑 | PR 标题、分支、差异统计、标签 |
| `issues` | 议题打开/关闭/编辑 | 议题标题、标签、指派人 |
| `issue_comment` | 议题或 PR 的评论 | 评论内容、议题引用 |
| `workflow_run` | CI/CD 工作流阶段更新 | 工作流状态、结论、耗时;各阶段原地更新同一条消息 |
| `workflow_run` | CI/CD 工作流阶段更新 | 工作流状态、结论、耗时、带颜色的逐作业明细;各阶段原地更新同一条消息 |
| `workflow_job` | CI 作业阶段更新 | 作业名、状态、结论、工作流 |
| `status` | 提交状态更新 | 提交状态、上下文、状态值、提交链接 |
| `deployment` | 部署已创建 | 环境、引用、任务 |