diff --git a/.github/workflows/pr_webhook.yml b/.github/workflows/pr_webhook.yml index 827abab..442b4a9 100644 --- a/.github/workflows/pr_webhook.yml +++ b/.github/workflows/pr_webhook.yml @@ -12,7 +12,7 @@ jobs: - name: Push to webhook run: | echo $AUTHOR $TITLE $LINK - curl "$WEBHOOK" -X POST -H "Authorization: $AUTH_TOKEN" -d "$AUTHOR"$'\n'"$TITLE"$'\n'"$LINK" + curl "$WEBHOOK" -X POST -H "Content-Type: application/json" -H "Authorization: $AUTH_TOKEN" -d "$AUTHOR"$'\n'"$TITLE"$'\n'"$LINK" env: AUTHOR: ${{ github.event.pull_request.user.login }} TITLE: ${{ github.event.pull_request.title }}