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.
Summary
Un-drafting a PR should cause existing
S-waiting-on-authorlabel to be replaced byS-waiting-on-reviewand not have both co-exist.Example: rust-lang/rust#142357
Repro steps
S-waiting-on-*labels by default)@rustbot author-> PR receivesS-waiting-on-authorS-waiting-on-reviewbutS-waiting-on-authorisn'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 becomeS-waiting-on-reviewon un-draft.