From 6a2c52bbaab5f84872d698dbe094e3c2d44de935 Mon Sep 17 00:00:00 2001 From: xiaochenl Date: Mon, 19 Apr 2021 16:42:52 +0800 Subject: [PATCH] ci: add notice on Dingding when there is a pr opened add notify.yaml --- .github/workflows/notify.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/notify.yml diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml new file mode 100644 index 0000000..44e67ed --- /dev/null +++ b/.github/workflows/notify.yml @@ -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 \ No newline at end of file