Skip to content

Commit 545fda8

Browse files
feat: welcome first contributors when PR opens (#2236)
Co-authored-by: Willow (GHOST) <git@willow.sh>
1 parent bf754db commit 545fda8

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: welcome
1+
name: Claim Contributor Message
22

33
on:
44
pull_request_target:

.github/workflows/welcome-open.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Welcome Message
2+
3+
on:
4+
pull_request_target:
5+
branches: [main]
6+
types: [opened]
7+
8+
permissions:
9+
pull-requests: write
10+
11+
jobs:
12+
greeting:
13+
name: Greet First-Time Contributors
14+
if: github.repository == 'npmx-dev/npmx.dev'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: zephyrproject-rtos/action-first-interaction@58853996b1ac504b8e0f6964301f369d2bb22e5c
18+
with:
19+
pr-opened-message: |
20+
Hello! Thank you for opening your **first PR** to npmx, @${{ github.event.pull_request.user.login }}! 🚀
21+
22+
Here’s what will happen next:
23+
24+
1. Our GitHub bots will run to check your changes.
25+
If they spot any issues you will see some error messages on this PR.
26+
Don’t hesitate to ask any questions if you’re not sure what these mean!
27+
28+
2. In a few minutes, you’ll be able to see a preview of your changes on Vercel
29+
30+
3. One or more of our maintainers will take a look and may ask you to make changes.
31+
We try to be responsive, but don’t worry if this takes a few days.

0 commit comments

Comments
 (0)