added link to verify_signature

This commit is contained in:
Wojciech Kubicki 2023-05-26 14:39:02 +02:00
parent 58d529c93c
commit a61b44d329
1 changed files with 57 additions and 56 deletions

1
app.py
View File

@ -30,6 +30,7 @@ def webhook():
# https://docs.github.com/en/enterprise-server@3.6/webhooks-and-events/webhooks/securing-your-webhooks#python-example
def verify_signature(payload_body, signature_header, secret_token):
"""Verify that the payload was sent from GitHub by validating SHA256.