From 6e2501bc09050eb44ba363e63584895828570e13 Mon Sep 17 00:00:00 2001 From: Griffin Castles Date: Fri, 9 Aug 2024 18:40:16 +0800 Subject: [PATCH] Fix action? --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f82cc09..e6677ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,9 +44,17 @@ jobs: version: latest args: --check src - - uses: stefanzweifel/git-auto-commit-action@v4 + - name: Fix code style issues + uses: JohnnyMorganz/stylua-action@v4 + with: + token: ${{ github.token }} + version: latest + args: src + + - name: Commit changes + uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: "style: fix code style issues" + commit_message: "[auto]: fix code style issues" commit_options: "--no-verify" branch: ${{ github.head_ref }} commit_user_name: ${{ github.actor }}