From 7b91447d89d79d2d46f14caeade9705584b2f801 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 4 Jun 2022 08:00:00 +0530 Subject: [PATCH] Use a full chekcout in CI when building docs The :commit: docs role requires it --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff6136b00..91fe96f82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,7 @@ jobs: - name: Checkout source code uses: actions/checkout@v3 with: - fetch-depth: 10 + fetch-depth: 0 # needed for :commit: docs role - name: Test for trailing whitespace run: if grep -Inr '\s$' kitty kitty_tests kittens docs *.py *.asciidoc *.rst .gitattributes .gitignore; then echo Trailing whitespace found, aborting.; exit 1; fi