Hotfix: miscopy in the actions spotless fix

This commit is contained in:
Raven Szewczyk
2023-01-28 19:56:29 +00:00
committed by GitHub
parent 308e77fb0b
commit 8672765510

View File

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