diff options
author | kylo252 <[email protected]> | 2021-12-13 17:40:24 +0100 |
---|---|---|
committer | kylo252 <[email protected]> | 2021-12-13 17:51:49 +0100 |
commit | b09ada89402e668ea1636bdbf671a89330199717 (patch) | |
tree | 4abf843da0e2ed38689c872694b13d7418536106 /.github | |
parent | b327564d99b025a26a6dd8660fdc6990fd0d74e6 (diff) |
ci: tweak git-cliff's settings to ignore chores
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cliff.toml | 12 | ||||
-rw-r--r-- | .github/workflows/commitlint.yml | 7 |
2 files changed, 12 insertions, 7 deletions
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 = "<!-- 1 --> Features"}, { message = "(^bug|^Bug|^fix)", group = "<!-- 2 --> Bugfix"}, { message = "^refactor", group = "<!-- 3 --> Refactor"}, - { message = "^chore", group = "<!-- 4 --> Miscellaneous Tasks"}, - { message = "^doc", group = "<!-- 5 --> Documentation"}, - { message = "^revert", group = "<!-- 6 --> Revert"}, - { message = "^perf", group = "<!-- 7 --> Performance"}, - { message = "^test", group = "<!-- 8 --> Testing"}, - { message = "^ci", group = "CI", skip = true}, + { message = "^doc", group = "<!-- 4 --> Documentation"}, + { message = "^revert", group = "<!-- 5 --> Revert"}, + { message = "^perf", group = "<!-- 6 --> Performance"}, + { message = "^chore", group = "<!-- 7 --> Miscellaneous Tasks", skip = true}, + { message = "^ci", group = "<!-- 7 --> Miscellaneous Tasks", skip = true}, + { message = "^test", group = "<!-- 7 --> 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 |