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 7171 node-version : lts/*
7272 - name : Install commitlint
7373 run : |
74- npm install -D @commitlint/cli@19.8.1 @commitlint/config-conventional@19.8.1
75- echo "module.exports = { extends: ['@commitlint/config-conventional'], rules: {'subject-case': [0]} };" > commitlint.config.js
74+ npm install -D @commitlint/cli@20.1.0 @commitlint/config-conventional@20.0.0
75+ echo "module.exports = { extends: ['@commitlint/config-conventional'], rules: {'subject-case': [0], 'header-max-length': [0] } };" > commitlint.config.js
7676 npx commitlint --version
7777 - name : Validate PR commits with commitlint
7878 if : github.event_name == 'pull_request'
79- run : ' echo "${{ github.event.pull_request.title }}" | npx commitlint --verbose'
79+ env :
80+ TITLE : ${{ github.event.pull_request.title }}
81+ run : ' echo "$TITLE" | npx commitlint --verbose'
You can’t perform that action at this time.
0 commit comments