Skip to content
bell

GitHub Action

WeChat Work Messenger

v1.0.0 Latest version

WeChat Work Messenger

bell

WeChat Work Messenger

Post WeChat Work messages from your own bot

Installation

Copy and paste the following snippet into your .yml file.

              

- name: WeChat Work Messenger

uses: chhpt/wechat-work-messenger@v1.0.0

Learn more about this action in chhpt/wechat-work-messenger

Choose a version

Post WeChat Work Messenger

This action wraps the WeChat Work Bot Post Message API which can be used to post markdown type notification messages.

本 Action 包装了企业微信机器人发送消息的 API,可以快速发送 Markown 格式的群通知消息。

用法

将发送消息的的 key 参数配置到 GitHub Secret 中,并配置发送的 Markdown 消息。

- name: Notify WeChat Work
  env:
    BOT_KEY: ${{ secrets.BOT_KEY }}
    BOT_MESSAGE: 'Markdown Message'
  uses: chhpt/wechat-work-messenger@master

License

基于 MIT License