From c592501f48a48b75c7b407de7cd4fbfa772f9a23 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Sat, 7 Nov 2026 19:59:26 -0600 Subject: [PATCH] ignore submodules on pr's --- .github/workflows/website.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml index 1cb3ea769..f9e661ed7 100644 --- a/.github/workflows/website.yaml +++ b/.github/workflows/website.yaml @@ -89,6 +89,9 @@ env: # wargaming PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }} + # workflow + SHOULD_USE_BLITZKIT_CLOSED: ${{ github.event_name != 'pull_request' }} + jobs: build: name: Build website @@ -107,9 +110,8 @@ jobs: - name: Checkout uses: actions/checkout@v6 with: - # the PR's ref, or the manual input, or production (selected when cron) ref: ${{ github.event.pull_request.head.sha || inputs.branch || 'production' }} - submodules: recursive + submodules: ${{ env.SHOULD_USE_BLITZKIT_CLOSED == 'true' && 'recursive' || 'false' }} token: ${{ secrets.GH_TOKEN || github.token }} - name: Setup bun @@ -132,8 +134,7 @@ jobs: run: bun run download-client - name: Download SmartDLC - if: ${{ env.CLIENT_PROVIDER == 'steam' }} - + if: ${{ env.CLIENT_PROVIDER == 'steam' && env.SHOULD_USE_BLITZKIT_CLOSED == 'true' }} run: bun run download-smart-dlc - name: Build