func isAcceptPullRequestAction(prAction string) bool { return sliceutil.IsStringInSlice(prAction, []string{"opened", "reopened", "synchronize", "edited"}) }
func isAcceptEventType(eventKey string) bool { return sliceutil.IsStringInSlice(eventKey, []string{tagPushEventID, codePushEventID, mergeRequestEventID}) }
func isAcceptMergeRequestState(prAction string) bool { return sliceutil.IsStringInSlice(prAction, []string{"opened", "reopened"}) }
func isAcceptEventType(eventKey string) bool { return sliceutil.IsStringInSlice(eventKey, []string{"repo:push", "pullrequest:created", "pullrequest:updated"}) }