Skip to content

Commit fee454f

Browse files
authored
Merge pull request #1543 from fullsend-ai/fix-gitlint-title-length
fix(ci): raise gitlint title-max-length from 72 to 100
2 parents 2ff8417 + fc63757 commit fee454f

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
PR_TITLE: ${{ github.event.pull_request.title }}
5757
run: |
5858
echo "${PR_TITLE}" > /tmp/pr-title.txt
59-
uvx --from gitlint gitlint --config .gitlint --ignore B6 --msg-filename /tmp/pr-title.txt
59+
uvx --from gitlint-core gitlint --config .gitlint --ignore B6 --msg-filename /tmp/pr-title.txt
6060
6161
- name: Lint commits
6262
if: github.event_name != 'pull_request'
@@ -76,7 +76,7 @@ jobs:
7676
FAILED=false
7777
for sha in $(git rev-list --no-merges "${RANGE}"); do
7878
git log --format='%s' -1 "${sha}" > /tmp/commit-msg.txt
79-
if ! uvx --from gitlint gitlint --config .gitlint --ignore B6 --msg-filename /tmp/commit-msg.txt; then
79+
if ! uvx --from gitlint-core gitlint --config .gitlint --ignore B6 --msg-filename /tmp/commit-msg.txt; then
8080
echo "::error::Commit ${sha} does not follow Conventional Commits format"
8181
FAILED=true
8282
fi

.gitlint

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# Enable conventional commits title check
33
contrib=CT1
44

5+
[title-max-length]
6+
line-length=100
7+
58
# Conventional commit types allowed in this repo.
69
# Matches the types documented in CONTRIBUTING.md and parsed by
710
# GoReleaser for release notes.

0 commit comments

Comments
 (0)