ant-design/.github/workflows/pr-contributor-welcome.yml

35 lines
1.3 KiB
YAML
Raw Normal View History

# 当 PR 被合并时,留言欢迎加入共建群
name: PullRequest Contributor Welcome
on:
2023-12-25 10:29:53 +08:00
pull_request_target:
types:
- closed
paths:
- 'components/**'
2023-12-25 10:29:53 +08:00
permissions:
contents: read
jobs:
comment:
2023-12-25 10:29:53 +08:00
permissions:
issues: write # for actions-cool/maintain-one-comment to modify or create issue comments
pull-requests: write # for actions-cool/maintain-one-comment to modify or create PR comments
if: github.event.pull_request.merged == true && github.repository == 'ant-design/ant-design'
runs-on: ubuntu-latest
steps:
- name: Comment on PR
uses: actions-cool/maintain-one-comment@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
body: |
🎉 Thank you for your contribution! If you have not yet joined our DingTalk community group, please feel free to join us (when joining, please provide the link to this PR).
🎉 感谢您的贡献!如果您还没有加入钉钉社区群,请扫描下方二维码加入我们(加群时请提供此 PR 链接)。
<img src="https://github.com/ant-design/ant-design/assets/5378891/e24c6080-bf38-4523-b1cd-f6c43ad7375f" height="200" />
<!-- WELCOME_CONTRIBUTION -->
2023-12-25 10:29:53 +08:00
body-include: '<!-- WELCOME_CONTRIBUTION -->'