From 6be5768199268145ad4943410a74d60d5b275b65 Mon Sep 17 00:00:00 2001 From: Suhani Singh Paliwal <161575955+suhanipaliwal@users.noreply.github.com> Date: Wed, 29 May 2024 01:01:29 +0530 Subject: [PATCH 1/2] Create auto-comment-pr-raise.yml --- .github/workflows/auto-comment-pr-raise.yml | 36 +++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/auto-comment-pr-raise.yml diff --git a/.github/workflows/auto-comment-pr-raise.yml b/.github/workflows/auto-comment-pr-raise.yml new file mode 100644 index 0000000..0d8e4ba --- /dev/null +++ b/.github/workflows/auto-comment-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 < Date: Wed, 29 May 2024 01:56:01 +0530 Subject: [PATCH 2/2] Update auto-comment-pr-raise.yml --- .github/workflows/auto-comment-pr-raise.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-comment-pr-raise.yml b/.github/workflows/auto-comment-pr-raise.yml index 0d8e4ba..408ef07 100644 --- a/.github/workflows/auto-comment-pr-raise.yml +++ b/.github/workflows/auto-comment-pr-raise.yml @@ -17,7 +17,7 @@ jobs: run: | COMMENT=$(cat <