Skip to content

Commit

Permalink
Fix GitHub secret
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jul 5, 2024
1 parent 035101d commit 40bfabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_app_geo_project/views/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def webhook(request: pyramid.request.Request) -> dict[str, None]:
raise pyramid.httpexceptions.HTTPBadRequest("No signature in the request")

our_signature = hmac.new(
key=os.environ["GITHUB_SECRET"].encode("utf-8"),
key=github_secret.encode("utf-8"),
msg=request.body,
digestmod=hashlib.sha256,
).hexdigest()
Expand Down

0 comments on commit 40bfabc

Please sign in to comment.