athenz
athenz copied to clipboard
CI: Add Auto-Format GitHub Actions to automatically format Java Files
Is your feature request related to a problem? Please describe.
This project has a code style defined in the athenz-checkstyle.xml
file. Checking whether the code in the Pull Requests or branches follows the project's code style and applying fixes accordingly is a tedious work.
Describe the solution you'd like
I want to use OpenRewrite's Maven Plugin
to automatically format the Java files using the Checkstyle configuration. I would also like to create a GitHub Actions to automatically run the formatter and push the changes to the branches or the PRs.
Additional context
I have implemented this feature in an Open-Source project - Drifty and the GitHub Action also pushes the formatted files to the branches or PRs as you can see below :point_down:
If this issue seems good to the maintainers and can add some value to the project, then, I would like to work on this issue.