name: Commit on: push: branches: [main, features] pull_request: branches: [main, features] jobs: commitlint: name: Message validation runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - uses: wagoid/commitlint-github-action@v2 with: helpURL: 'https://github.com/Kosmorro/kosmorro/blob/master/CONTRIBUTING.md#commiting'