cloudcomponents / cdk-constructs

A collection of higher-level reusable cdk constructs
MIT License
623 stars 101 forks source link

feat: add support for github webhook secret #173

Open lucadv opened 2 years ago

lucadv commented 2 years ago

This adds a secret to the config of the webhook. Without it we are unable to verify webhook signatures in POST requests. See https://docs.github.com/en/developers/webhooks-and-events/webhooks/securing-your-webhooks#validating-payloads-from-github