-
Notifications
You must be signed in to change notification settings - Fork 31
74 lines (63 loc) · 2.59 KB
/
auto_comment.yml
File metadata and controls
74 lines (63 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: Auto Comment
on:
issues:
types:
- opened
- closed
- assigned
pull_request:
types:
- opened
- closed
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Check Author
id: check_author
run: echo "Author=${{ github.event.issue.user.login }}"
- name: Auto Comment on Issues Opened
uses: wow-actions/auto-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
issuesOpened: |
{{#if eq github.repository.owner.login author}}
👋 @{{ author }}
Thank you for raising this issue! We'll look into it ASAP.
Don't forget to give a ⭐️ & Happy coding!. 😊
{{else}}
👋 @{{ author }}
Thank you for raising this issue! We'll look into it ASAP.
As a contributor, we appreciate your help in improving this project! 😊
{{/if}}
- name: Auto Comment on Issues Closed
uses: wow-actions/auto-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
issuesClosed: |
👋 @{{ assignee }} This issue is closed.
Don't forget to give a ⭐️ & Happy coding!. 😊
- name: Auto Comment on Pull Request Merged
uses: wow-actions/auto-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pullRequestMerged: |
👋 @{{ author }} 🎉 Congrats on your merged pull request! Thanks for the valuable contribution!
Don't forget to give a ⭐️ & Happy coding!. 😊
- name: Auto Comment on Pull Request Opened
uses: wow-actions/auto-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pullRequestOpened: |
Hello👋 @{{ author }}, I hope you are doing well!
<br>
Thank you for raising your pull request and contributing to our repository 🎉
Please make sure you have followed our contributing guidelines. We will review it ASAP.
Don't forget to give a ⭐️ & Happy coding!. 😊
- name: Auto Comment on Issues Assigned
uses: wow-actions/auto-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
issuesAssigned: |
Hello @{{ assignee }}, thank you for raising an issue. 🙌 I have assigned the issue to you. You can now start working on it. If you encounter any problems, please feel free to connect with us. 👍
Don't forget to give a ⭐️ & Happy coding!. 😊