Skip to content

test pr to check github workflows #4

test pr to check github workflows

test pr to check github workflows #4

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"