Skip to content

Commit

Permalink
🔧 chore: Create pr-welcome.yml [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 authored Oct 26, 2023
1 parent 4e55028 commit 51acc6e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pr-welcome.yml
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'

0 comments on commit 51acc6e

Please sign in to comment.