A way to detect the ownership for Github

  • The version of SonarQube:
  • Can sonarqube read something like a Codeowners file in github to detect the owner and self assign the issues during scans? Or is it always just the last committer of that code that is assigned the issues? Is there a way to turn off the self-assign functionality?

Hey there.

No, this does not exist. And I’m not sure it would be a good idea. CODEOWNERS is about responsibility for reviewing changes, not responsibility for all issues in a certain part of the codebase.

If you’re referring to issue auto-assignment (to the last person who committed a line) – it’s not possible to turn off without turning off all SCM-related functionality. Can you go into detail about why you want to disable this?