dotnet / fabricbot-config

Scripts for managing fabricbot configurations in the dotnet repos
MIT License
4 stars 7 forks source link

consider automating process around singleton labels #51

Open danmoseley opened 2 years ago

danmoseley commented 2 years ago

issues in dotnet/runtime can have exactly one of the following states: { no api-xx label; api-suggestion; api-needs-work; api-ready-for review }

The bot could help enforce this (if github API allows) by detecting when a new api-xx label is added and removing any older api-xx labels.

Similarly in repos like dotnet/runtime where issues and PR's may only have 1 or 0 area-xx labels, the bot could similarly remove any older one when a new one is applied.