diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml new file mode 100644 index 00000000..60adc817 --- /dev/null +++ b/.github/workflows/auto-author-assign.yml @@ -0,0 +1,14 @@ +name: Auto Author Assign + +on: + pull_request_target: + types: [opened, reopened] + +permissions: + pull-requests: write + +jobs: + assign-author: + runs-on: ubuntu-latest + steps: + - uses: toshimaru/auto-author-assign@v2.1.0 diff --git a/.github/workflows/auto-comment.yml b/.github/workflows/auto-comment.yml new file mode 100644 index 00000000..809fa3e1 --- /dev/null +++ b/.github/workflows/auto-comment.yml @@ -0,0 +1,30 @@ +name: Auto Comment +on: + issues: + pull_request_target: + types: [closed, opened] +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: wow-actions/auto-comment@v1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + issuesOpened: | + 👋 @{{ author }} + Thank you for creating an issue. We will look into the matter and get back to you as soon as possible. Keep up the great work! + + pullRequestOpened: | + 👋 @{{ author }} + Your pull request is successfully submitted. Our dedicated team will review it diligently. + + issuesClosed: | + 👋 @{{ author }}. This issue is closed. + + pullRequestMerged: | + Congratulations @${{ github.actor }}! 🎉 Your pull request is merged. We appreciate your efforts to improve our project and your contribution is valuable. + + issuesAssigned: | + 👋 @{{ author }} + I have assigned the issue to you. You can now start working on it. If you have any queries or require guidance, do not hesitate to ask. + diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml deleted file mode 100644 index a248bdbd..00000000 --- a/.github/workflows/greetings.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Greetings - -on: [pull_request, issues] - -jobs: - greeting: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/first-interaction@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: 'Hey, @${{ github.actor }} welcome to ReactCreations repository.🎊 Thank you so much for taking the time to point this out.🙌' - pr-message: 'Hey, @${{ github.actor }} welcome to ReactCreations repository.🎊 Thank you so much for taking the effort to make our project better! 🙌 Keep making such awesome contributions!' \ No newline at end of file