aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/api-docs.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml
index 167d799c27..8757c4e52c 100644
--- 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