From b09ada89402e668ea1636bdbf671a89330199717 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Mon, 13 Dec 2021 17:40:24 +0100 Subject: ci: tweak git-cliff's settings to ignore chores --- .github/workflows/cliff.toml | 12 ++++++------ .github/workflows/commitlint.yml | 7 ++++++- 2 files changed, 12 insertions(+), 7 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/cliff.toml b/.github/workflows/cliff.toml index 83c010b6..372ecf3f 100644 --- a/.github/workflows/cliff.toml +++ b/.github/workflows/cliff.toml @@ -55,12 +55,12 @@ commit_parsers = [ { message = "^feat", group = " Features"}, { message = "(^bug|^Bug|^fix)", group = " Bugfix"}, { message = "^refactor", group = " Refactor"}, - { message = "^chore", group = " Miscellaneous Tasks"}, - { message = "^doc", group = " Documentation"}, - { message = "^revert", group = " Revert"}, - { message = "^perf", group = " Performance"}, - { message = "^test", group = " Testing"}, - { message = "^ci", group = "CI", skip = true}, + { message = "^doc", group = " Documentation"}, + { message = "^revert", group = " Revert"}, + { message = "^perf", group = " Performance"}, + { message = "^chore", group = " Miscellaneous Tasks", skip = true}, + { message = "^ci", group = " Miscellaneous Tasks", skip = true}, + { message = "^test", group = " Miscellaneous Tasks", skip = true}, ] # filter out the commits that are not matched by commit parsers filter_commits = false diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 93c776e3..1bae3a10 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -1,5 +1,9 @@ name: "Commit Linter" -on: pull_request +on: + pull_request: + branches: + - "rolling" + jobs: lint-commits: runs-on: ubuntu-latest @@ -13,3 +17,4 @@ jobs: with: configFile: .github/workflows/commitlint.config.js helpURL: https://github.com/LunarVim/LunarVim/blob/rolling/CONTRIBUTING.md#commit-messages + firstParent: true -- cgit v1.2.3