Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMD version 6.46.0 run check on "Unchanged files with check annotations" #97

Closed
marco-audibene opened this issue May 30, 2022 · 4 comments

Comments

@marco-audibene
Copy link

marco-audibene commented May 30, 2022

Hello,

As PMD introduced ver 6.46.0 on May 28, GitHub action started to target also "Unchanged files with check annotations" which are not part of the PR.

We are forced to rollback to ver 6.45.0 because this behavior was blocking our deployment.

Is this an expected thing in 6.46? And is there a way to skip the "Unchanged files with check annotations" check from the violations property of the action output and use the ver 6.46, or this is a bug?

Thank you.

adangel added a commit to pmd/pmd-github-action-tests that referenced this issue Jun 2, 2022
@adangel
Copy link
Member

adangel commented Jun 2, 2022

That's definitively unexpected. I can confirm it with my test.
It seems that the parameter --file-list is not honored correctly anymore (that's how the GitHub Action provides the files to analyze).

I think, this is a bug on PMD side and not the GitHub Action.

@marco-audibene
Copy link
Author

Thank you @adangel for your answer!

Will follow the updates of this issue. In the meanwhile, we will continue to use ver 6.45.0.

@adangel
Copy link
Member

adangel commented Jul 14, 2022

@marco-audibene This should be fixed with the last PMD release 6.47.0.
I'm closing this issue now - please let us know, if it doesn't work with the latest version.
Thanks!

@adangel adangel closed this as completed Jul 14, 2022
@marco-audibene
Copy link
Author

Thank you @adangel :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants