From 726eb9b5b513ac8dfe78dc54887264c2a2643e4e Mon Sep 17 00:00:00 2001 From: ice0 Date: Mon, 29 Jan 2024 12:18:34 +0700 Subject: [PATCH] ci(commitlint): disabled rules for `subject-case` This will allow to start subjects from uppercase words. Currently it fails on something like: ``` fix: Gitlab CI pipeline fixed build: CMake sets wrong Synfig Studio/ETL versions ``` P.S. If I understand correctly, this change does not violate the standard. Discussion here: https://github.com/conventional-changelog/commitlint/issues/2141 P.P.S. Puppeteer did the same: https://github.com/puppeteer/puppeteer/pull/8091/files --- .github/workflows/conventional-commits-style.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/conventional-commits-style.yml b/.github/workflows/conventional-commits-style.yml index b3ff045c693..50e7eab9daf 100644 --- a/.github/workflows/conventional-commits-style.yml +++ b/.github/workflows/conventional-commits-style.yml @@ -23,7 +23,7 @@ jobs: - name: Configure commitlint run: | - echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js + echo "module.exports = {extends: ['@commitlint/config-conventional'], rules: {'subject-case': [0, 'never']}}" > commitlint.config.js - name: Lint current pull request title run: jq --raw-output ".pull_request.title" "$GITHUB_EVENT_PATH" | npx commitlint --verbose