Error in Sonar scanning(IOException thrown in the TFVC annotate command)

When we are using sonar scanning for PR check file in Github workflows, its failing with an error permission denied.
I’m sharing the error screen shot

Pls help me anyone to clear this out.


Welcome to the community!

It’s not clear to me why you would have some sort of Team Foundation Version Control executable in the .scannerwork directory if you’re using GitHub. Perhaps you should

  • clean that directory out
  • make sure analysis has full permissions, recursive, in the project root directory
  • review the plugins installed in your SonarQube instance and remove any that you don’t still need.