diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index a490d461d..1ad17b9ed 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -22,9 +22,11 @@ jobs: - name: Validate current commit (last commit) with commitlint if: github.event_name == 'push' run: npx commitlint --from HEAD~1 --to HEAD --verbose - - name: Validate PR commits with commitlint - if: github.event_name == 'pull_request' - run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose + # Nobody seems to want to use this, so I'm commenting it out + # In the end we squash merge the PRs, so this is not really needed + # - name: Validate PR commits with commitlint + # if: github.event_name == 'pull_request' + # run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose - name: Validate PR title with commitlint if: github.event_name == 'pull_request' run: |