name: 'Lint Commit Messages'
on:
push:
branches: [master, develop]
pull_request:
jobs:
commitlint:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v2.3.4'
with:
fetch-depth: 0
- uses: 'wagoid/commitlint-github-action@v4.1.1'
configFile: '.commitlintrc.json'