Closed jeffhandley closed 1 year ago
I figured out how to do local development/testing which then enabled me walk through the code in better detail and understand it much further. I've refined the implementation to add the needs-area-label
label in a better way.
needs-area-label
label to be conditional based on whether labels can be applied@mkArtakMSFT FYI. although I'm not sure whether you decided to use this labeler (I have no opinion)
Fixes #27
Allows configuration by repository for an optional label to apply when no area can be determined. When such a label is configured, that label is applied instead of adding a comment saying the issue/pr needs an area label. When no such label is configured, the comment is still added as it is today.
I've also retargeted from net5.0 to net7.0.
@maryamariyan or @Eilon -- This needs your confirmation that I'm reading the options correctly such that we can use Azure App Configuration to specify
{owner}:{repo}:no_area_determined_label
as a string and that will get loaded. And/or, I'll need help from @dakersnar to deploy and test this.