-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Body filtering #156
Comments
Hi, sorry I forgot to reply on this one. This makes sense, I have to experiment a bit with something similar to your suggestion. I can see something like:
|
Thanks for the reply. I think that simple title-based filtering might be a good addition to
|
I'd like to use this for labeling issues in Conky, but as part of issue reports people often paste their configuration files which contain keywords I'd like to check for. This means that checking a lot of labels in the body would yield a lot of false positives.
Example:
Description
Some issue that mentions HW sensors not working. Therefore the issue should only be labeled with
sensors
label.Config
User pastes their whole config as part of bug report:
Not the best or most accurate example, but I hope it gets the point across, based on contents of that code block the
body
could trigger all labels.I suggest adding a mechanism that allows excluding parts of MD content from regex, either by checking only content under a specific title (e.g. Details/Description) or by excluding code blocks (might be easier to implement (remove all "```(\w+)?.+```")).
The text was updated successfully, but these errors were encountered: