diff --git a/.commitlintrc.json b/.commitlintrc.json index b24a8997a..80f57a1b9 100644 --- a/.commitlintrc.json +++ b/.commitlintrc.json @@ -5,7 +5,7 @@ "type-enum": [ 2, "always", - ["chore", "build", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "test", "types", "typings"] + ["chore", "build", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "test", "types"] ], "scope-case": [0] } diff --git a/.github/COMMIT_CONVENTION.md b/.github/COMMIT_CONVENTION.md index ddb1496fe..2cfe9e325 100644 --- a/.github/COMMIT_CONVENTION.md +++ b/.github/COMMIT_CONVENTION.md @@ -7,7 +7,7 @@ Messages must be matched by the following regex: ```js -/^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,72}/; +/^(revert: )?(feat|fix|docs|style|refactor|perf|test|build|ci|chore|types)(\(.+\))?: .{1,72}/; ``` #### Examples diff --git a/.github/workflows/pr-triage.yml b/.github/workflows/pr-triage.yml index 8725ef73d..7a1443a10 100644 --- a/.github/workflows/pr-triage.yml +++ b/.github/workflows/pr-triage.yml @@ -26,7 +26,7 @@ jobs: env: TITLE: ${{ github.event.pull_request.title }} run: | - REGEX="^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\\(.+\\))?: .{1,72}$" + REGEX="^(revert: )?(feat|fix|docs|style|refactor|perf|test|build|ci|chore|types)(\\(.+\\))?: .{1,72}$" echo "Title: \"$TITLE\""