From e695df3757d6f79ba08bafa4753e6f0b977e0d32 Mon Sep 17 00:00:00 2001 From: Don Turner Date: Thu, 2 Nov 2023 18:44:23 +0000 Subject: [PATCH] Revert "Apply spotless automatically during build and commit to PR" --- .github/workflows/Build.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index b8b8a3b9c..ccea5dc4f 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -34,11 +34,8 @@ jobs: - name: Setup Gradle uses: gradle/gradle-build-action@v2 - - name: Apply formatting if failed - run: ./gradlew spotlessApply --init-script gradle/init.gradle.kts --no-configuration-cache - - uses: stefanzweifel/git-auto-commit-action@v5 - with: - commit_message: Apply Spotless + - name: Check spotless + run: ./gradlew spotlessCheck --init-script gradle/init.gradle.kts --no-configuration-cache - name: Build all build type and flavor permutations run: ./gradlew assemble