Commit 2424439
committed
Short-circuit run resolution on default branch
- Move the default branch check before ResolveLatestRun call
- When on the default branch, use repo-level data directly
instead of waiting for run resolution to fail first
- Avoids unnecessary API call and error handling path1 parent eca147f commit 2424439
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
310 | 316 | | |
311 | 317 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | 318 | | |
317 | 319 | | |
318 | 320 | | |
| |||
0 commit comments