Skip to content

added a timer for better user exp #18

added a timer for better user exp

added a timer for better user exp #18

Workflow file for this run

name: Thank You on Pull Request
on:
pull_request:
types:
- opened
jobs:
thankyou:
runs-on: ubuntu-latest
steps:
- name: Thank You Message
run: |
PR_NUMBER=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
COMMENT="Thank you for making the pull request, @${{ github.actor }}! Your contribution is appreciated. 🙌"
curl -sSL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d '{"body":"'"$COMMENT"'"}' -H "Content-Type: application/json" -X POST "https://api.github.com/repos/${{ github.repository }}/issues/${PR_NUMBER}/comments"