diff --git a/.github/workflow/autocomment_issue.yml b/.github/workflow/autocomment_issue.yml index b45af24..d79efc3 100644 --- a/.github/workflow/autocomment_issue.yml +++ b/.github/workflow/autocomment_issue.yml @@ -1,35 +1,21 @@ -name: Auto Comment on Issue +name: Auto Comment on PR Merge on: - issues: - types: [opened] - -permissions: - issues: write + pull_request: + types: [closed] jobs: comment: + if: github.event.pull_request.merged == true runs-on: ubuntu-latest - + steps: - - name: Add Comment to Issue - run: | - COMMENT=$(cat <