Bug 1356225 - Use merge for upstreaming wpt commits, a=testonly
MozReview-Commit-ID: 9NMEKlyrUrE
This commit is contained in:
@@ -49,6 +49,7 @@ class GitHub(object):
|
||||
if 200 <= resp.status_code < 300:
|
||||
return resp.json()
|
||||
else:
|
||||
print method, path, resp.status_code, resp.json()
|
||||
raise GitHubError(resp.status_code, resp.json())
|
||||
|
||||
def repo(self, owner, name):
|
||||
@@ -139,7 +140,7 @@ class PullRequest(object):
|
||||
"""Merge the Pull Request into its base branch.
|
||||
"""
|
||||
self.repo.gh.put(self.path("merge"),
|
||||
{"merge_method": "rebase"},
|
||||
{"merge_method": "merge"},
|
||||
headers={"Accept": "application/vnd.github.polaris-preview+json"})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user