diff options
| -rw-r--r-- | .github/workflows/pr_thanks.yaml | 20 | 
1 files changed, 20 insertions, 0 deletions
| diff --git a/.github/workflows/pr_thanks.yaml b/.github/workflows/pr_thanks.yaml new file mode 100644 index 0000000..2df61e0 --- /dev/null +++ b/.github/workflows/pr_thanks.yaml @@ -0,0 +1,20 @@ +name: PR Thanker + +on: +  pull_request: +    branches: +      - main +    types: [closed] + +jobs: +  thanks: +    runs-on: ubuntu-latest +    if: github.event.pull_request.merged == true +    steps: +      - name: Comment on PR +        uses: unsplash/comment-on-pr@master +        env: +          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +        with: +          msg: "Thanks!" +          check_for_duplicate_msg: true | 
