Skip to content

Commit

Permalink
chore: add pr welcome action (#5249)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 authored Aug 11, 2023
1 parent 3d5f1dc commit 3c82b4b
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/pr-contributor-welcome.yml
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 -->'

0 comments on commit 3c82b4b

Please sign in to comment.