From 83d444bda0842294bd57e3d10580e81f2b0b80bb Mon Sep 17 00:00:00 2001 From: Suhani Singh Paliwal <161575955+suhanipaliwal@users.noreply.github.com> Date: Wed, 29 May 2024 00:48:46 +0530 Subject: [PATCH 1/3] Create auto-comment-on-issue.yml --- .github/workflows/auto-comment-on-issue.yml | 35 +++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/auto-comment-on-issue.yml diff --git a/.github/workflows/auto-comment-on-issue.yml b/.github/workflows/auto-comment-on-issue.yml new file mode 100644 index 000000000..361f9b648 --- /dev/null +++ b/.github/workflows/auto-comment-on-issue.yml @@ -0,0 +1,35 @@ +name: Auto Comment on Issue + +on: + issues: + types: [opened] + +permissions: + issues: write + +jobs: + comment: + runs-on: ubuntu-latest + + steps: + - name: Add Comment to Issue + run: | + COMMENT=$(cat < Date: Wed, 29 May 2024 00:54:50 +0530 Subject: [PATCH 2/3] 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 000000000..0d8e4baeb --- /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: Sat, 1 Jun 2024 01:17:39 +0530 Subject: [PATCH 3/3] 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 0d8e4baeb..9bf182330 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 <