commit d7e45ee4b9856dd74289c0ff261fc0f946f4885f
parent 4fab52908b456935169f019978fb1ebc9916d7bb
Author: James McCoy <jamessan@jamessan.com>
Date: Tue, 24 May 2022 07:20:04 -0400
Merge pull request #18626 from dundargoc/ci/shallow-clone
ci(api-docs): add comment explaining why full clone is needed
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml
@@ -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