From 45a4651c410d494046a6bff92060174393b9aea7 Mon Sep 17 00:00:00 2001 From: Lilith Hafner Date: Mon, 16 Oct 2023 09:18:37 -0500 Subject: [PATCH] also fetch base ref --- .github/workflows/SpellCheck.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml index 6e75c57a1d020..6fc22c8540d3a 100644 --- a/.github/workflows/SpellCheck.yml +++ b/.github/workflows/SpellCheck.yml @@ -14,10 +14,11 @@ jobs: uses: actions/checkout@v4 with: persist-credentials: false + run: git fetch --depth=1 origin ${{ github.base_ref }} - name: Check spelling with typos #uses: crate-ci/typos@master env: - GH_TOKEN: "${{ github.token }}" + GH_TOKEN: "${{ github.token }}" run: | set -o pipefail mkdir -p "${{ runner.temp }}/typos"