Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x-actions/wechat-work
Github Action for Sending Wechat Wrok robot messages.
https://github.com/x-actions/wechat-work
actions github githubactions
Last synced: 2 days ago
JSON representation
Github Action for Sending Wechat Wrok robot messages.
- Host: GitHub
- URL: https://github.com/x-actions/wechat-work
- Owner: x-actions
- License: mit
- Created: 2020-01-30T13:07:31.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-31T12:59:18.000Z (almost 5 years ago)
- Last Synced: 2024-03-14T20:04:31.646Z (11 months ago)
- Topics: actions, github, githubactions
- Language: Go
- Homepage:
- Size: 3.51 MB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github Action for Sending Wechat Wrok robot messages.
![](https://github.com/x-actions/wechat/workflows/wechat/badge.svg)
Github Action for Sending Wechat Wrok robot messages.
## Environment Variables
- WECHAT_WEBHOOK_KEY: wechat webhook key
## How to Use
```
- name: Sending Wechat Work Message
uses: x-actions/wechat-work@master
env:
WECHAT_WEBHOOK_KEY: ${{ secrets.WECHAT_WEBHOOK_KEY }}
MSGTYPE: markdown
CONTENT: |
# Wechat Work Noti
> ^_^
```## Options
```
./wechat_work
Usage of ./wechat_work:
-content string
content of message (default "This is a text")
-mentioned string
@user, like:"some","@all"
-msgtype string
message type (text, markdown, image, news) (default "markdown")
-webhookKey string
robot webhook access token
```## Doc
- [https://work.weixin.qq.com/api/doc/90000/90136/91770](https://work.weixin.qq.com/api/doc/90000/90136/91770)