Skip to content

Commit 5c2773f

Browse files
committed
housekeeping(welcome): notify employees when it is someones first PR
1 parent e3bbc77 commit 5c2773f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/welcome.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Welcome
2+
on:
3+
pull_request:
4+
types: [opened]
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: wow-actions/welcome@v1
10+
with:
11+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
FIRST_PR_REACTIONS: '+1, hooray, rocket, heart'
13+
FIRST_PR_COMMENT: |
14+
👋 Welcome @{{ author }} to Coder! Yo @coder/docs this is @{{ author }}'s first pull-request here!
15+
FIRST_PR_MERGED: |
16+
🎉 Thanks for the contribution @{{ author }}! Yo @coder/docs @{{ author }}'s first contribution has been merged! 👀👀👀

0 commit comments

Comments
 (0)