@Colin Do you know how I could do to edit the solution I provided in the thread you linked? There are some elements that I had to fix for security reasons.
Also, regarding the security advisory on your action (that I use here) and the advice you provide in this message, I should also edit my solution to remove the quotes around the different parameters, right? Since, for example, I provide a list of source directories via -Dsonar.sources="${{ env.SOURCES }}"