do not check for git source branch when using the webhook, let it fail naturally if not a git repo w/ burnettk

This commit is contained in:
jasquat 2023-09-29 16:39:02 -04:00
parent 8d2cf4666a
commit 720bb6755b
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -168,7 +168,6 @@ class GitService:
# only supports github right now
@classmethod
def handle_web_hook(cls, webhook: dict) -> bool:
cls.check_for_publish_configs()
if "repository" not in webhook or "clone_url" not in webhook["repository"]:
raise InvalidGitWebhookBodyError(
f"Cannot find required keys of 'repository:clone_url' from webhook body: {webhook}"