Skip to content

Commit

Permalink
added some more changes to github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat2Jain committed Dec 6, 2023
1 parent 8d30f32 commit ca36891
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/thankyou.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ jobs:
steps:
- name: Thank You Message
run: |
echo "Thank you for making the pull request, @${{ github.actor }}!"
echo "Your contribution is appreciated. 🙌"
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"

0 comments on commit ca36891

Please sign in to comment.