diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 76f7218..6bb2f40 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -19,8 +19,6 @@ Please mark the appropriate option below to describe the type of change your pul ## Checklist -- [ ] I have used [semantic commit messages](https://seesparkbox.com/foundry/semantic_commit_messages). - Examples: `"fix: Fixed foobar bug"`, `"feat(accounts): Added foobar feature"`. - [ ] I have added/updated the necessary documentation on `README.md`. - [ ] I have added appropriate test cases (if applicable) to ensure the changes are functioning correctly. - [ ] My pull request has a clear title and description. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87e5ac0..1b8966d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Conventional Commitlint + uses: opensource-nepal/commitlint@v1 + with: + verbose: true + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0fcc9b0..85b8460 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,8 +25,8 @@ Before submitting your Pull Request, please do the following steps: 1. Add any changes you want. 1. Add tests for the new changes. 1. Edit documentation (`README.md`) if you have changed something significant. -1. Commit your changes using [semantic commit message](https://seesparkbox.com/foundry/semantic_commit_messages). - Examples: `"fix: Fixed foobar bug"`, `"feat(accounts): Added foobar feature on accounts"`. +1. Commit your changes using [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/). + Examples: `feat: add JSON parser`, `feat(parser): add JSON parser`. ## Other help