diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index b505563028e..23084626d95 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -21,7 +21,10 @@ jobs: run: npm run lint - name: Lint commits if: github.event_name != 'merge_group' && github.actor != 'dependabot[bot]' - run: npx commitlint --from=${{ github.event.pull_request.base.sha }} + run: >- + npx commitlint + --from=${{ github.event.pull_request.base.sha }} + --to=${{ github.event.pull_request.head.sha }} - name: Tests must not use test.only run: bash .github/workflows/test-only-check.sh - name: API docs should generate without error