diff --git a/.github/workflows/autocomment.yaml b/.github/workflows/autocomment.yaml new file mode 100644 index 00000000..b0857392 --- /dev/null +++ b/.github/workflows/autocomment.yaml @@ -0,0 +1,30 @@ +name: Auto Comment on PR Merge + +on: + pull_request: + types: [closed] + +jobs: + comment: + runs-on: ubuntu-latest + if: github.event.pull_request.merged == true + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Add Comment to Issue + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + COMMENT=$(cat <