From d42cccc3c23fbf5b7f936379e2057ecabe759f74 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Sat, 7 Nov 2026 20:01:33 -0600 Subject: [PATCH] partial submodules --- .github/workflows/website.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml index f9e661ed7..1d5c1cd1b 100644 --- a/.github/workflows/website.yaml +++ b/.github/workflows/website.yaml @@ -111,9 +111,19 @@ jobs: uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha || inputs.branch || 'production' }} - submodules: ${{ env.SHOULD_USE_BLITZKIT_CLOSED == 'true' && 'recursive' || 'false' }} + submodules: false token: ${{ secrets.GH_TOKEN || github.token }} + # Future proofing for Reforged: we'll have both closed and open repos, so + # we need to handle them here instead of disabling submodules outright + - name: Checkout submodules + run: | + if [ "$SHOULD_USE_BLITZKIT_CLOSED" = "true" ]; then + git submodule update --init --recursive --depth=1 + else + git submodule update --init --recursive --depth=1 -- . ':!packages/closed' + fi + - name: Setup bun uses: oven-sh/setup-bun@v2