From 30acbed1a7d2f337150345c3e52b3e3fc8ac1a1a Mon Sep 17 00:00:00 2001 From: LukeGus Date: Mon, 29 Jun 2026 14:05:47 -0500 Subject: [PATCH] fix: svg donation generator push fail --- .github/workflows/donation-goal.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/donation-goal.yml b/.github/workflows/donation-goal.yml index e495594f..a8017798 100644 --- a/.github/workflows/donation-goal.yml +++ b/.github/workflows/donation-goal.yml @@ -117,10 +117,11 @@ jobs: fi # Amend the previous bot commit if it exists, otherwise create a new one LAST_AUTHOR=$(git log -1 --format='%ae') + REMOTE="https://x-access-token:${{ secrets.GHCR_TOKEN }}@github.com/${{ github.repository }}.git" if [ "$LAST_AUTHOR" = "github-actions[bot]@users.noreply.github.com" ]; then git commit --amend --no-edit - git push --force-with-lease + git push --force-with-lease "$REMOTE" HEAD:main else git commit -m "chore: update donation goal badge" - git push + git push "$REMOTE" HEAD:main fi