From ba0cb66ff92b0c46b020a2e471501aa4432bc978 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Tue, 18 Jun 2024 19:42:35 +0100 Subject: [PATCH] chore: Remove "typings", "wip", and "workflow" scope (#10340) * chore: remove "typings" commit lint * chore: remove "workflow" too * chore: also remove wip --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .commitlintrc.json | 2 +- .github/COMMIT_CONVENTION.md | 2 +- .github/workflows/pr-triage.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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\""