mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2026-09-01 11:57:32 +02:00
Hotfix: miscopy in the actions spotless fix
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user