From 346925fcdcc122702270ca678b5dd1e68820aa00 Mon Sep 17 00:00:00 2001 From: chaesngmin Date: Wed, 29 Sep 2021 22:44:35 -0700 Subject: feat: add commitlint CI (#1459) Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com> --- .github/workflows/commitlint.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/commitlint.yml (limited to '.github/workflows/commitlint.yml') 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/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 -- cgit v1.2.3