XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

[ADDED]: Auto comment feature

eee91b33
Pratham Mahajan <111378171+Killer2OP@users.noreply.github.com>
提交于

代码差异

1 个文件 +51 -0
Added .github/workflows/auto-comments.yml +51 -0
@@ -0,0 +1,51 @@
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 Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
24 Please make sure you have given us as much context as possible.
25 - name: Auto Comment on Issues Closed
26 uses: wow-actions/auto-comment@v1
27 with:
28 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29 issuesClosed: |
30 👋 @{{ author }} This issue is closed.
31 - name: Auto Comment on Pull Request Merged
32 uses: wow-actions/auto-comment@v1
33 with:
34 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35 pullRequestMerged: |
36 👋 @{{ author }} 🎉 Congrats on your merged pull request! Thanks for the valuable contribution! 👏🎉 Congrats on your merged pull request! Thanks for the valuable contribution! 👏
37 - name: Auto Comment on Pull Request Opened
38 uses: wow-actions/auto-comment@v1
39 with:
40 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41 pullRequestOpened: |
42 Hello👋 @{{ author }}, I hope you are doing well!
43 <br>
44 Thank you for raising your pull request and contributing to our Community 🎉
45 Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
46 - name: Auto Comment on Issues Assigned
47 uses: wow-actions/auto-comment@v1
48 with:
49 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50 issuesAssigned: |
51 Hello @{{ author }}, 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. 👍