gitlink-cli/skills/gitlink-webhook/SKILL.md

1.2 KiB
Raw Blame History

name version description metadata
gitlink-webhook 1.0.0 Webhook 配置与测试:列出、创建、查看、更新、删除并触发 webhook 测试。
requires cliHelp
bins
gitlink-cli
gitlink-cli webhook --help

gitlink-webhookWebhook 管理)

Shortcuts

Shortcut 说明
webhook +list 列出仓库 webhook
webhook +create 创建 webhook
webhook +view 查看 webhook 详情
webhook +update 更新 webhook
webhook +delete 删除 webhook
webhook +test 触发 webhook 测试投递
webhook +tasks 查看 webhook 投递任务历史
webhook +failed 查看投递失败的记录
webhook +task-view 查看单次投递的详细内容

使用示例

gitlink-cli webhook +list --owner Gitlink --repo forgeplus
gitlink-cli webhook +create --owner Gitlink --repo forgeplus \
  --url https://example.com/hook --events push,create
gitlink-cli webhook +test --owner Gitlink --repo forgeplus --id 68
gitlink-cli webhook +tasks --owner Gitlink --repo forgeplus --id 68
gitlink-cli webhook +failed --owner Gitlink --repo forgeplus --id 68
gitlink-cli webhook +task-view --owner Gitlink --repo forgeplus --id 68 --task-id 4775684