From c74369a484dae20aa3657b1661e9991cee6ccbb6 Mon Sep 17 00:00:00 2001 From: Mickael Cagnion Date: Sat, 3 Oct 2026 13:26:24 +0200 Subject: [PATCH] Fetch pull request commits for spellcheck Provide the event base and head objects required by the incremental diff. --- .github/workflows/spellcheck.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index c6c8cbe4211..02deb3c4660 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -23,6 +23,10 @@ jobs: with: ref: ${{ inputs.ref }} + - name: Fetch pull request diff commits + if: github.event_name == 'pull_request' + run: git fetch --no-tags --depth=1 origin ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} + - name: Fetch config file and dictionaries run: curl --silent --show-error --parallel --remote-name-all