forked from packit/ogr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support using the merge ref instead of the head ref in a pull request
Add merge_commit_sha and merge_commit_status properties to GithubPullRequest class (and PullRequest superclass); merge_commit_status returns a CommitStatus, which is expanded with two new values, mergeable and notmergeable. GitHub's 'mergeable' boolean maps to CommitStatus.mergeable (true) or CommitStatus.notmergeable (false). GitLab's 'merge_status' string values map to CommitStatus.mergeable ("can_be_merged") or CommitStatus.notmergeable (everything else). New test_pull_requests.py:test_merge_commit_sha methods for GitHub and GitLab. OGR issue packit#584. Signed-off-by: Ben Crocker <[email protected]>
- Loading branch information
1 parent
9a8149e
commit 2301bf8
Showing
5 changed files
with
72 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters