Skip to content

Commit

Permalink
Add new workflow for greetings
Browse files Browse the repository at this point in the history
Create one new GitHub workflow named greetings. When community users submit
their first time issue or PR, the workflow runs and comments with
customized greetings to encourage them.
  • Loading branch information
tuhaihe authored and my-ship-it committed Jun 26, 2023
1 parent 2ac2964 commit 5566500
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Greetings

on: [pull_request_target, issues]

jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Hey, @${{ github.actor }} welcome!🎊 Thanks for taking the time to point this out.🙌"
pr-message: "Hiiii, @${{ github.actor }} welcome!🎊 Thanks for taking the effort to make our project better! 🙌 Keep making such awesome contributions!"

0 comments on commit 5566500

Please sign in to comment.