File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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'
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
Original file line number Diff line number Diff line change 22# Enable conventional commits title check
33contrib=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.
You can’t perform that action at this time.
0 commit comments