-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add pr welcome action (#5249)
follow ant-design/ant-design#44184
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# 当 PR 被合并时,留言欢迎加入共建群 | ||
name: PullRequest Contributor Welcome | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- closed | ||
paths: | ||
- 'app/**' | ||
- 'site/**' | ||
- 'config/**' | ||
- 'lib/**' | ||
- 'test/**' | ||
- '*.js' | ||
- '*.ts' | ||
|
||
jobs: | ||
check-merged: | ||
runs-on: ubuntu-latest | ||
needs: read-file | ||
if: github.event.pull_request.merged == true | ||
steps: | ||
- uses: actions-cool/maintain-one-comment@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
body: | | ||
🎉 Thanks for contribution. Please feel free to join DingTalk Social Community (Provide the PR link please). | ||
🎉 感谢参与贡献,欢迎扫码(或搜索群号 21751340)加入钉钉社区(进群后请提供 PR 地址)。 | ||
<img src="https://github.com/eggjs/egg/assets/156269/110beda4-9d76-4124-a41e-1ecc26c35b84" height="200" /> | ||
<!-- WELCOME_CONTRIBUTION --> | ||
body-include: '<!-- WELCOME_CONTRIBUTION -->' |