Skip to content

Commit e552c7f

Browse files
Merge pull request #455 from notion-dotnet/workflow-to-greet-first-time-contributors
Add workflow to greet first-time contributors
2 parents 6c36729 + ae01e9e commit e552c7f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/greetings.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Greetings
2+
3+
on: [pull_request_target, issues]
4+
5+
jobs:
6+
greet-first-time-contributors:
7+
name: Greet First-Time Contributors
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
13+
steps:
14+
- name: Send greeting to first-time contributors
15+
uses: actions/first-interaction@v1
16+
with:
17+
repo-token: ${{ secrets.GITHUB_TOKEN }}
18+
issue-message: >
19+
👋 Hi there! Thanks for opening your first issue in this repository.
20+
We appreciate your contribution. A maintainer will take a look soon.
21+
pr-message: >
22+
🎉 Thanks for your first pull request!
23+
The team will review it shortly. We’re excited to have you contribute!

0 commit comments

Comments
 (0)