summaryrefslogtreecommitdiff
path: root/.github/workflows/commitlint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/commitlint.yml')
-rw-r--r--.github/workflows/commitlint.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml
new file mode 100644
index 00000000..93c776e3
--- /dev/null
+++ b/.github/workflows/commitlint.yml
@@ -0,0 +1,15 @@
+name: "Commit Linter"
+on: pull_request
+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