(headRepository: string)
| 189 | } |
| 190 | |
| 191 | async getRepositoryParent(headRepository: string): Promise<string | null> { |
| 192 | const {data: headRepo} = await this.octokit.rest.repos.get({ |
| 193 | ...this.parseRepository(headRepository) |
| 194 | }) |
| 195 | if (!headRepo.parent) { |
| 196 | return null |
| 197 | } |
| 198 | return headRepo.parent.full_name |
| 199 | } |
| 200 | |
| 201 | async createOrUpdatePullRequest( |
| 202 | inputs: Inputs, |
no test coverage detected