Use a full chekcout in CI when building docs

The :commit: docs role requires it
This commit is contained in:
Kovid Goyal 2022-06-04 08:00:00 +05:30
parent 1146c4ea3f
commit 7b91447d89
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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