From 4f44cedf937bf8c3478cf98d6dbf69f959612e55 Mon Sep 17 00:00:00 2001 From: dioo1461 Date: Thu, 1 May 2025 02:52:53 +0900 Subject: [PATCH 01/12] =?UTF-8?q?chore:=20PR=20merge=20commit=20=EC=8B=9C?= =?UTF-8?q?=20github=20action=EC=97=90=EC=84=9C=20=ED=8F=AC=EB=A7=B7=20?= =?UTF-8?q?=EA=B2=80=EC=82=AC=EB=A5=BC=20=EC=88=98=ED=96=89=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=84=A4=EC=A0=95=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/commitlint.yaml | 20 ++++++++++++++++++++ commitlint.config.js | 15 +++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/commitlint.yaml create mode 100644 commitlint.config.js diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml new file mode 100644 index 00000000..08f41c0a --- /dev/null +++ b/.github/workflows/commitlint.yaml @@ -0,0 +1,20 @@ +name: PR Merge Commit Message Lint + +on: + pull_request: + push: + branches: + - main + - dev + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: 코드 체크아웃 + uses: actions/checkout@v3 + + - name: CommitLint 실행 + uses: wagoid/commitlint-github-action@v5 + with: + configFile: commitlint.config.js \ No newline at end of file diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 00000000..06dc2df7 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,15 @@ +export default { + extends: ['@commitlint/config-conventional'], + rules: { + 'header-pattern': [ + 2, + 'always', + /^\[(Feature|Fix|Chore|Docs|Style|Refactor|Test)\] .+(?: \(#\d+\))?$/, + ], + 'header-pattern-message': [ + 2, + 'always', + '커밋 메시지는 [Type] 제목 (#이슈번호)? 형태여야 합니다.', + ], + }, +}; From c7d99c931479c6f2c6d0207ccf7f339421aa3815 Mon Sep 17 00:00:00 2001 From: dioo1461 Date: Thu, 1 May 2025 02:57:51 +0900 Subject: [PATCH 02/12] =?UTF-8?q?fix:=20=EB=B9=8C=EB=93=9C=EA=B0=80=20fail?= =?UTF-8?q?=20=ED=96=88=EC=9D=8C=EC=97=90=EB=8F=84=20pre=20push=EC=97=90?= =?UTF-8?q?=EC=84=9C=20exit=201=20=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8D=98?= =?UTF-8?q?=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/hooks/pre-commit | 2 +- .github/hooks/pre-push | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/hooks/pre-commit b/.github/hooks/pre-commit index d797febf..2ccc5554 100755 --- a/.github/hooks/pre-commit +++ b/.github/hooks/pre-commit @@ -1,5 +1,5 @@ #!/bin/sh -set -e +set -euo pipefail # 1) staged 파일 중 JS/TS 계열만 판별 all_files=$(git diff --cached --name-only --diff-filter=ACM) diff --git a/.github/hooks/pre-push b/.github/hooks/pre-push index 0f98b2c9..63ea88fc 100755 --- a/.github/hooks/pre-push +++ b/.github/hooks/pre-push @@ -1,5 +1,5 @@ #!/usr/bin/env bash -set -e +set -euo pipefail # 푸시를 실행한 원격 이름과 URL remote_name=$1 From 73d6d5dad0e80a03d3dc9f9ebcf5859617963a08 Mon Sep 17 00:00:00 2001 From: dioo1461 Date: Thu, 1 May 2025 03:05:33 +0900 Subject: [PATCH 03/12] =?UTF-8?q?fix:=20build=20=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A6=BD=ED=8A=B8=EC=97=90=EC=84=9C=20=EB=B0=B1=EA=B7=B8?= =?UTF-8?q?=EB=9D=BC=EC=9A=B4=EB=93=9C=20=EC=8B=A4=ED=96=89=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B8=ED=95=B4,=20=EB=91=98=20=EC=A4=91=20?= =?UTF-8?q?=ED=95=98=EB=82=98=EA=B0=80=20=EC=97=90=EB=9F=AC=20=EB=B0=98?= =?UTF-8?q?=ED=99=98=ED=95=B4=EB=8F=84=20=ED=86=B5=EA=B3=BC=EB=90=98?= =?UTF-8?q?=EB=8D=98=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/build.sh | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/src/scripts/build.sh b/src/scripts/build.sh index bfcde097..2a6c94f9 100755 --- a/src/scripts/build.sh +++ b/src/scripts/build.sh @@ -1,22 +1,31 @@ #!/bin/sh ## OS 확인 -if [[ "$OSTYPE" == "darwin"* ]]; then +if echo "$OSTYPE" | grep -q '^darwin'; then echo "Detected OS: macOS" - npm run macos:build & - npm run ios:build & - wait + npm run macos:build & pid1=$! + npm run ios:build & pid2=$! -elif [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "win32" ]]; then +elif echo "$OSTYPE" | grep -Eq '^(cygwin|msys|win32)'; then echo "Detected OS: Windows" - npm run windows:build & - npm run android:build & - wait + npm run windows:build & pid1=$! + npm run android:build & pid2=$! else echo "Unknown OS: $OSTYPE" exit 1 fi -echo "모든 빌드가 완료되었습니다." +# 백그라운드 작업이 완료될 때까지 대기 +wait "$pid1" +ec1=$? +wait "$pid2" +ec2=$? + +# 둘 중 하나라도 실패하면 exit 0 +if [ "$ec1" -ne 0 ] || [ "$ec2" -ne 0 ]; then + echo "❌ 빌드 중 에러가 발생하였습니다. (desktop app: $ec1, mobile app: $ec2)" + exit 1 + +echo "✅ 모든 빌드가 성공적으로 완료되었습니다." exit 0 From 2babe9e8f7808821ff9219cf73732112d2864001 Mon Sep 17 00:00:00 2001 From: dioo1461 Date: Thu, 1 May 2025 03:06:55 +0900 Subject: [PATCH 04/12] =?UTF-8?q?chore:=20=ED=8C=8C=EC=8B=B1=20=EC=97=90?= =?UTF-8?q?=EB=9F=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/build.sh b/src/scripts/build.sh index 2a6c94f9..9bf8ef64 100755 --- a/src/scripts/build.sh +++ b/src/scripts/build.sh @@ -26,6 +26,7 @@ ec2=$? if [ "$ec1" -ne 0 ] || [ "$ec2" -ne 0 ]; then echo "❌ 빌드 중 에러가 발생하였습니다. (desktop app: $ec1, mobile app: $ec2)" exit 1 +fi echo "✅ 모든 빌드가 성공적으로 완료되었습니다." exit 0 From a34728b17c00207f022a7d9aaf7303585527f9a6 Mon Sep 17 00:00:00 2001 From: dioo1461 Date: Thu, 1 May 2025 03:09:54 +0900 Subject: [PATCH 05/12] =?UTF-8?q?fix:=20=EC=9E=98=EB=AA=BB=EB=90=9C=20andr?= =?UTF-8?q?oid=20build=20=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4e2c37e8..7f933500 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "dev": "bash src/scripts/start-dev.sh", "build": "bash src/scripts/build.sh", "android": "react-native run-android", - "android:build": "bash android/gradlew assembleDebug", + "android:build": "cd android && bash gradlew assembleDebug", "windows": "npx react-native run-windows", "windows:build": "react-native run-windows --no-launch --no-deploy --no-packager", "windows:init": "react-native init-windows --overwrite && npx react-native run-windows --msbuildprops \"RestoreLockedMode=false;BinaryLogger=;UseSharedCompilation=false;MaximumCpuCount=1\"", From c14f1be373bd4552edd3fe13e3d7ce8780818450 Mon Sep 17 00:00:00 2001 From: dioo1461 Date: Thu, 1 May 2025 03:18:49 +0900 Subject: [PATCH 06/12] =?UTF-8?q?fix:=20=EC=A1=B4=EC=9E=AC=ED=95=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8A=94=20`header-pattern-message`=20con?= =?UTF-8?q?fig=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commitlint.config.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/commitlint.config.js b/commitlint.config.js index 06dc2df7..418a6260 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -6,10 +6,5 @@ export default { 'always', /^\[(Feature|Fix|Chore|Docs|Style|Refactor|Test)\] .+(?: \(#\d+\))?$/, ], - 'header-pattern-message': [ - 2, - 'always', - '커밋 메시지는 [Type] 제목 (#이슈번호)? 형태여야 합니다.', - ], }, }; From 0b0767f398514b6a664db22ddbfd867b8496630e Mon Sep 17 00:00:00 2001 From: dioo1461 Date: Thu, 1 May 2025 03:34:31 +0900 Subject: [PATCH 07/12] =?UTF-8?q?chore:=20commit=20=EB=A9=94=EC=8B=9C?= =?UTF-8?q?=EC=A7=80=20=EB=8C=80=EC=8B=A0=20PR=20title=20=EC=9E=90?= =?UTF-8?q?=EC=B2=B4=EB=A5=BC=20=EA=B2=80=EC=A6=9D=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/commitlint.yaml | 20 -------------------- .github/workflows/pr-title-lint.yaml | 20 ++++++++++++++++++++ commitlint.config.js | 10 ---------- 3 files changed, 20 insertions(+), 30 deletions(-) delete mode 100644 .github/workflows/commitlint.yaml create mode 100644 .github/workflows/pr-title-lint.yaml delete mode 100644 commitlint.config.js diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml deleted file mode 100644 index 08f41c0a..00000000 --- a/.github/workflows/commitlint.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: PR Merge Commit Message Lint - -on: - pull_request: - push: - branches: - - main - - dev - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - name: 코드 체크아웃 - uses: actions/checkout@v3 - - - name: CommitLint 실행 - uses: wagoid/commitlint-github-action@v5 - with: - configFile: commitlint.config.js \ No newline at end of file diff --git a/.github/workflows/pr-title-lint.yaml b/.github/workflows/pr-title-lint.yaml new file mode 100644 index 00000000..ed14f853 --- /dev/null +++ b/.github/workflows/pr-title-lint.yaml @@ -0,0 +1,20 @@ +name: PR Title Lint + +on: + pull_request: + types: [opened, edited, synchronize, reopened] + +jobs: + title-lint: + runs-on: ubuntu-latest + permissions: + pull-requests: read + steps: + - uses: actions/checkout@v3 + - name: Lint PR title + uses: deepakputhraya/action-pr-title@v1 + with: + regex: '^\[(Feature|Fix|Chore|Docs|Style|Refactor|Test)\] .+(?: \(#\d+\))?$' + verbal_description: '커밋 메시지(=PR 타이틀)는 `[Type] 설명 (#번호)` 형태여야 합니다.' + prefix_case_sensitive: true + github_token: ${{ github.token }} \ No newline at end of file diff --git a/commitlint.config.js b/commitlint.config.js deleted file mode 100644 index 418a6260..00000000 --- a/commitlint.config.js +++ /dev/null @@ -1,10 +0,0 @@ -export default { - extends: ['@commitlint/config-conventional'], - rules: { - 'header-pattern': [ - 2, - 'always', - /^\[(Feature|Fix|Chore|Docs|Style|Refactor|Test)\] .+(?: \(#\d+\))?$/, - ], - }, -}; From 06557e1b4ac2a16ad42713ec7f97b9b0900b21ff Mon Sep 17 00:00:00 2001 From: dioo1461 Date: Thu, 1 May 2025 03:38:34 +0900 Subject: [PATCH 08/12] =?UTF-8?q?fix:=20=EC=A0=91=EA=B7=BC=20=EA=B0=80?= =?UTF-8?q?=EB=8A=A5=ED=95=9C=20=EB=B2=84=EC=A0=84=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=9E=AC=EC=A7=80=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-title-lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-title-lint.yaml b/.github/workflows/pr-title-lint.yaml index ed14f853..18bdbb96 100644 --- a/.github/workflows/pr-title-lint.yaml +++ b/.github/workflows/pr-title-lint.yaml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Lint PR title - uses: deepakputhraya/action-pr-title@v1 + uses: deepakputhraya/action-pr-title@v1.0.2 with: regex: '^\[(Feature|Fix|Chore|Docs|Style|Refactor|Test)\] .+(?: \(#\d+\))?$' verbal_description: '커밋 메시지(=PR 타이틀)는 `[Type] 설명 (#번호)` 형태여야 합니다.' From 27145bf1cfc93e9a5f7b6de3574092b7114d865b Mon Sep 17 00:00:00 2001 From: dioo1461 Date: Thu, 1 May 2025 03:42:01 +0900 Subject: [PATCH 09/12] =?UTF-8?q?chore:=20v1.0.2=20=EC=97=90=EB=8A=94=20?= =?UTF-8?q?=EC=A1=B4=EC=9E=AC=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20ver?= =?UTF-8?q?bal=5Fdescription=20=EC=84=A4=EC=A0=95=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-title-lint.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pr-title-lint.yaml b/.github/workflows/pr-title-lint.yaml index 18bdbb96..2662e506 100644 --- a/.github/workflows/pr-title-lint.yaml +++ b/.github/workflows/pr-title-lint.yaml @@ -15,6 +15,5 @@ jobs: uses: deepakputhraya/action-pr-title@v1.0.2 with: regex: '^\[(Feature|Fix|Chore|Docs|Style|Refactor|Test)\] .+(?: \(#\d+\))?$' - verbal_description: '커밋 메시지(=PR 타이틀)는 `[Type] 설명 (#번호)` 형태여야 합니다.' prefix_case_sensitive: true github_token: ${{ github.token }} \ No newline at end of file From c8a2bd1afd7ab0d6fac5b55df0cb4f61bd330fcf Mon Sep 17 00:00:00 2001 From: dioo1461 Date: Thu, 1 May 2025 03:49:43 +0900 Subject: [PATCH 10/12] =?UTF-8?q?refactor:=20grep=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=9D=B8=ED=95=9C=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20?= =?UTF-8?q?=EC=98=A4=EB=B2=84=ED=97=A4=EB=93=9C=20=EC=A0=9C=EA=B1=B0,=20sh?= =?UTF-8?q?=20=EB=82=B4=EC=9E=A5=20=ED=8C=A8=ED=84=B4=20=EB=A7=A4=EC=B9=AD?= =?UTF-8?q?=EC=9D=84=20=EC=9D=B4=EC=9A=A9=ED=95=9C=20=EA=B5=AC=ED=98=84?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/build.sh | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/src/scripts/build.sh b/src/scripts/build.sh index 9bf8ef64..093bdb9b 100755 --- a/src/scripts/build.sh +++ b/src/scripts/build.sh @@ -1,28 +1,31 @@ #!/bin/sh +set -e ## OS 확인 -if echo "$OSTYPE" | grep -q '^darwin'; then - echo "Detected OS: macOS" - npm run macos:build & pid1=$! - npm run ios:build & pid2=$! +case "$OSTYPE" in + darwin*) + echo "Detected OS: macOS" + npm run macos:build & pid1=$! + npm run ios:build & pid2=$! + ;; + cygwin*|msys*|win32*) + echo "Detected OS: Windows" + npm run windows:build & pid1=$! + npm run android:build & pid2=$! + ;; + *) + echo "Unknown OS: $OSTYPE" + exit 1 + ;; +esac -elif echo "$OSTYPE" | grep -Eq '^(cygwin|msys|win32)'; then - echo "Detected OS: Windows" - npm run windows:build & pid1=$! - npm run android:build & pid2=$! - -else - echo "Unknown OS: $OSTYPE" - exit 1 -fi - -# 백그라운드 작업이 완료될 때까지 대기 +# 백그라운드 작업 완료 대기 후 exit code 수집 wait "$pid1" ec1=$? wait "$pid2" ec2=$? -# 둘 중 하나라도 실패하면 exit 0 +# 둘 중 하나라도 실패하면 exit 1 if [ "$ec1" -ne 0 ] || [ "$ec2" -ne 0 ]; then echo "❌ 빌드 중 에러가 발생하였습니다. (desktop app: $ec1, mobile app: $ec2)" exit 1 From 637f6ef941375e1c8b661fbc5cd3a2d047513290 Mon Sep 17 00:00:00 2001 From: dioo1461 Date: Thu, 1 May 2025 03:54:17 +0900 Subject: [PATCH 11/12] =?UTF-8?q?feat:=20sh=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=EC=97=90=EC=84=9C,=20=EC=97=90=EB=9F=AC=20=EB=A9=94?= =?UTF-8?q?=EC=8B=9C=EC=A7=80=EB=8A=94=20stderr=EB=A1=9C=20=EB=B3=B4?= =?UTF-8?q?=EB=82=B4=EB=8F=84=EB=A1=9D=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/build.sh | 4 ++-- src/scripts/generate-cert.sh | 2 +- src/scripts/start-dev.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scripts/build.sh b/src/scripts/build.sh index 093bdb9b..8eefc641 100755 --- a/src/scripts/build.sh +++ b/src/scripts/build.sh @@ -14,7 +14,7 @@ case "$OSTYPE" in npm run android:build & pid2=$! ;; *) - echo "Unknown OS: $OSTYPE" + echo "Unknown OS: $OSTYPE" >&2 exit 1 ;; esac @@ -27,7 +27,7 @@ ec2=$? # 둘 중 하나라도 실패하면 exit 1 if [ "$ec1" -ne 0 ] || [ "$ec2" -ne 0 ]; then - echo "❌ 빌드 중 에러가 발생하였습니다. (desktop app: $ec1, mobile app: $ec2)" + echo "❌ 빌드 중 에러가 발생하였습니다. (desktop app: $ec1, mobile app: $ec2)" >&2 exit 1 fi diff --git a/src/scripts/generate-cert.sh b/src/scripts/generate-cert.sh index c95a53cf..a23d42e6 100755 --- a/src/scripts/generate-cert.sh +++ b/src/scripts/generate-cert.sh @@ -21,7 +21,7 @@ elif [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == curl -L -o mkcert.exe https://github.com/FiloSottile/mkcert/releases/latest/download/mkcert-v1.4.4-windows-amd64.exe else - echo "Unknown OS: $OSTYPE" + echo "Unknown OS: $OSTYPE" >&2 exit 1 fi diff --git a/src/scripts/start-dev.sh b/src/scripts/start-dev.sh index 3f21c8a8..fe49da39 100755 --- a/src/scripts/start-dev.sh +++ b/src/scripts/start-dev.sh @@ -14,7 +14,7 @@ elif [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == wait else - echo "Unknown OS: $OSTYPE" + echo "Unknown OS: $OSTYPE" >&2 exit 1 fi From 3ce4a5e2ebd853d3a2516496af21e2f3b3a91ac4 Mon Sep 17 00:00:00 2001 From: dioo1461 Date: Thu, 1 May 2025 04:04:46 +0900 Subject: [PATCH 12/12] =?UTF-8?q?chore:=20breaking=20chagne=EC=9D=98=20?= =?UTF-8?q?=EA=B2=BD=EC=9A=B0=20!=EB=A1=9C=20=ED=91=9C=EC=8B=9C=ED=95=A0?= =?UTF-8?q?=20=EC=88=98=20=EC=9E=88=EB=8F=84=EB=A1=9D=20=EC=A0=95=EA=B7=9C?= =?UTF-8?q?=EC=8B=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - feat: XXX -> feat!: XXX --- .github/workflows/pr-title-lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-title-lint.yaml b/.github/workflows/pr-title-lint.yaml index 2662e506..2a59234d 100644 --- a/.github/workflows/pr-title-lint.yaml +++ b/.github/workflows/pr-title-lint.yaml @@ -14,6 +14,6 @@ jobs: - name: Lint PR title uses: deepakputhraya/action-pr-title@v1.0.2 with: - regex: '^\[(Feature|Fix|Chore|Docs|Style|Refactor|Test)\] .+(?: \(#\d+\))?$' + regex: '^\[(Feature|Fix|Chore|Docs|Style|Refactor|Test)\]!? .+(?: \(#\d+\))?$' prefix_case_sensitive: true github_token: ${{ github.token }} \ No newline at end of file