2021-02-25 20:02:16 +08:00
name : PR Open Check
2021-02-19 16:47:16 +08:00
on :
pull_request_target :
2021-08-31 19:05:40 +08:00
types : [ opened, edited, reopened, synchronize]
2021-02-19 16:47:16 +08:00
2022-04-11 11:15:26 +08:00
permissions :
contents : read
2021-02-19 16:47:16 +08:00
jobs :
refuse :
2022-04-11 11:15:26 +08:00
permissions :
issues : write # for actions-cool/pr-welcome to create, update & react on issues
pull-requests : write # for actions-cool/pr-welcome to request reviewer
2021-02-19 16:47:16 +08:00
runs-on : ubuntu-latest
steps :
2021-10-19 19:36:22 +08:00
- uses : actions-cool/pr-welcome@v1
2021-02-19 16:47:16 +08:00
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! 😊
2021-12-21 16:53:57 +08:00
你好 @${{ github.event.pull_request.user.login }}。这个 PR 提及的 issue 需要和设计师或核心团队进行确认,暂时不接受 PR, 再次感谢你的贡献! 😊
2021-02-19 16:47:16 +08:00
close : true
2021-03-19 16:58:44 +08:00
check-changelog :
2022-04-11 11:15:26 +08:00
permissions :
pull-requests : write # for actions-cool/pr-check-fill to create or update PR comments
2021-03-19 16:58:44 +08:00
runs-on : ubuntu-latest
steps :
- name : check fill
2021-10-19 19:36:22 +08:00
uses : actions-cool/pr-check-fill@v1
2021-03-19 16:58:44 +08:00
with :
filter-start : '|'
2021-03-21 11:36:48 +08:00
require-include : '🇺🇸 English, 🇨🇳 Chinese, 🇺🇸 英文, 🇨🇳 中文'
2021-03-19 16:58:44 +08:00
comment-body : |
- 🚨 Please fill changelog in the PR
- Write with a **developer-oriented perspective** and **narrative method**, without describing the details of the repair
- **Describing the problem and the impact on the developer**
- **describing the user-first site problem**, not your solution
- Refer : https://ant.design/changelog#4.9.0
- 🚨 请填写 PR 中的 changelog
- 请用**面向开发者的角度**和**叙述方式撰写**,不描述修复细节
- **描述问题和对开发者的影响**
- **描述用户第一现场的问题**,而非你的解决方式
- 参考: https://ant.design/changelog-cn#4.9.0
skip-title-start : 'docs, chore, test, ci'