File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 6767 node-version : lts/*
6868 - name : Install commitlint
6969 run : |
70- npm install -D @commitlint/cli@19.8.1 @commitlint/config-conventional@19.8.1
71- echo "module.exports = { extends: ['@commitlint/config-conventional'], rules: {'subject-case': [0]} };" > commitlint.config.js
70+ npm install -D @commitlint/cli@20.1.0 @commitlint/config-conventional@20.0.0
71+ echo "module.exports = { extends: ['@commitlint/config-conventional'], rules: {'subject-case': [0], 'header-max-length': [0] } };" > commitlint.config.js
7272 npx commitlint --version
7373 - name : Validate PR commits with commitlint
7474 if : github.event_name == 'pull_request'
75- run : ' echo "${{ github.event.pull_request.title }}" | npx commitlint --verbose'
75+ env :
76+ TITLE : ${{ github.event.pull_request.title }}
77+ run : ' echo "$TITLE" | npx commitlint --verbose'
You can’t perform that action at this time.
0 commit comments