(
prNumber: number,
options: { title?: string; body?: string },
)
| 143 | * Update an existing PR |
| 144 | */ |
| 145 | export async function updatePr( |
| 146 | prNumber: number, |
| 147 | options: { title?: string; body?: string }, |
| 148 | ) { |
| 149 | await request("PATCH /repos/{owner}/{repo}/pulls/{pull_number}", { |
| 150 | ...requestOptions(), |
| 151 | pull_number: prNumber, |
| 152 | ...options, |
| 153 | }); |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * Close a PR with an optional comment |
no test coverage detected