diff --git a/.github/workflows/Auto_message_on_pr_merge.yml b/.github/workflows/Auto_message_on_pr_merge.yml new file mode 100644 index 0000000..d06f122 --- /dev/null +++ b/.github/workflows/Auto_message_on_pr_merge.yml @@ -0,0 +1,19 @@ +name: Auto message on Pr merge + +on: + pull_request_target: + types: [closed] + +jobs: + auto-response: + runs-on: ubuntu-latest + + steps: + - uses: derekprior/add-autoresponse@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + respondableId: ${{ github.event.pull_request.node_id }} + response: "Thank you @${{ github.event.pull_request.user.login }} for taking out your valuable time in order to contribute to our project. Looking forward for more such amazing contributions :)" + author: ${{ github.event.pull_request.user.login }} + exemptedAuthors: "Vikash-8090-Yadav"