(pr)
| 292 | return issue |
| 293 | |
| 294 | def find_merge_commit(pr): |
| 295 | commit = None |
| 296 | for node in pr["timelineItems"]["nodes"]: |
| 297 | if not node: |
| 298 | continue |
| 299 | if not node["__typename"] == "MergedEvent": |
| 300 | continue |
| 301 | if "commit" in node: |
| 302 | commit = node["commit"]["oid"] |
| 303 | break |
| 304 | return commit |
| 305 | |
| 306 | def find_reference_commits(pr): |
| 307 | commits = [] |
no outgoing calls
no test coverage detected