From 839be61ee5e805c9f7140d4fd49f7aba3be8ea30 Mon Sep 17 00:00:00 2001 From: Vijay Shanker Sharma Date: Fri, 14 Jun 2024 12:29:05 +0530 Subject: [PATCH] Added auto comment on PR raise --- .github/workflows/autocomment-pr-raise.yml | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/autocomment-pr-raise.yml diff --git a/.github/workflows/autocomment-pr-raise.yml b/.github/workflows/autocomment-pr-raise.yml new file mode 100644 index 00000000..8a551560 --- /dev/null +++ b/.github/workflows/autocomment-pr-raise.yml @@ -0,0 +1,36 @@ +name: Auto Comment on PR + +on: + pull_request_target: + types: [opened] + +permissions: + issues: write + pull-requests: write + +jobs: + comment: + runs-on: ubuntu-latest + + steps: + - name: Add Comment to Pull Request + run: | + COMMENT=$(cat <