From 57f9c79bd31eb58c842820644b5ecca201e372a8 Mon Sep 17 00:00:00 2001 From: Ramona T Date: Thu, 12 Mar 2026 22:41:37 -0400 Subject: [PATCH] fix multiversion docs not being created on pushes to main --- .github/workflows/documentation.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 0512796b58..47678c7b07 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -26,12 +26,12 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd with: - # If it's a push (main or major-release) or workflow_dispatch, get full history. - fetch-depth: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && 0 || 1 }} + # If it's a pull request, don't get full history. + fetch-depth: ${{ github.event_name == 'pull_request' && 1 || 0 }} - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 with: - python-version: '3.13' + python-version: 3.13 cache: pip - uses: install-pinned/uv@259f91feb61b6e94766d7a1dbcd5f17335370e64