Whet attempting to draft a new release, and one or more issues has multiple labels specified where one of the labels is in the include list, and a different label is in the exclude list GRM is throwing an exception making drafting of the release unable to proceed.
Expected Behavior
I would expect the exclude list to take precedence of anything specified in the include list, and issues with any label in the exclude list would be excluded from the drafted release notes.
Actual Behavior
An exception is thrown and aborts the release draft.
Possible Fix
Before throwing an exception, check if any of the labels specified in the exclude list is present. If it is then continue to the next issue without further processing.
Steps to Reproduce
Create a new issue, and add a label from the include and exclude list.
Attempt to draft a new release
Notice the exception
Context
Quite often we have all issues labeled with one of the labels in the include list, and have a very specific label to exclude them from the release notes.
Since this is not working, we always have to remove one of the labels and re-apply them after drafting the release notes.
Your Environment
Version Used: 0.16.0
Edition Used (.NET Core, .NET Framework): .NET Framework
Operating System and version (Windows 10, Ubuntu 18.04): Windows 10
Link to your project: No Link available
Link to your CI build (if appropriate): No link available
Description
Whet attempting to draft a new release, and one or more issues has multiple labels specified where one of the labels is in the include list, and a different label is in the exclude list GRM is throwing an exception making drafting of the release unable to proceed.
Expected Behavior
I would expect the exclude list to take precedence of anything specified in the include list, and issues with any label in the exclude list would be excluded from the drafted release notes.
Actual Behavior
An exception is thrown and aborts the release draft.
Possible Fix
Before throwing an exception, check if any of the labels specified in the exclude list is present. If it is then continue to the next issue without further processing.
Steps to Reproduce
Context
Quite often we have all issues labeled with one of the labels in the include list, and have a very specific label to exclude them from the release notes. Since this is not working, we always have to remove one of the labels and re-apply them after drafting the release notes.
Your Environment