fixup! ci: add action-semantic-pull-request
This commit is contained in:
parent
1efac587f2
commit
65591b380b
9
.github/workflows/lint-pr.yml
vendored
9
.github/workflows/lint-pr.yml
vendored
@ -16,6 +16,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
|
|
||||||
- run: npm install -D @commitlint/cli @commitlint/config-conventional
|
- run: npm install -g @commitlint/config-conventional
|
||||||
|
|
||||||
- run: npx commitlint --from ${{ gitea.event.pull_request.base.sha }} --to ${{ gitea.event.pull_request.head.sha }} --verbose
|
- run: >-
|
||||||
|
npx commitlint
|
||||||
|
-g .github/workflows/commitlint.config.js
|
||||||
|
--from ${{ gitea.event.pull_request.base.sha }}
|
||||||
|
--to ${{ gitea.event.pull_request.head.sha }}
|
||||||
|
--verbose
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user