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 7d9e510 commit 0ca5225
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/java-autoformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ jobs:
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git checkout -b auto-format-code
git add .
git commit -m "Automated Java code formatting changes"
git push origin auto-format-code
git diff --cached --exit-code || git commit -am "Automated Java code formatting changes" && git push
- name: Open pull request
if: steps.git-check.outputs.modified == 'true'
Expand Down

0 comments on commit 0ca5225

Please sign in to comment.