Skip to content

Commit

Permalink
feat: add commit lint on create PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr Lavrusenko authored and Oleksandr Lavrusenko committed Aug 3, 2023
1 parent 4338bb3 commit cd55319
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pull-request-commit-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Lint Commit Messages
on: [pull_request]

jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: wagoid/commitlint-github-action@v5
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ pnpm i
* [Husky](https://www.npmjs.com/package/husky) + hooks:
* pre-commit: lint and test
* commit-msg: conventional commit message
* [CommitLint](https://www.conventionalcommits.org/en/v1.0.0/)

0 comments on commit cd55319

Please sign in to comment.