We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4521b3f commit 3fda6f2Copy full SHA for 3fda6f2
.github/workflows/gitlint.yaml
@@ -0,0 +1,17 @@
1
+name: Lint Git Commits
2
+
3
+on:
4
+ pull_request:
5
6
+jobs:
7
+ lint:
8
+ runs-on: ubuntu-24.04
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@v4
12
+ with:
13
+ ref: ${{ github.event.pull_request.head.sha }}
14
+ fetch-depth: 0
15
16
+ - name: Run GitLint
17
+ run: pipx run -- gitlint --commits "${{ github.event.pull_request.base.sha }}..HEAD"
.gitlint
@@ -0,0 +1,10 @@
+[general]
+contrib=contrib-body-requires-signed-off-by,contrib-disallow-cleanup-commits
+ignore-merge-commits=false
+ignore-fixup-commits=false
+ignore-fixup-amend-commits=false
+ignore-squash-commits=false
+regex-style-search=true
+[ignore-body-lines]
+regex=^\[\d\]: https:\/\/
0 commit comments