From bb2f1fad79de0936ba8e22b9124b873d1d539845 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Sun, 18 Oct 2026 10:25:10 -0400 Subject: [PATCH] chore(ci): limit commitlint to pull request commits --- .github/workflows/pr-checks.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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