diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 9594489..38cd9db 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Debug - Show event info run: | echo "Event name: ${{ github.event_name }}" @@ -22,3 +24,5 @@ jobs: run: git log -1 --pretty=%B - uses: wagoid/commitlint-github-action@v6 + with: + commitDepth: 1