diff --git a/.github/workflows/auto-comment-on-pr.yml b/.github/workflows/auto-comment-on-pr.yml new file mode 100644 index 00000000..69f37a01 --- /dev/null +++ b/.github/workflows/auto-comment-on-pr.yml @@ -0,0 +1,37 @@ +name: Auto Comment on PR Merge + +on: + pull_request_target: + types: [closed] + +permissions: + issues: write + pull-requests: write + +jobs: + comment: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + + steps: + - name: Add Comment to Merged PR + run: | + COMMENT=$(cat <