Repository navigation
Commit a61e5c9
authored
Require
## Summary
Marking a `uv-security` pull request ready for review can currently
publish it to the public `uv` repository. Require `bot:promote` as an
additional gate; `ready_for_review` remains the trigger.
Check the label before requesting promotion credentials, during
planning, and before publication, including the final read before
pushing private commits. Keep `uv-dev` promotion and existing writer and
revision checks unchanged.
## Test plan (on top of CI)
Exercised the workflow's shell steps with mocked GitHub and Git
commands. Verified missing and unrelated labels block promotion, label
removal before the final publication check stops the push, and unlabeled
`uv-dev` PRs still proceed. Also covered parent updates and existing
upstream branches and PRs.bot:promote for uv-security PR promotion (#21286)1 parent 2e7d28b commit a61e5c9
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
131 | 136 | | |
132 | 137 | | |
133 | 138 | | |
| |||
465 | 470 | | |
466 | 471 | | |
467 | 472 | | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
468 | 477 | | |
469 | 478 | | |
470 | 479 | | |
| |||
568 | 577 | | |
569 | 578 | | |
570 | 579 | | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
571 | 584 | | |
572 | 585 | | |
573 | 586 | | |
| |||
0 commit comments