From 68a90e1ee0f51d057d477a6a761f4b705a121e6e Mon Sep 17 00:00:00 2001 From: Anit Sarkar Date: Wed, 16 Oct 2024 17:07:47 +0530 Subject: [PATCH] Update auto-comment-issue.yml --- .github/workflows/auto-comment-issue.yml | 33 +++++++++++++----------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/.github/workflows/auto-comment-issue.yml b/.github/workflows/auto-comment-issue.yml index b880c026..61e71b46 100644 --- a/.github/workflows/auto-comment-issue.yml +++ b/.github/workflows/auto-comment-issue.yml @@ -1,21 +1,24 @@ -name: Auto Comment on Issue +name: 'Greetings' + on: + fork: + push: + branches: [main] issues: types: [opened] -permissions: - issues: write + pull_request_target: + types: [opened] + jobs: - comment: + welcome: runs-on: ubuntu-latest - permissions: - issues: write steps: - - name: Add Comment to Issue - run: | - COMMENT=$(cat <