👷 add ding group 7 notification bot (#1982)

This commit is contained in:
Kuitos 2022-02-28 14:10:12 +08:00 committed by GitHub
parent d6a2757c2c
commit 83af3bb861
3 changed files with 31 additions and 1 deletions

View File

@ -97,3 +97,18 @@ jobs:
"text": "# qiankun [${{github.event.discussion.title}}](${{github.event.discussion.html_url}}) 新闻播报📢\n${{github.event.discussion.body}}", "text": "# qiankun [${{github.event.discussion.title}}](${{github.event.discussion.html_url}}) 新闻播报📢\n${{github.event.discussion.body}}",
} }
} }
- name: Send DingGroup7 Anouncement Notify
uses: zcong1993/actions-ding@master
if: github.event.discussion.category.name == 'Announcement'
with:
dingToken: ${{ secrets.DING_GROUP_7_TOKEN }}
secret: ${{ secrets.DING_GROUP_7_SIGN }}
body: |
{
"msgtype": "markdown",
"markdown": {
"title": "Qiankun News",
"text": "# qiankun [${{github.event.discussion.title}}](${{github.event.discussion.html_url}}) 新闻播报📢\n${{github.event.discussion.body}}",
}
}

View File

@ -92,6 +92,20 @@ jobs:
} }
} }
- name: Send DingGroup7 Notify
uses: zcong1993/actions-ding@master
with:
dingToken: ${{ secrets.DING_GROUP_7_TOKEN }}
secret: ${{ secrets.DING_GROUP_7_SIGN }}
body: |
{
"msgtype": "markdown",
"markdown": {
"title": "qiankun ${{github.event.release.tag_name}} 发布公告",
"text": "# qiankun [${{github.event.release.tag_name}}](${{github.event.release.html_url}}) 发布公告\n${{github.event.release.body}}",
}
}
- name: Send DingGroupInc Notify - name: Send DingGroupInc Notify
uses: zcong1993/actions-ding@master uses: zcong1993/actions-ding@master
with: with:

View File

@ -90,7 +90,8 @@
"umi-plugin-hire": "^1.0.3" "umi-plugin-hire": "^1.0.3"
}, },
"resolutions": { "resolutions": {
"@types/react": "^17.x" "@types/react": "^17.x",
"@types/history": "^4.x"
}, },
"husky": { "husky": {
"hooks": { "hooks": {