Skip to content

Commit 1f953e7

Browse files
Customize greetings for first-time issues and PRs
Updated greetings.yml to specify event types for pull requests and issues, and customized greeting messages for first-time contributors.
1 parent 542466a commit 1f953e7

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/greetings.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Greetings
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
issues:
7+
types: [opened]
8+
9+
jobs:
10+
greeting:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
issues: write
14+
pull-requests: write
15+
steps:
16+
- uses: actions/first-interaction@v1
17+
with:
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
issue-message: |
20+
Hello @${{ github.event.issue.user.login }}! 👋
21+
22+
Thank you for opening your first issue in this repository! This is an automated message from Aadityansha.
23+
24+
I really appreciate you taking the time to contribute. I'll review your issue as soon as possible and get back to you.
25+
26+
In the meantime, please make sure you've provided all the necessary details to help me understand and address your concern.
27+
28+
Happy coding! (⁠ ⁠◜⁠‿⁠◝⁠ ⁠)⁠♡
29+
30+
pr-message: |
31+
Hello @${{ github.event.pull_request.user.login }}! 👋
32+
33+
Thank you for opening your first pull request in this repository! This is an automated message from Aadityansha.
34+
35+
I'm excited to see your contribution! I'll review your PR as soon as possible. Please make sure:
36+
- Your code follows the project's coding standards
37+
- No merge conflict
38+
- You've provided a clear description of your changes
39+
- If possible provide img of working feature
40+
41+
Thanks for contributing to this project! (⁠◍⁠•⁠ᴗ⁠•⁠◍⁠)⁠❤

0 commit comments

Comments
 (0)