From 0085e1242f960b8c8ef78e503262dcfa3aaebda7 Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Mon, 5 Aug 2024 21:34:35 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"ci:=20=E5=85=81=E8=AE=B8Merge?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E5=9C=A8pr=E4=B8=AD=E7=9A=84commit=20name=20?= =?UTF-8?q?(#10098)"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit b78e7109f2bdcb86916a74daa054ce34f3d8b468. 不允许提交Merge commit,所以该内容无意义且与规则冲突 --- .github/workflows/pr-checker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-checker.yml b/.github/workflows/pr-checker.yml index 35dc3df086..f8a65bc4ac 100644 --- a/.github/workflows/pr-checker.yml +++ b/.github/workflows/pr-checker.yml @@ -38,7 +38,7 @@ jobs: per_page: 100 }); - const regex = /^((build|chore|ci|docs?|feat!?|fix|perf|refactor|rft|style|test|i18n|typo|debug)[\:\.\(\,]|[Rr]evert|[Rr]elease|[Mm]erge)/; + const regex = /^((build|chore|ci|docs?|feat!?|fix|perf|refactor|rft|style|test|i18n|typo|debug)[\:\.\(\,]|[Rr]evert|[Rr]elease)/; const invalidCommits = commits.filter(commit => !regex.test(commit.commit.message) || commit.parents.length > 1); console.log(`Checked ${commits.length} commit(s)`);