From 3475a569f145d37de0a53e8a649bf19dadeb1e57 Mon Sep 17 00:00:00 2001 From: Suhani Singh Paliwal <161575955+suhanipaliwal@users.noreply.github.com> Date: Fri, 9 Aug 2024 01:42:26 +0530 Subject: [PATCH 1/2] Update greetings.yaml --- .github/workflows/greetings.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/greetings.yaml b/.github/workflows/greetings.yaml index 704db0e2..d13a4674 100644 --- a/.github/workflows/greetings.yaml +++ b/.github/workflows/greetings.yaml @@ -6,11 +6,9 @@ jobs: greeting: runs-on: ubuntu-latest permissions: - issues: write pull-requests: write steps: - uses: actions/first-interaction@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: "Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible." pr-message: "Welcome to Our repository.🎊 Thank you so much for taking the time to point this out." From 3fad3e4eaded792f47acbbd6f67a4c989420d5b8 Mon Sep 17 00:00:00 2001 From: Suhani Singh Paliwal <161575955+suhanipaliwal@users.noreply.github.com> Date: Fri, 9 Aug 2024 01:44:05 +0530 Subject: [PATCH 2/2] Create auto-comment-on-issue.yml --- .github/auto-comment-on-issue.yml | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/auto-comment-on-issue.yml diff --git a/.github/auto-comment-on-issue.yml b/.github/auto-comment-on-issue.yml new file mode 100644 index 00000000..361f9b64 --- /dev/null +++ b/.github/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 <