Merge branch 'master' of ssh://bitbucket.org/yackob03/quay into carmensandiego
This commit is contained in:
commit
da12b940a9
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ class GithubBuildTrigger(BuildTrigger):
|
|||
|
||||
def handle_trigger_request(self, request, auth_token, config):
|
||||
payload = request.get_json()
|
||||
if not payload or not 'head_commit' in payload:
|
||||
if not payload or payload.get('head_commit') is None:
|
||||
raise SkipRequestException()
|
||||
|
||||
if 'zen' in payload:
|
||||
|
|
Reference in a new issue