name: Commitlint on: push: tags: - v* branches: - master - release-* pull_request: branches: - master - release-* jobs: lint: runs-on: ubuntu-18.04 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - uses: wagoid/commitlint-github-action@v2.0.3 with: configFile: './.commitlintrc.json' helpURL: https://rook.io/docs/rook/latest/development-flow.html#commit-structure