V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
stephCurry
V2EX  ›  git

webhooks 能否利用 server 酱发送 commit 的内容

  •  
  •   stephCurry · 2021-01-06 23:55:48 +08:00 · 1435 次点击
    这是一个创建于 1176 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如题,GitHub 的 webhooks,可以通过 payload URL 定义 https://sc.ftqq.com/[SCKEY].send?text=new-commits
    但是,想实现 server 酱推送消息 title 为 commit 的 msg,消息内容为更新的详细信息,这改如何实现?

    能否利用 github action 如 ${{ github.event.head_commit.message }} 这种?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2997 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 14:42 · PVG 22:42 · LAX 07:42 · JFK 10:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.