From c95045b07cc216de35d2ca567fcaebfa6a76692f Mon Sep 17 00:00:00 2001 From: you Date: Tue, 24 Mar 2026 02:43:15 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20fix=20badge=20push=20=E2=80=94=20use=20GI?= =?UTF-8?q?THUB=5FTOKEN=20for=20write=20access?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 686cc97..da9da09 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -55,8 +55,10 @@ jobs: run: | git config user.name "github-actions" git config user.email "actions@github.com" + git remote set-url origin https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}.git git add .badges/ -f git diff --cached --quiet || (git commit -m "ci: update test badges [skip ci]" && git push) + git diff --cached --quiet || (git commit -m "ci: update test badges [skip ci]" && git push) deploy: needs: test