Repository navigation
GHA-200 Fix update-analyzer updating wrong plugins - #106
Conversation
nils-werner-sonarsource
left a comment
There was a problem hiding this comment.
The plugin-artifacts input already exists for listing explicit artifact names. All three reusable workflows (automated-release.yml, cloud-security-automated-release.yml, abd-automated-release.yml) already pass explicit plugin-artifacts, so plugin-name is only used in the sed as a fallback when
plugin-artifacts is empty. Switching to exact matching fixes the bug without any new inputs.
Maybe I'm missing something, but based on reading I don't see how usingplugin-artifacts-sqs: java would help with not matching javascript. I see that plugin artifacts allows one to specify multiple prefixes, but it does not help with exact matching.
I think I should fix dryRun tickets issue before getting back to this problem, so that I can test things without affecting prod Jira. |
Ah, now I see how to fix it. Let me update the PR. |
3efb20e to
9523399
Compare
bd3f433 to
e505c5f
Compare
This reverts commit e505c5f.
SonarQube reviewer guide
|
|
I update the PR to match plugin artifacts exactly. |




Problem:
javashould not matchsonar-javascript-pluginFix: make
plugin-artifactsmatch exact.plugin-namematching still uses.*Test: https://github.com/SonarSource/sonar-apex/actions/runs/22671446061 - verfied that
plugin-artifacts-sqs: "java,ape.*"updated onlyjavaandapex