Renato66/auto-label

Request: feature to find label on the titles of the issues too

tjgurwara99 opened this issue ยท 4 comments

const issueLabels: string[] = getIssueLabels(issue.body, repoLabels)

Could you consider adding support for parsing the issue title too.

I think it is an easy fix, just append const isssueTitleLabel: []string = getIssueLabels(issue.title, repoLabels) and concatenate both to get it.

Do you think it is worth doing that or is it not useful? I say this because title tags like feat bug are used a lot in issues of big projects and it would be worth adding it I think.

Hey, man that is usefull :D

It might be on the next release

It might be on the next release

Brilliant! Let me know when it's released (by closing this issue or updating it). Also let me know if I can help with anything!!๐Ÿ˜„

hey @Renato66 , was this already released?
Thanks!
We are currently using https://github.com/github/issue-labeler, but if you apply this, we'll probably change to yours :)

hey guys
@tjgurwara99, @dgteixeira

it's included and working in v3.1.0 as default title and body will be scrapped to find labels,

on #91 (aka 3.2.0) will be available in the docs to ignore it