includes fix for #335 in exp branch
This commit is contained in:
parent
96e660381f
commit
b9c103cef8
1 changed files with 4 additions and 0 deletions
|
@ -152,6 +152,10 @@ func (r *Gitlab) ParseHook(req *http.Request) (*model.Hook, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
if len(parsed.After) == 0 || parsed.TotalCommitsCount == 0 {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
if parsed.ObjectKind == "merge_request" {
|
||||
// TODO (bradrydzewski) figure out how to handle merge requests
|
||||
return nil, nil
|
||||
|
|
Loading…
Reference in a new issue