Skip to content

Commit

Permalink
Update web hook.
Browse files Browse the repository at this point in the history
  • Loading branch information
PortSwiggerWiener committed Nov 27, 2023
1 parent 1a64792 commit 423f767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/issue_webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.issue.user.login }}
TITLE: ${{ github.event.issue.title }}
Expand Down

0 comments on commit 423f767

Please sign in to comment.