From 5fd1709f0fd6bc9793700be812c34f7eb4854eff Mon Sep 17 00:00:00 2001 From: wyf9 Date: Wed, 30 Sep 2026 18:38:41 +0800 Subject: [PATCH] chore: signed actions commit --- .github/workflows/lint-format.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index a7f3b93..23946cb 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -42,17 +42,12 @@ jobs: - name: Commit and push fixes if: steps.check.outcome == 'failure' - run: | - if [ -z "$(git status --porcelain)" ]; then - echo "No changes to commit" - exit 0 - fi - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - git config commit.gpgsign false - git add -A - git commit -m "chore: auto-fix lint & formatting [skip ci]" - git push + uses: siiway/verified_bot_commit@v0 + with: + message: "chore: auto-fix lint & formatting [skip ci]" + files: "**" + ref: ${{ github.head_ref || github.ref }} + if-no-commit: notice - name: Verify fixes run: |