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