Skip to content

Commit 8ae9e83

Browse files
feat: Add workflow to welcome new contributors
1 parent f3f52d4 commit 8ae9e83

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/welcome.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Welcome First-Time Contributors
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
issues:
7+
types: [opened]
8+
9+
jobs:
10+
greet:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
pull-requests: write
14+
issues: write
15+
steps:
16+
- uses: actions/first-interaction@v1
17+
with:
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
issue-message: |
20+
Hello @${{ github.actor }}! 👋
21+
Thank you so much for taking the time to open your first issue with CodeTranslateAI. We appreciate you helping us make the project better!
22+
We'll take a look and get back to you soon.
23+
pr-message: |
24+
Hi @${{ github.actor }}! 🎉
25+
Welcome, and thank you for submitting your first pull request to CodeTranslateAI! We're thrilled to have your contribution.
26+
Please make sure you've read our CONTRIBUTING.md guide. We'll review your changes shortly.

0 commit comments

Comments
 (0)