webhook_github.py
Webhook handler for GitHub webhook events.
GithubWebhookAdapter
¶
Bases: WebhookAdapter
Adapter for handling GitHub webhooks.
Source code in taglyatelle/webhooks/webhook_github.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | |
verify_signature(payload_body, secret_token)
¶
Verify the HMAC signature of the payload.
Parameters¶
payload_body The raw body of the webhook payload (bytes)
secret_token The webhook secret token
Source code in taglyatelle/webhooks/webhook_github.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | |