From cd591d658a7d30244ede9514500ce1d3f4532d39 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 01:52:14 +0000 Subject: [PATCH] chore: auto-fix lint & formatting [skip ci] --- docs/events/supported.md | 48 ++++++++++++++++++------------------- docs/zh/events/supported.md | 48 ++++++++++++++++++------------------- 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/docs/events/supported.md b/docs/events/supported.md index 569ce3a..08e1df8 100644 --- a/docs/events/supported.md +++ b/docs/events/supported.md @@ -4,31 +4,31 @@ WebHooker supports 23 GitHub webhook event types, each with a dedicated formatte ## Events Table -| Event | Description | Embed Highlights | -| ----------------------------- | ------------------------------ | ------------------------------------------------ | -| `push` | Code pushed to a branch | Commit list, branch, author, diff stats | -| `pull_request` | PR opened/closed/merged/edited | PR title, branch, diff stats, labels | -| `issues` | Issue opened/closed/edited | Issue title, labels, assignees | -| `issue_comment` | Comment on issue or PR | Comment body, issue reference | +| Event | Description | Embed Highlights | +| ----------------------------- | ------------------------------ | ------------------------------------------------------------------------------ | +| `push` | Code pushed to a branch | Commit list, branch, author, diff stats | +| `pull_request` | PR opened/closed/merged/edited | PR title, branch, diff stats, labels | +| `issues` | Issue opened/closed/edited | Issue title, labels, assignees | +| `issue_comment` | Comment on issue or PR | Comment body, issue reference | | `workflow_run` | CI/CD workflow phase updated | Workflow status, conclusion, duration; phases update a single message in place | -| `release` | Release published/edited | Tag, body, assets, pre-release flag | -| `create` | Branch or tag created | Ref name, ref type | -| `delete` | Branch or tag deleted | Ref name, ref type | -| `star` | Repository starred/unstarred | Star count, action | -| `fork` | Repository forked | Source → target fork | -| `check_run` | Check run completed | Status, conclusion, details URL | -| `pull_request_review` | PR review submitted | Review state (approved/changes/commented), body | -| `pull_request_review_comment` | Inline code review comment | File path, line number, comment body | -| `commit_comment` | Comment on a commit | Commit SHA, comment body | -| `deployment_status` | Deployment status updated | Environment, status, commit ref | -| `member` | Collaborator added/removed | Member login, action | -| `label` | Label created/edited/deleted | Label name, color, description | -| `milestone` | Milestone opened/closed | Progress bar, issue counts, due date | -| `discussion` | Discussion created/answered | Title, category, action | -| `discussion_comment` | Comment on discussion | Comment body, discussion reference | -| `repository` | Repo renamed/transferred | Old → new name, changes | -| `code_scanning_alert` | Code scanning alert | Severity, rule ID, file path | -| `dependabot_alert` | Dependabot alert | Severity, package, vulnerable range, fix version | +| `release` | Release published/edited | Tag, body, assets, pre-release flag | +| `create` | Branch or tag created | Ref name, ref type | +| `delete` | Branch or tag deleted | Ref name, ref type | +| `star` | Repository starred/unstarred | Star count, action | +| `fork` | Repository forked | Source → target fork | +| `check_run` | Check run completed | Status, conclusion, details URL | +| `pull_request_review` | PR review submitted | Review state (approved/changes/commented), body | +| `pull_request_review_comment` | Inline code review comment | File path, line number, comment body | +| `commit_comment` | Comment on a commit | Commit SHA, comment body | +| `deployment_status` | Deployment status updated | Environment, status, commit ref | +| `member` | Collaborator added/removed | Member login, action | +| `label` | Label created/edited/deleted | Label name, color, description | +| `milestone` | Milestone opened/closed | Progress bar, issue counts, due date | +| `discussion` | Discussion created/answered | Title, category, action | +| `discussion_comment` | Comment on discussion | Comment body, discussion reference | +| `repository` | Repo renamed/transferred | Old → new name, changes | +| `code_scanning_alert` | Code scanning alert | Severity, rule ID, file path | +| `dependabot_alert` | Dependabot alert | Severity, package, vulnerable range, fix version | ## Color Coding diff --git a/docs/zh/events/supported.md b/docs/zh/events/supported.md index 6f92f5e..beaf4c6 100644 --- a/docs/zh/events/supported.md +++ b/docs/zh/events/supported.md @@ -4,31 +4,31 @@ WebHooker 支持 23 种 GitHub webhook 事件类型,每种都有专用的格 ## 事件表 -| 事件 | 说明 | 嵌入亮点 | -| ----------------------------- | ---------------------- | -------------------------------------- | -| `push` | 代码推送到分支 | 提交列表、分支、作者、差异统计 | -| `pull_request` | PR 打开/关闭/合并/编辑 | PR 标题、分支、差异统计、标签 | -| `issues` | 议题打开/关闭/编辑 | 议题标题、标签、指派人 | -| `issue_comment` | 议题或 PR 的评论 | 评论内容、议题引用 | +| 事件 | 说明 | 嵌入亮点 | +| ----------------------------- | ---------------------- | ------------------------------------------------ | +| `push` | 代码推送到分支 | 提交列表、分支、作者、差异统计 | +| `pull_request` | PR 打开/关闭/合并/编辑 | PR 标题、分支、差异统计、标签 | +| `issues` | 议题打开/关闭/编辑 | 议题标题、标签、指派人 | +| `issue_comment` | 议题或 PR 的评论 | 评论内容、议题引用 | | `workflow_run` | CI/CD 工作流阶段更新 | 工作流状态、结论、耗时;各阶段原地更新同一条消息 | -| `release` | 发布创建/编辑 | 标签、内容、附件、预发布标记 | -| `create` | 分支或标签已创建 | 引用名称、引用类型 | -| `delete` | 分支或标签已删除 | 引用名称、引用类型 | -| `star` | 仓库加星/取消星标 | 星标数、操作 | -| `fork` | 仓库已复刻 | 源 → 目标复刻 | -| `check_run` | 检查运行完成 | 状态、结论、详情 URL | -| `pull_request_review` | PR 审查已提交 | 审查状态(已批准/需修改/已评论)、正文 | -| `pull_request_review_comment` | 行内代码审查评论 | 文件路径、行号、评论内容 | -| `commit_comment` | 提交的评论 | 提交 SHA、评论内容 | -| `deployment_status` | 部署状态更新 | 环境、状态、提交引用 | -| `member` | 协作者添加/移除 | 成员登录名、操作 | -| `label` | 标签创建/编辑/删除 | 标签名称、颜色、描述 | -| `milestone` | 里程碑打开/关闭 | 进度条、议题计数、截止日期 | -| `discussion` | 讨论创建/回答 | 标题、分类、操作 | -| `discussion_comment` | 讨论的评论 | 评论内容、讨论引用 | -| `repository` | 仓库重命名/转移 | 旧 → 新名称、变更 | -| `code_scanning_alert` | 代码扫描告警 | 严重程度、规则 ID、文件路径 | -| `dependabot_alert` | Dependabot 告警 | 严重程度、包、受影响版本、修复版本 | +| `release` | 发布创建/编辑 | 标签、内容、附件、预发布标记 | +| `create` | 分支或标签已创建 | 引用名称、引用类型 | +| `delete` | 分支或标签已删除 | 引用名称、引用类型 | +| `star` | 仓库加星/取消星标 | 星标数、操作 | +| `fork` | 仓库已复刻 | 源 → 目标复刻 | +| `check_run` | 检查运行完成 | 状态、结论、详情 URL | +| `pull_request_review` | PR 审查已提交 | 审查状态(已批准/需修改/已评论)、正文 | +| `pull_request_review_comment` | 行内代码审查评论 | 文件路径、行号、评论内容 | +| `commit_comment` | 提交的评论 | 提交 SHA、评论内容 | +| `deployment_status` | 部署状态更新 | 环境、状态、提交引用 | +| `member` | 协作者添加/移除 | 成员登录名、操作 | +| `label` | 标签创建/编辑/删除 | 标签名称、颜色、描述 | +| `milestone` | 里程碑打开/关闭 | 进度条、议题计数、截止日期 | +| `discussion` | 讨论创建/回答 | 标题、分类、操作 | +| `discussion_comment` | 讨论的评论 | 评论内容、讨论引用 | +| `repository` | 仓库重命名/转移 | 旧 → 新名称、变更 | +| `code_scanning_alert` | 代码扫描告警 | 严重程度、规则 ID、文件路径 | +| `dependabot_alert` | Dependabot 告警 | 严重程度、包、受影响版本、修复版本 | ## 颜色编码