diff options
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 |