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 6161 node-version : lts/*
6262 - name : Install commitlint
6363 run : |
64- npm install -D @commitlint/cli@19.8.1 @commitlint/config-conventional@19.8.1
65- echo "module.exports = { extends: ['@commitlint/config-conventional'], rules: {'subject-case': [0]} };" > commitlint.config.js
64+ npm install -D @commitlint/cli@20.1.0 @commitlint/config-conventional@20.0.0
65+ echo "module.exports = { extends: ['@commitlint/config-conventional'], rules: {'subject-case': [0], 'header-max-length': [0] } };" > commitlint.config.js
6666 npx commitlint --version
6767 - name : Validate PR commits with commitlint
6868 if : github.event_name == 'pull_request'
69- run : ' echo "${{ github.event.pull_request.title }}" | npx commitlint --verbose'
69+ env :
70+ TITLE : ${{ github.event.pull_request.title }}
71+ run : ' echo "$TITLE" | npx commitlint --verbose'
You can’t perform that action at this time.
0 commit comments