Skip to content

Commit

Permalink
ci(commitlint): add commitlint action to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Alec4r committed May 11, 2022
1 parent 0935053 commit e24ea53
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Lint Commit Messages
on: [pull_request]

jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/[email protected]
5 changes: 5 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* eslint-disable import/no-extraneous-dependencies */

module.exports = {
extends: ['@commitlint/config-conventional'],
}

0 comments on commit e24ea53

Please sign in to comment.