File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Configuration for commitlint
2+ ---
3+ # Basic set of roules taken from https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional
4+ extends :
5+ - " @commitlint/config-conventional"
6+ # Override type-enum to just use types, which are relevant to this project
7+ rules :
8+ type-enum :
9+ - 2
10+ - always
11+ - - build
12+ - chore
13+ - ci
14+ - docs
15+ - feat
16+ - fix
17+ - refactor
18+ - revert
19+ - test
Original file line number Diff line number Diff line change 1- name : golangci-lint
1+ name : linter
22on :
33 push :
44 tags :
1717 uses : golangci/golangci-lint-action@v4
1818 with :
1919 version : latest
20- working-directory : pkg
20+ working-directory : pkg
21+
22+ commitlint :
23+ runs-on : ubuntu-latest
24+ steps :
25+ - uses : actions/checkout@v4
26+ with :
27+ fetch-depth : 0
28+ - uses : wagoid/commitlint-github-action@v5
You can’t perform that action at this time.
0 commit comments