// hasConflict determines whether a pull request has a merge conflict
hasConflict determines whether a pull request has a merge conflict
// hasConflict determines whether a pull request has a merge conflict
func hasConflict(pr GithubPullRequest) bool {
	if pr.Mergeable == githubv4.MergeableStateUnknown {
		log.Println("Unable to determine pull request's mergable state. Consider increasing config.yml: dual_pass.wait_duration " +
			"to give Github more time to calculate mergable state.")
		return false
	}
	if pr.Mergeable != githubv4.MergeableStateConflicting {
		return false
	}
	if !services.files().Exists(".gitattributes") {
		return true
	}
	return !tryMerge(pr)
}
func hasConflict ( pr GithubPullRequest ) bool { if pr . Mergeable == githubv4 . MergeableStateUnknown { log . Println ( " " + " " ) return false } if pr . Mergeable != githubv4 . MergeableStateConflicting { return false } if ! services . files ( ) . Exists ( " " ) { return true } return ! tryMerge ( pr ) }
hasConflict determines whether a pull request has a merge conflict
hasConflict determines whether a pull request has a merge conflict
// when a pr's mergable state is conflicting and no .gitattributes exists, there is no chance it is mergeable