Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add merge_commit_sha and mergeable @properties to
pull_request.py:GitlabPullRequest. 'merge_commit_sha' maps exactly; however, in GitLab, the closest thing to 'mergeable' appears to be 'merge_status', which is a string that can take on values - "unchecked" - "checking" - "can_be_merged" - "cannot_be_merged" - "cannot_be_merged_recheck" For now, at least, we'll map "can_be_merged" to mergeable = True, and everything else to False. Signed-off-by: Ben Crocker <[email protected]>
- Loading branch information