auto-comments.yml 2.0 KB

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