MorrisonCole / pr-lint-action

:octocat: A fast 🔥 TypeScript GitHub Action to ensure that your PR title matches a given regex.

Home Page:https://morrisoncole.co.uk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

default error message add a "." add the end of the regex

raphaelauv opened this issue · comments

If my regex is

        with:
          title-regex: ^(\[[[A-Z0-9-]+\])+ [\w &.-]+$

the error msg is going to be

PR title failed to match ^([[[A-Z]+])+ [\w &.-]+$.

Thanks for reporting this - agree that it was misleading! Fixed in v1.7.0 :)