diff --git a/.github/workflows/pr-cc.yml b/.github/workflows/pr-cc.yml index 688d8868..a82bddcf 100644 --- a/.github/workflows/pr-cc.yml +++ b/.github/workflows/pr-cc.yml @@ -18,4 +18,4 @@ jobs: id: check-for-cc uses: ahmadnassri/action-commit-lint@v2 with: - config: conventional + config: ./commitlint.config.js diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 00000000..a8952fff --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,8 @@ +module.exports = { + extends: ['@commitlint/config-conventional'], + rules: { + 'header-max-length': [0], + 'body-max-line-length': [0], + 'footer-max-line-length': [0], + }, +};