Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.42 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.42 KB

actions-feishu

Lint build-test

通过 GitHub Actions 来发送消息到飞书

Quick start

Actions 配置样例:

    - name: feishu notify
      uses: xiachufang/actions-feishu@v1.3
      with:
        webhook: ${{ secrets.FEISHU_WEBHOOK }}
        title: I'm title
        content: |
          I'm message body

          from: ${{ github.repository }}

更多示范例子见: test.yml

Configuration

Inputs

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

Outputs

Variable Description
response API response from feishu