Skip to content

Commit 33a6386

Browse files
authored
Merge pull request #325 from Anshika-Jain02/DEVSINTECH-246
auto-comment.yml is added
2 parents ef2a555 + b2b950a commit 33a6386

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

.github/workflows/auto-comment.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Auto Comment
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
- closed
7+
- assigned
8+
pull_request:
9+
types:
10+
- opened
11+
- closed
12+
13+
jobs:
14+
run:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Auto Comment on Issues Opened
18+
uses: wow-actions/auto-comment@v1
19+
with:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
issuesOpened: |
22+
👋 @{{ author }}
23+
24+
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
25+
26+
Please make sure you have given us as much context as possible.
27+
28+
- name: Auto Comment on Issues Closed
29+
uses: wow-actions/auto-comment@v1
30+
with:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
issuesClosed: |
33+
👋 @{{ author }} This issue is closed.
34+
35+
- name: Auto Comment on Pull Request Merged
36+
uses: wow-actions/auto-comment@v1
37+
with:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
pullRequestMerged: |
40+
👋 @{{ author }} 🎉 Congrats on your merged pull request! Thanks for the valuable contribution! 👏🎉 Congrats on your merged pull request! Thanks for the valuable contribution! 👏
41+
42+
- name: Auto Comment on Pull Request Opened
43+
uses: wow-actions/auto-comment@v1
44+
with:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
pullRequestOpened: |
47+
Hello👋 @{{ author }}, I hope you are doing well!
48+
<br>
49+
Thank you for raising your pull request and contributing to our Community 🎉
50+
51+
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
52+
53+
- name: Auto Comment on Issues Assigned
54+
uses: wow-actions/auto-comment@v1
55+
with:
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
issuesAssigned: |
58+
Hello @{{ author }}, thank you for raising an issue. 🙌 Kindly wait for the maintainers to assign you the issue before starting any work on it. If you encounter any problems, please feel free to connect with us. 👍
59+
60+

0 commit comments

Comments
 (0)