diff --git a/.github/workflows/java-autoformat.yml b/.github/workflows/java-autoformat.yml index 05daba8f7..9052d9ec3 100644 --- a/.github/workflows/java-autoformat.yml +++ b/.github/workflows/java-autoformat.yml @@ -31,7 +31,11 @@ jobs: id: git-check run: echo "modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)" >> $GITHUB_OUTPUT - - name: Create temporary branch + - name: DEBUG + run: + echo "Modified: ${{ steps.git-check.outputs.modified }}" + + - name: Create temporary branch and pull request if: steps.git-check.outputs.modified == 'true' run: | git config --global user.name 'Bram van Heuveln'