summaryrefslogtreecommitdiff
path: root/.github/workflows/commitlint.yml
blob: 400b0bd091bcf36c46797f2106ea78e8e698ac50 (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/checkout@v3
        with:
          fetch-depth: 0
      - uses: wagoid/commitlint-github-action@v5
        with:
          configFile: .github/workflows/commitlint.config.js
          helpURL: https://github.com/LunarVim/LunarVim/blob/rolling/CONTRIBUTING.md#commit-messages
          firstParent: true