forked from foxundermoon/feishu-action
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
32 lines (30 loc) · 1.05 KB
/
action.yml
File metadata and controls
32 lines (30 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: 'feishu bot action'
description: 'message by Feishu bot, super tiny. run one time cost 1s. support linux macos and windows, base node runner not by docker. Supports text, post, image, share_chat, interactive (card) message types.'
author: 'foxundermoon'
inputs:
url:
required: true
description: 'Feishu webhook URL'
msg_type:
required: false
description: |
Message type. Supported types:
- text: Plain text message
- post: Rich text message
- image: Image message
- share_chat: Share chat card
- interactive: Interactive card message (Feishu Card)
See: https://open.feishu.cn/document/client-docs/bot-v3/add-custom-bot
default: text
content:
required: true
description: |
Message content in YAML format.
For interactive (card) type, this should be the card JSON structure.
See: https://open.feishu.cn/document/feishu-cards/quick-start/send-message-cards-with-custom-bot
runs:
using: 'node20'
main: 'dist/index.js'
branding:
color: 'blue'
icon: 'message-square'