|
| 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