Skip to content

Commit

Permalink
ci(commitlint): disabled rules for subject-case
Browse files Browse the repository at this point in the history
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. This change does not violate the standard. Discussion here:
conventional-changelog/commitlint#2141

P.P.S. Puppeteer did the same: https://github.com/puppeteer/puppeteer/pull/8091/files
  • Loading branch information
ice0 committed Jan 29, 2024
1 parent 798e84e commit a663635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/conventional-commits-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a663635

Please sign in to comment.