diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index a61eb09..e6c2575 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -18,4 +18,10 @@ jobs: with: fetch-depth: 0 - - uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6.2.1 + - uses: ./.github/actions/setup + + - name: Commitlint + env: + BASE_SHA: ${{ github.event.pull_request.base.sha }} + HEAD_SHA: ${{ github.event.pull_request.head.sha }} + run: pnpm exec commitlint --from="$BASE_SHA" --to="$HEAD_SHA" --verbose