From ecab963d9d8e7d5672bc178009cc620aad9d178f Mon Sep 17 00:00:00 2001 From: Milind Srivastava Date: Fri, 1 May 2026 21:35:13 -0400 Subject: [PATCH] ci: added CI check for conventional commits --- .github/workflows/conventional-commits.yml | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/conventional-commits.yml diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml new file mode 100644 index 0000000..51dd998 --- /dev/null +++ b/.github/workflows/conventional-commits.yml @@ -0,0 +1,32 @@ +name: Conventional Commits + +on: + pull_request: + types: [opened, edited, synchronize, reopened, ready_for_review] + branches: [main] + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + pr-title: + name: Check PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: | + feat + fix + refactor + test + bench + ci + chore + docs + perf + revert + requireScope: false