use json
This commit is contained in:
3 .commitlintrc.json Normal file
3
.commitlintrc.json Normal file @@ -0,0 +1,3 @@ | ||||
{ | ||||
"extends": ["@commitlint/config-conventional"] | ||||
} | ||||
@@ -12,4 +12,4 @@ jobs: | ||||
steps: | ||||
- name: check PR title | ||||
run: | | ||||
echo "${{ gitea.event.pull_request.title }}" | npx commitlint | ||||
echo "${{ gitea.event.pull_request.title }}" | commitlint --config .commitlintrc.json | ||||
@@ -1 +0,0 @@ | ||||
export default { extends: ['@commitlint/config-conventional'] }; | ||||
Reference in New Issue
Block a user