mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-02 05:20:37 +08:00
fix: commit lint is updated (#2732)
* fix: commit lint is updated * chore: command is updated * chore: added dummy commit message * chore: updated the github actions
This commit is contained in:
parent
e2ce1eb88b
commit
9ff055015f
9
.github/workflows/commitlint.yml
vendored
9
.github/workflows/commitlint.yml
vendored
@ -7,12 +7,7 @@ jobs:
|
|||||||
lint-commits:
|
lint-commits:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.1
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# we actually need "github.event.pull_request.commits + 1" commit
|
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-node@v2.1.0
|
- uses: wagoid/commitlint-github-action@v5
|
||||||
# or just "yarn" if you depend on "@commitlint/cli" already
|
|
||||||
- run: yarn add @commitlint/cli
|
|
||||||
- run: yarn add @commitlint/config-conventional
|
|
||||||
- run: yarn run commitlint --config ./node_modules/@commitlint/config-conventional/index.js --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user