Summary
Un-drafting a PR should cause existing S-waiting-on-author
label to be replaced by S-waiting-on-review
and not have both co-exist.
Example: rust-lang/rust#142357
Repro steps
- Open non-draft PR (no
S-waiting-on-*
labels by default)
@rustbot author
-> PR receives S-waiting-on-author
- Mark PR as draft
- Undraft PR -> PR receives
S-waiting-on-review
but S-waiting-on-author
isn't removed.
Current behavior
Both S-waiting-on-{author,review}
labels are present.
Expected behavior
Only one of S-waiting-on-{author,review}
labels are present; should become S-waiting-on-review
on un-draft.