From ac789ffcf04668fadb9de64d6d5748f31736cd27 Mon Sep 17 00:00:00 2001 From: palash-signoz <88981777+palash-signoz@users.noreply.github.com> Date: Mon, 23 Aug 2021 11:52:28 +0530 Subject: [PATCH] bug: commitlint.yml is fixed (#266) Co-authored-by: Ankit Nayan --- .github/workflows/commitlint.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index cbf608997e..2fd4b1dc35 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -12,5 +12,4 @@ jobs: # or just "yarn" if you depend on "@commitlint/cli" already - run: yarn add @commitlint/cli - run: yarn add @commitlint/config-conventional - - run: echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js - - run: yarn run commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD + - run: yarn run commitlint --config ./node_modules/@commitlint/config-conventional/index.js --from HEAD~${{ github.event.pull_request.commits }} --to HEAD