zhangshenghang opened a new pull request, #10235: URL: https://github.com/apache/seatunnel/pull/10235
## Summary This PR adds a CI check in the backend workflow to prevent .class files from being committed to the repository. ## Changes - Added a new step in `.github/workflows/backend.yml` to check for .class files tracked by git - Added `*.class` to `.gitignore` to prevent accidental commits in the future ## Motivation Recently, some .class files from the target directory were accidentally committed to the repository. This check will prevent such issues in the future by: 1. Running as part of the code-style job in the backend CI workflow 2. Failing the CI build if any .class files are found in the git repository 3. Providing clear instructions on how to remove the files ## Test Plan - [x] The check script has been tested and can successfully detect .class files - [x] The check runs as part of the backend workflow (triggered by push to any branch and scheduled runs) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
