diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index f95161c..d1d2bff 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -68,7 +68,7 @@ jobs: if: ${{ failure() && steps.build_mod.conclusion == 'failure' && github.event_name == 'pull_request' && !github.event.pull_request.draft }} run: | git reset --hard - git checkout --theirs "${PR_BRANCH}" + git checkout "${PR_BRANCH}" ./gradlew --info --stacktrace spotlessApply || exit 1 git diff --exit-code && exit 1 git config user.name "GitHub GTNH Actions"