You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add auto-commit formatter workflow with loop prevention
- Modified formatter workflow to automatically commit and push formatting changes
- Added infinite loop detection by checking if last commit author was github-actions bot
- Changed permissions to allow contents: write for pushing commits
- Updated validation workflow to run after formatter completes
- Added conditional execution to skip validation if formatter committed changes
- Formatter will retrigger after auto-commit to verify formatting is correct
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- To see a complete report of formatting issues, download the [differences artifact](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
119
+
### ✅ Formatter Auto-Applied
95
120
96
-
- To fix the build, please run `mvn spotless:apply` in your branch and commit the changes.
121
+
Formatting issues were detected and **automatically fixed**. Changes have been committed to this PR.
97
122
98
-
- Optionally you might add the following line in your `.git/hooks/pre-commit` file:
99
-
100
-
mvn spotless:apply
101
-
102
-
Here is the list of files with format issues in your PR:
123
+
The formatting changes affected **${{ steps.formatter.outputs.modified }} files**.
103
124
125
+
Files modified:
104
126
```
105
127
${{ steps.formatter.outputs.files }}
106
128
```
107
129
130
+
Please pull the latest changes before continuing work on this branch.
0 commit comments