github / issue-labeler

An action for automatically labelling issues

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a Default Label option.

vybhav72954 opened this issue · comments

There should be a default label option, which would be very helpful.

You could try setting the regex to . which should trigger on any written content.

Hi, after setting the regex to ., I still cannot set a default label. Here is an example:

example-label:
  - '.'

Hi guys, https://github.com/github/issue-labeler/blob/e24a3eb6b2e28c8904d086302a2b760647f5f45c/src/main.ts#LL201C3-L213C4. I found this line, so if you want to match wildcard you should use /.*/ instead.