Skip to content

Commit

Permalink
Merge pull request #111 from github/primetheus/webhook-verify
Browse files Browse the repository at this point in the history
Remove webhook verification bypass
  • Loading branch information
Chris McIntosh authored Feb 2, 2022
2 parents 2cfbb64 + ba026d4 commit effc1e4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions githubapp/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,6 @@ def _flask_view_func(self):
return jsonify({"status": status, "calls": calls})

def _verify_webhook(self):
if True:
return

hub_signature = "X-HUB-SIGNATURE"
if hub_signature not in request.headers:
LOG.warning("Github Hook Signature not found.")
Expand Down

0 comments on commit effc1e4

Please sign in to comment.