Skip to content

feat: test

feat: test #8

Workflow file for this run

name: DingTalk Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: send to dingtalk
uses: visiky/dingtalk-release-notify@main
with:
DING_TALK_TOKEN: dd88546da75f580089cb9a8849dec0537004583babe2e55b09daddf001b46d03
notify_title: '🔥 @${{ github.event.discussion.user.login }} 创建了讨论:${{ github.event.discussion.title }} ${{ github.event.discussion.html_url }}'
notify_body: '### 🔥 @afc163 创建了讨论 \n ### [${{ github.event.discussion.title }}](${{ github.event.discussion.html_url }}) <hr />'
notify_footer: '> 💬 欢迎前往 GitHub 进行讨论,社区可能需要你的帮助。'
at_all: false # whether to ding everybody
# - name: dingtalk robot message
# uses: northwang-lucky/chatbot-webhook-client@v1.1.1
# with:
# app: DingTalk
# # webhook: "https://oapi.dingtalk.com/robot/send?access_token=${{ secrets.DING_TALK_ACCESS_TOKEN }}"
# webhook: "https://oapi.dingtalk.com/robot/send?access_token=dd88546da75f580089cb9a8849dec0537004583babe2e55b09daddf001b46d03"
# template: >-
# {
# "msgtype": "markdown",
# "markdown": {
# "title": "🔥 @${{ github.event.discussion.user.login }} 创建了讨论:${{ github.event.discussion.title }} ${{ github.event.discussion.html_url }}",
# "text": "### 🔥 @${{ github.event.discussion.user.login }} 创建了讨论 \n [${{ github.event.discussion.title }}](${{ github.event.discussion.html_url }}) <hr /> \n > 💬 欢迎前往 GitHub 进行讨论,社区可能需要你的帮助。"
# }
# }