通过 GitHub Actions 来发送消息到飞书
Actions 配置样例:
- name: feishu notify
uses: xiachufang/[email protected]
with:
webhook: ${{ secrets.FEISHU_WEBHOOK }}
title: I'm title
content: |
I'm message body
from: ${{ github.repository }}
更多示范例子见: test.yml
Variable | Required | Description |
---|---|---|
webhook |
true | webhook address |
title |
false | title of message |
content |
true | content of message |
message_type |
false | message type, optional: post , text , template , default: post |
msg_template_path |
false | message template path, only work when message_type is template |
msg_template_values |
false | message template fillings, , only work when message_type is template |
详细定义见: action.yml
Variable | Description |
---|---|
response |
API response from feishu |