diff --git a/.github/workflows/validator.yml b/.github/workflows/validator.yml index 5490874ba..780ee8836 100644 --- a/.github/workflows/validator.yml +++ b/.github/workflows/validator.yml @@ -14,7 +14,7 @@ jobs: with: script: | const title = context.payload.pull_request.title; - const regex = /^(?build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test|deps)(?\(\w+\)?((?=:\s)|(?=!:\s)))?(?!)?(?:\s.*)?/gm; + const regex = /^(?build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test|deps)(?\([\w\-\/]+\)?((?=:\s)|(?=!:\s)))?(?!)?(?:\s.*)?/gm; const match = regex.exec(title); if (!match) {