Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x-actions/dingtalk
Github Action for Sending Dingtalk robot messages.
https://github.com/x-actions/dingtalk
actions ali dingtalk github githubactions
Last synced: about 2 months ago
JSON representation
Github Action for Sending Dingtalk robot messages.
- Host: GitHub
- URL: https://github.com/x-actions/dingtalk
- Owner: x-actions
- License: apache-2.0
- Created: 2020-01-25T13:34:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-27T14:44:28.000Z (about 2 years ago)
- Last Synced: 2024-03-14T14:20:50.889Z (11 months ago)
- Topics: actions, ali, dingtalk, github, githubactions
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github Action for Dingtalk Robot Messages
![](https://github.com/x-actions/dingtalk/workflows/dingtalk/badge.svg)
Github Action for Sending Dingtalk robot messages.
## Environment Variables
- DINGTALK_ACCESS_TOKEN: dingtalk access token
- DINGTALK_SECRET: dingtalk secret## How to Use
```
- name: Sending Dingtalk Message
uses: x-actions/dingtalk@master
env:
DINGTALK_ACCESS_TOKEN: ${{ secrets.DINGTALK_ACCESS_TOKEN }}
DINGTALK_SECRET: ${{ secrets.DINGTALK_SECRET }}
MSGTYPE: markdown
TITLE: "x-actions dingtalk message"
TEXT: |
# Noti
> Build Github Action Done.
> ^_^
```## Options
```
Usage of ./dingtalk:
-accessToken string
robot webhook access token
-atMobiles string
phones nums, like: phone1,phone2
-isAtAll
is at all
-messageUrl string
Message Url
-msgtype string
message type (text, link, markdown, actionCard, feedCard) (default "text")
-picUrl string
Message Picture Url
-secret string
robot webhook secret
-text string
text of message (default "This is a text")
-title string
title of message (default "This is a title")
```## Dingtalk Doc
- https://ding-doc.dingtalk.com/doc#/serverapi2/qf2nxq