bug: commitlint.yml is fixed (#266)

Co-authored-by: Ankit Nayan <ankit@signoz.io>
This commit is contained in:
palash-signoz 2021-08-23 11:52:28 +05:30 committed by GitHub
parent 1272e18672
commit ac789ffcf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,5 +12,4 @@ jobs:
# or just "yarn" if you depend on "@commitlint/cli" already # or just "yarn" if you depend on "@commitlint/cli" already
- run: yarn add @commitlint/cli - run: yarn add @commitlint/cli
- run: yarn add @commitlint/config-conventional - run: yarn add @commitlint/config-conventional
- run: echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js - run: yarn run commitlint --config ./node_modules/@commitlint/config-conventional/index.js --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
- run: yarn run commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD