github / issue-labeler

An action for automatically labelling issues

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to not remove label?

fmigneault opened this issue · comments

I really like the ability to automatically apply labels if a specific word is found, but having the same labels removed because the word is missing can be problematic.

For instance, I label bug to any issue that as that word, but the label was manually tagged as a bug without using the word in the body, it just gets removed at some point and we lose track of the bug!

Maybe something like follows could be considered?

bug: 
   add: false
   remove: false
   regex: 
     - bug
     - ....

@fmigneault this sounds good to me. Feel free to put a PR up and I'll review it otherwise I'll try to get to it in the near future

I am seeing that labels are being removed as part of every run of my action, even though the output agrees the label is added. Can this be turned off?

Could it be possible to add condition when label will be removed? So for example, I check checkbox label added, I uncheck, then label removed.