-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] Allow adding component labels through comments (#15719)
This adds the ability to add and remove component labels using comments, which will allow issue openers to add the label corresponding to a component to ping the code owners, and will enable code owners to update the component labels on an issue if necessary. There are two relatively minor caveats with the way the add-labels.sh script is currently implemented. - Labels and comments are added separately, so adding a lot of labels can make things noisy. This can be fixed with additional processing, but I figure this is an uncommon case, so I opted to instead keep the script simple. - Adding a component label that already is applied will ping the code owners again.
- Loading branch information
1 parent
49c5c48
commit 6e66d7a
Showing
3 changed files
with
68 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters