diff --git a/.github/actions/set-labels/action.yml b/.github/actions/set-labels/action.yml index c527bb8..e7cc24c 100644 --- a/.github/actions/set-labels/action.yml +++ b/.github/actions/set-labels/action.yml @@ -15,7 +15,7 @@ runs: github-token: ${{ inputs.github-token }} script: | const { NUMBER, OWNER, REPO, TITLE } = process.env - const regex = /^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(?:\((\w+)\))?(!)?: (.+)$/; + const regex = /^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(?:\((\S+)\))?(!)?: (.+)$/; console.log(`Checking title "${TITLE}"`); console.log("For more information: https://www.conventionalcommits.org/en/v1.0.0/");