Analysis runs even though there is no Prepare task or any other sonarqube task in the pipeline

Thank you. I just found this post which is from 2019 but a similar topic:

Not identical, since they are talking about different build agents on same machine, but it could be the same reason I guess… I am just not sure how to avoid, since the project in both pipelines is the same, so I can not mark one project with a tag to not execute the build in it, the pipelines just have a different purpose…