From 1ab1c185081972a9bfa1c0aaeacf4cbf48b2a128 Mon Sep 17 00:00:00 2001 From: Hewston Fox Date: Mon, 9 Mar 2026 01:22:21 +0200 Subject: [PATCH] chore: try fix pipeline --- .gitea/workflows/autofix.ci.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/autofix.ci.yaml b/.gitea/workflows/autofix.ci.yaml index 02d807b..bf92155 100644 --- a/.gitea/workflows/autofix.ci.yaml +++ b/.gitea/workflows/autofix.ci.yaml @@ -44,4 +44,13 @@ jobs: - name: Format run: pnpm run fmt - - uses: autofix-ci/action@v1 + - name: Commit fixes + run: | + git config user.name "autofix" + git config user.email "noreply@autofix.ci" + git diff --quiet && git diff --staged --quiet || \ + git commit -am "autofix: format" && \ + git push "http://oauth2:${GITHUB_TOKEN}@${GITEA_HOST}:3000/${{ github.repository }}.git" HEAD:${{ github.head_ref }} + env: + GITHUB_TOKEN: ${{ github.token }} + GITEA_HOST: ${{ secrets.GITEA_HOST_IP }}