From 16a517f7ba04edf9bfb7ff359510174d3bba3d1a Mon Sep 17 00:00:00 2001 From: RawDiamondMC Date: Sat, 16 Nov 2024 00:12:07 +0800 Subject: [PATCH] fix: spotless action --- .github/workflows/spotless.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/spotless.yml b/.github/workflows/spotless.yml index bdf616e..bec14c9 100644 --- a/.github/workflows/spotless.yml +++ b/.github/workflows/spotless.yml @@ -22,9 +22,10 @@ jobs: run: chmod +x ./gradlew - name: apply spotless run: ./gradlew spotlessApply - - name: Commit and push to site branch + - name: Push run: | git config user.name "GitHub Actions" git config user.email "actions@github.com" git commit -m "chore: Apply Spotless" + git add . git push