From 878cb8c45bece8ea34d70733a71011ca6cf0c05e Mon Sep 17 00:00:00 2001 From: Vikash KUmar Yadav Date: Thu, 11 May 2023 02:52:26 +0530 Subject: [PATCH] added the github action when someone opens the pr --- .github/workflows/Auto_message_on_pr_open.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/Auto_message_on_pr_open.yml diff --git a/.github/workflows/Auto_message_on_pr_open.yml b/.github/workflows/Auto_message_on_pr_open.yml new file mode 100644 index 0000000..a932c05 --- /dev/null +++ b/.github/workflows/Auto_message_on_pr_open.yml @@ -0,0 +1,19 @@ +name: Auto message on PR opened + +on: + pull_request_target: + types: [opened] + +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: "Our team will soon review your PR. Thanks @${{ github.event.pull_request.user.login }} :)" + author: ${{ github.event.pull_request.user.login }} + exemptedAuthors: "Vikash-8090-Yadav"