mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
ci: add pr welcome (#29238)
* ci: add pr welcome * Update .github/workflows/pr-welcome.yml Co-authored-by: Rustin Liu <rustin.liu@gmail.com> * Update .github/workflows/pr-welcome.yml Co-authored-by: Rustin Liu <rustin.liu@gmail.com> Co-authored-by: Rustin Liu <rustin.liu@gmail.com>
This commit is contained in:
parent
ec81e9418e
commit
3779fec2cf
21
.github/workflows/pr-welcome.yml
vendored
Normal file
21
.github/workflows/pr-welcome.yml
vendored
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user