From 9ff055015f3d29427aa35729345e543aea9b648b Mon Sep 17 00:00:00 2001 From: Palash Gupta Date: Fri, 19 May 2023 17:17:13 +0530 Subject: [PATCH] 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 --- .github/workflows/commitlint.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 0f4a4b94db..b624a90b9f 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -7,12 +7,7 @@ jobs: lint-commits: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.1 + - uses: actions/checkout@v3 with: - # we actually need "github.event.pull_request.commits + 1" commit fetch-depth: 0 - - uses: actions/setup-node@v2.1.0 - # 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 + - uses: wagoid/commitlint-github-action@v5