-
-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 chore: Create pr-welcome.yml [skip ci]
- Loading branch information
1 parent
4e55028
commit 51acc6e
Showing
1 changed file
with
27 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,27 @@ | ||
name: PR Welcome | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- closed | ||
|
||
jobs: | ||
if_merged: | ||
name: Check merged and add comment | ||
if: github.event.pull_request.merged == true | ||
permissions: | ||
issues: write # for actions-cool/issues-helper to update issues | ||
pull-requests: write # for actions-cool/issues-helper to update PRs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions-cool/pr-welcome@main | ||
with: | ||
token: ${{ secrets.GH_TOKEN }} | ||
comment: | | ||
❤️ Great PR @${{ github.event.pull_request.user.login }} ❤️ | ||
The growth of project is inseparable from user feedback and contribution, thanks for your contribution! | ||
项目的成长离不开用户反馈和贡献,感谢您的贡献! | ||
emoji: 'hooray' | ||
pr-emoji: '+1, heart' |