Sends a DingTalk notification. Simple as that.
Appearance on Dingtalk :
action "Dingtalk notification" {
uses = "cooperwu/action-dingtalk@master"
secrets = ["DINGTALK_WEBHOOK"]
args = "A new commit has been pushed."
}
The argument is the message to display in the Dingtalk notification.
Environment variables can be interpolated in the message using brackets ({{
and }}
) :
e.g.: Action called : {{ GITHUB_ACTION }}
args = "Hello, beautiful ! I ran a GitHub Actions for you <3"
args = "I showed you my commit. Please respond."
DINGTALK_WEBHOOK
: the Dingtalk webhook URL (required, see https://open-doc.dingtalk.com/docs/doc.htm).- That's all.
This repo is inspired by Ilshidur, forked from his Slack action