Commit 2c127be
fix(create-pr): skip auto-complete API call on draft PRs (#194)
When both draft: true and auto-complete: true are configured, skip the
autoCompleteSetBy API call since ADO silently ignores auto-complete on
draft PRs. The existing warning is preserved so operators are aware of
the conflict.
This prevents a pointless API call and avoids silent behavior loss when
draft: true became the default in PR #155.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 82e2ec8 commit 2c127be
1 file changed
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1391 | 1391 | | |
1392 | 1392 | | |
1393 | 1393 | | |
1394 | | - | |
1395 | | - | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
1396 | 1397 | | |
1397 | 1398 | | |
1398 | 1399 | | |
| |||
2253 | 2254 | | |
2254 | 2255 | | |
2255 | 2256 | | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
2256 | 2276 | | |
0 commit comments