Merge pull request #18626 from dundargoc/ci/shallow-clone

ci(api-docs): add comment explaining why full clone is needed
This commit is contained in:
James McCoy
2022-05-24 07:20:04 -04:00
committed by GitHub

View File

@@ -30,6 +30,9 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
# Fetch depth 0 is required if called through workflow_call. In order
# to create a PR we need to access other branches, which requires a
# full clone.
fetch-depth: 0
- name: Install dependencies