diff --git a/.github/workflows/announcement-notify.yml b/.github/workflows/announcement-notify.yml index 3b1855e..48debdb 100644 --- a/.github/workflows/announcement-notify.yml +++ b/.github/workflows/announcement-notify.yml @@ -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}}", + } + } diff --git a/.github/workflows/release-notify.yml b/.github/workflows/release-notify.yml index 5b98b16..db1e878 100644 --- a/.github/workflows/release-notify.yml +++ b/.github/workflows/release-notify.yml @@ -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: diff --git a/package.json b/package.json index 5571a54..1c31a1a 100644 --- a/package.json +++ b/package.json @@ -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": {