mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-24 16:29:18 +00:00
Check for repo exists in validate-secret-repo-hook
This commit is contained in:
parent
8312df8a5f
commit
f89d8b1b35
@ -251,6 +251,7 @@
|
||||
debug-secret (apply str (take 5 (github/webhook-secret)))]
|
||||
(log/debug "validate secret one hook - repo exists and github origin" repo " - " debug-secret)
|
||||
(and (not (string/blank? secret))
|
||||
repo
|
||||
(crypto/eq? github-signature
|
||||
(str "sha1=" (hex-hmac-sha1 secret raw-payload))))))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user