From 3779fec2cf1f4799a65b8acd77ed03f3d6e8afb7 Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Sat, 6 Feb 2021 19:16:09 +0800 Subject: [PATCH] ci: add pr welcome (#29238) * ci: add pr welcome * Update .github/workflows/pr-welcome.yml Co-authored-by: Rustin Liu * Update .github/workflows/pr-welcome.yml Co-authored-by: Rustin Liu Co-authored-by: Rustin Liu --- .github/workflows/pr-welcome.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/pr-welcome.yml diff --git a/.github/workflows/pr-welcome.yml b/.github/workflows/pr-welcome.yml new file mode 100644 index 0000000000..c751e27051 --- /dev/null +++ b/.github/workflows/pr-welcome.yml @@ -0,0 +1,21 @@ +name: PR Welcome + +on: + pull_request_target: + types: [opened, edited, reopened] + +jobs: + welcome: + runs-on: ubuntu-latest + steps: + - uses: actions-cool/pr-welcome@v1.0.0 + with: + token: ${{ secrets.ANT_BOT_TOKEN }} + refuse-issue-label: '🎱 Collaborate PR only' + need-creator-authority: 'write' + comment: | + Hi @${{ github.event.pull_request.user.login }}. The issue mentioned in this PR needs to be confirmed with the designer or core team. This PR is temporarily not accepted. Thank you again for your contribution! 😊 + + 你好 @${{ github.event.pull_request.user.login }}。这个 PR 提及的 issue 需要和设计师或核心团队进行确认,暂时不接受 PR,再次感谢你的贡献!😊 + emoji: 'heart' + close: true