Skip to content

Github Action for Sending Wechat Wrok robot messages.

License

Notifications You must be signed in to change notification settings

x-actions/wechat-work

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Action for Sending Wechat Wrok robot messages.

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