Skip to content

Script to Filter Out Email Addresses in Responses and Highlight Them if Found and another Script to Filter and Highlight Requests Using Deprecated HTTP Methods and another script to Highlight Responses With Developer Notes And another script to Highlight Suspicious JavaScript Functions #51

Script to Filter Out Email Addresses in Responses and Highlight Them if Found and another Script to Filter and Highlight Requests Using Deprecated HTTP Methods and another script to Highlight Responses With Developer Notes And another script to Highlight Suspicious JavaScript Functions

Script to Filter Out Email Addresses in Responses and Highlight Them if Found and another Script to Filter and Highlight Requests Using Deprecated HTTP Methods and another script to Highlight Responses With Developer Notes And another script to Highlight Suspicious JavaScript Functions #51

Workflow file for this run

name: Pull Request Webhook
on:
pull_request_target:
types: [opened, reopened, edited, synchronize]
jobs:
webhook:
runs-on: ubuntu-latest
steps:
- name: Push to Webhook
run: |
echo $AUTHOR $TITLE $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 }}
LINK: ${{ github.event.pull_request.html_url }}
WEBHOOK: ${{ secrets.WEBHOOK_URL }}
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}