(self)
| 426 | if x["name"].startswith("maint-")] |
| 427 | |
| 428 | def _get_issue(self): |
| 429 | if self.title.startswith("MINOR:"): |
| 430 | return None |
| 431 | |
| 432 | m = self.GITHUB_PR_TITLE_PATTERN.search(self.title) |
| 433 | if m: |
| 434 | github_id = m.group(1) |
| 435 | return GitHubIssue(self._github_api, github_id, self.cmd) |
| 436 | |
| 437 | self.cmd.fail("PR title should be prefixed by a GitHub ID, like: " |
| 438 | f"GH-XXX, but found {self.title}") |
| 439 | |
| 440 | def merge(self): |
| 441 | """ |
no test coverage detected