From a447f8b462c3152625cf09cbb6ed691b7d226e0a Mon Sep 17 00:00:00 2001 From: SoulPancake Date: Mon, 16 Mar 2026 13:36:19 +0530 Subject: [PATCH] ci: pr conventional commits validator --- .../pr-title-conventional-commit.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/pr-title-conventional-commit.yml diff --git a/.github/workflows/pr-title-conventional-commit.yml b/.github/workflows/pr-title-conventional-commit.yml new file mode 100644 index 0000000..1347e0d --- /dev/null +++ b/.github/workflows/pr-title-conventional-commit.yml @@ -0,0 +1,21 @@ +name: PR Title Conventional Commit Check + +on: + pull_request: + types: [opened, reopened, synchronize, edited] + branches: + - main + +jobs: + validate-pr-title: + name: Validate PR Title + runs-on: ubuntu-latest + permissions: + pull-requests: read + steps: + - name: PR Conventional Commit Validation + uses: ytanikin/pr-conventional-commits@fda730cb152c05a849d6d84325e50c6182d9d1e9 # v1.5.1 + with: + task_types: '["feat","fix","docs","test","refactor","ci","perf","chore","revert"]' + add_label: 'false' +