Open rnveach opened 3 months ago
File names in report are shortened at https://github.com/checkstyle/contribution/blob/eed618f3f607c059bbe631f508b8f04902a19bb0/patch-diff-report-tool/src/main/java/com/github/checkstyle/site/SiteGenerator.java#L174 .
I assume our GH action isn't working with this, while the diff scripts are, is because of the maven plugin and files have to be copied to a different location to be run on. The diff scripts run CS directly on the folder they are cloned from.
Also this is not very well documented effect at https://github.com/checkstyle/contribution/tree/master/patch-diff-report-tool
https://github.com/checkstyle/contribution/blob/master/patch-diff-report-tool/src/main/java/com/github/checkstyle/site/SiteGenerator.java#L219
Example: https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/7e9dba3_2024170824/reports/diff/checkstyle/index.html#Violations
Example from my launch script:
My launch scripts don't have this issue but I don't remember how it was resolved. It could be because they are running checkstyle directly and groovy is still calling the maven plugin.