👷 add ding group 7 notification bot (#1982)
This commit is contained in:
parent
d6a2757c2c
commit
83af3bb861
15
.github/workflows/announcement-notify.yml
vendored
15
.github/workflows/announcement-notify.yml
vendored
|
|
@ -97,3 +97,18 @@ jobs:
|
|||
"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}}",
|
||||
}
|
||||
}
|
||||
|
|
|
|||
14
.github/workflows/release-notify.yml
vendored
14
.github/workflows/release-notify.yml
vendored
|
|
@ -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
|
||||
uses: zcong1993/actions-ding@master
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -90,7 +90,8 @@
|
|||
"umi-plugin-hire": "^1.0.3"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/react": "^17.x"
|
||||
"@types/react": "^17.x",
|
||||
"@types/history": "^4.x"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user