90DaysOfDevOps/.github/workflows/Auto_message_on_pr_merge.yml
2023-05-11 02:51:49 +05:30

20 lines
634 B
YAML

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"