mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
3d627eb475
* ci: update changelog sample url in pr-open-check.yml * chore: update
50 lines
2.1 KiB
YAML
50 lines
2.1 KiB
YAML
name: PR Open Check
|
||
|
||
on:
|
||
pull_request_target:
|
||
types: [opened, edited, reopened, synchronize]
|
||
|
||
permissions:
|
||
contents: read
|
||
|
||
jobs:
|
||
refuse:
|
||
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
|
||
runs-on: ubuntu-latest
|
||
steps:
|
||
- uses: actions-cool/pr-welcome@v1
|
||
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,再次感谢你的贡献!😊
|
||
close: true
|
||
|
||
check-changelog:
|
||
permissions:
|
||
pull-requests: write # for actions-cool/pr-check-fill to create or update PR comments
|
||
runs-on: ubuntu-latest
|
||
steps:
|
||
- name: check fill
|
||
uses: actions-cool/pr-check-fill@v1
|
||
with:
|
||
filter-start: '|'
|
||
require-include: '🇺🇸 English, 🇨🇳 Chinese, 🇺🇸 英文, 🇨🇳 中文'
|
||
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#501
|
||
|
||
- 🚨 请填写 PR 中的 changelog
|
||
- 请用**面向开发者的角度**和**叙述方式撰写**,不描述修复细节
|
||
- **描述问题和对开发者的影响**
|
||
- **描述用户第一现场的问题**,而非你的解决方式
|
||
- 参考:https://ant.design/changelog-cn#501
|
||
skip-title-start: 'docs, chore, test, ci'
|