summaryrefslogtreecommitdiff
path: root/.github/workflows/commitlint.yml
blob: 1bae3a10fbea235d62b7f6008cfbf480429a2b69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: "Commit Linter"
on:
  pull_request:
    branches:
      - "rolling"

jobs:
  lint-commits:
    runs-on: ubuntu-latest
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    steps:
      - uses: actions/[email protected]
        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