From 7243d8d57651e5a48b70c3ab343ddfdd274f5afc Mon Sep 17 00:00:00 2001 From: Julio Estrada Date: Thu, 20 Nov 2025 15:32:07 -0500 Subject: [PATCH] configure git credentials in sync workflow --- .github/workflows/sync-boostlook-css.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/sync-boostlook-css.yml b/.github/workflows/sync-boostlook-css.yml index feaefda..d174bc0 100644 --- a/.github/workflows/sync-boostlook-css.yml +++ b/.github/workflows/sync-boostlook-css.yml @@ -27,6 +27,12 @@ jobs: echo "Token exists (checking length...)" echo "${{ secrets.WEBSITE_V2_PAT }}" | wc -c + - name: Configure git credentials + run: | + git config --global credential.helper store + echo "https://${{ secrets.WEBSITE_V2_PAT }}:x-oauth-basic@github.com" > ~/.git-credentials + git config --global url."https://${{ secrets.WEBSITE_V2_PAT }}:x-oauth-basic@github.com/".insteadOf "https://github.com/" + - name: Checkout website-v2 repository uses: actions/checkout@v4 with: