sonatype-nexus-community/the-cla

Remove labels if we don't need them on an issue anymore (so remove failed if it's now passing, etc...)

Closed this issue · 1 comments

Basically right now, labels are getting created and added, but not removed when a state SWITCHES. This should be likely very easy, but I've eaten my words before.

So if someone has a failed PR, with a "This has failed" (not exact text) label on it, and it now no longer fails, we add the "This is good" label, but we should remove the "This has failed" label if it's still applied to the issue. Vice versa.

Basically, you don't end up in this state (unless you are a jerk and apply them yourself):

Screen Shot 2022-01-21 at 11 09 51 AM

Should be fixed by 60057ae