name: "Commit Linter" on: pull_request: branches: - "rolling" jobs: lint-commits: runs-on: ubuntu-latest env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v2.3.1 with: fetch-depth: 0 - uses: wagoid/commitlint-github-action@v4 with: configFile: .github/workflows/commitlint.config.js helpURL: https://github.com/LunarVim/LunarVim/blob/rolling/CONTRIBUTING.md#commit-messages firstParent: true