Skip to content

Commit

Permalink
ci: Add gitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
ltoenning committed Dec 3, 2024
1 parent 1824437 commit 609aeac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install gitlint
run: |
pip install gitlint==0.19.1
- name: Run gitlint
run: gitlint --commits d789f61044e63e1a00d8e9f1d4d49c8d9ffc42a9..HEAD
- name: Run REUSE lint
run: reuse lint
- name: Install REUSE
run: |
pip install reuse==4.0.3
Expand Down
7 changes: 7 additions & 0 deletions .gitlint
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[general]
ignore=B6,B7
contrib=contrib-title-conventional-commits

### Configuring rules ###
[title-max-length]
line-length=100

0 comments on commit 609aeac

Please sign in to comment.