ci: add notice on Dingding when there is a pr opened

add notify.yaml
This commit is contained in:
xiaochenl 2021-04-19 16:42:52 +08:00
parent 94e2ea2804
commit 6a2c52bbaa
1 changed files with 20 additions and 0 deletions

20
.github/workflows/notify.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Notify
on:
pull_request:
types: [opened, reopened]
jobs:
notify:
name: notify on DingTalk
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Ding Talk PR Notify
uses: lijinke666/ding-talk-pr-notify@main
with:
ding_talk_token: ${{ secrets.DING_TALK_ACCESS_TOKEN }}
repo_url: https://github.com/meshplus/bitxhub/pull
at_all: false