Show More
@@ -49,10 +49,11 b' def merge_pr(num,github_api=3):' | |||
|
49 | 49 | if github_api == 2: |
|
50 | 50 | repo = pr['head']['repository']['url'] |
|
51 | 51 | owner = pr['head']['user']['name'] |
|
52 |
elif github_api == |
|
|
52 | elif github_api == 3 : | |
|
53 | 53 | repo = pr['head']['repo']['clone_url'] |
|
54 | 54 | owner = pr['head']['repo']['owner']['login'] |
|
55 | 55 | |
|
56 | ||
|
56 | 57 | branch = pr['head']['ref'] |
|
57 | 58 | mergeable = merge_branch(repo=repo, |
|
58 | 59 | branch=branch, |
General Comments 0
You need to be logged in to leave comments.
Login now