Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x-actions/feishu
Github Action for Sending feishu robot messages.
https://github.com/x-actions/feishu
actions github-actions golang
Last synced: about 2 months ago
JSON representation
Github Action for Sending feishu robot messages.
- Host: GitHub
- URL: https://github.com/x-actions/feishu
- Owner: x-actions
- License: apache-2.0
- Created: 2022-12-04T11:39:58.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-18T11:14:29.000Z (about 2 years ago)
- Last Synced: 2024-03-15T15:21:26.374Z (10 months ago)
- Topics: actions, github-actions, golang
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github Action for Feishu Robot Messages
[![build-test](https://github.com/x-actions/feishu/actions/workflows/workflow.yaml/badge.svg)](https://github.com/x-actions/feishu/actions/workflows/workflow.yaml)
[![GoDoc](https://godoc.org/github.com/x-actions/feishu?status.svg)](https://pkg.go.dev/github.com/x-actions/feishu)
[![Go Report Card](https://goreportcard.com/badge/github.com/x-actions/feishu)](https://goreportcard.com/report/github.com/x-actions/feishu)Github Action for Sending feishu robot messages.
## Environment Variables
- FEISHU_CUSTOMERBOT_WEBHOOK: feishu access token
- FEISHU_CUSTOMERBOT_SECRET: feishu secret## How to Use
```
- name: Sending Feishu Message
uses: x-actions/feishu@main
env:
FEISHU_CUSTOMERBOT_WEBHOOK: ${{ secrets.FEISHU_CUSTOMERBOT_WEBHOOK }}
FEISHU_CUSTOMERBOT_SECRET: ${{ secrets.FEISHU_CUSTOMERBOT_SECRET }}
MSGTYPE: interactive
TITLE: "x-actions feishu message"
CONTENT: |
> Build Github Action Done.
> ^_^
```## Options
- release
```
git tag v0.1.0
git push origin --tags
```- download
```
curl -Lfs -o feishu https://github.com/x-actions/feishu/releases/latest/download/feishu-{linux|darwin|windows}
chmod +x feishu
./feishu
```- help
```
Usage of ./feishu:
```## Docs
- https://www.feishu.cn/hc/zh-CN/articles/360024984973
- https://open.feishu.cn/document/ukTMukTMukTM/uETO1YjLxkTN24SM5UjN
- https://github.com/larksuite/oapi-sdk-go/blob/v3_main/README.md