Skip to content

Commit

Permalink
Update java-autoformat.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
charlestian23 committed Mar 29, 2024
1 parent 78904a2 commit 7f7c186
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/java-autoformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7f7c186

Please sign in to comment.