From 9a69f317589b322d2edff688b8f95b1fab7cf3d4 Mon Sep 17 00:00:00 2001 From: xEsiah Date: Mon, 19 Oct 2026 19:43:57 +0200 Subject: [PATCH] ci: scope LFS auth header to batch endpoint to avoid duplicate Authorization --- .github/workflows/deploy.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6152398..8cb2f02 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,8 +11,14 @@ jobs: steps: - uses: actions/checkout@v4 - with: - lfs: true + + - name: Fetch Git LFS objects + run: | + git lfs install --local + AUTH="$(git config --local "http.${{ github.server_url }}/.extraheader")" + git config --local --unset "http.${{ github.server_url }}/.extraheader" + git config --local "http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader" "$AUTH" + git lfs pull - uses: actions/setup-node@v4 with: