The docs:checks:* CI job should fetch deeper
These jobs fetch only 3 commits but master can be more than 3 commits ahead of the tested commit at the time the job starts: the setup-test-env usually takes 13-15 minutes to run so this can happen pretty often!
Solution: fetch at the default level (20). /cc @axil