ant-design/.github/workflows/pr-open-check.yml
2021-02-25 09:29:51 +08:00

28 lines
921 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: PR Refuse
on:
pull_request_target:
types: [opened, edited]
jobs:
refuse:
runs-on: ubuntu-latest
steps:
- uses: actions-cool/pr-welcome@v1.1.2
with:
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再次感谢你的贡献😊
pr-emoji: 'heart'
close: true
welcome:
runs-on: ubuntu-latest
steps:
- uses: actions-cool/pr-welcome@v1.1.2
with:
pr-emoji: '+1, heart'