chore: try fix pipeline
Some checks failed
autofix.ci / prepare (pull_request) Has been cancelled

This commit is contained in:
Hewston Fox
2026-03-09 01:22:21 +02:00
parent e92bc09613
commit 1ab1c18508

View File

@@ -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 }}