Languages of the repository: Javascript, Nodejs, React
I have 2 repos in my organization “sybrid-devops”
I have Pull request scanning enabled on PR but it stopped working and it’s just stuck on “scanning” for both repos
I regenerated the PATs for the organization and the projects both and applied them in the organization and the projects and it’s still stuck on “waiting”
When I go check the background tasks, I don’t see them pending there either
I still can’t see anything in the “background tasks” for the sonar scan that is pending on my PR - please note that the scanning in my YAML pipelines works and get processed, only the PR is stuck - I did create a new PAT and set that in the “pull requests” setting of the project’s setting but still no luck
Edit again: Sonar scanning has actually work for 8 of my PRs, for either of my 2 repos - I think you need to run a pipeline itself to send a request for a sonar scan to sonarCloud and publish results - I assumed generating the PR only will kick off a sonar analysis
Thank you Marcin - so it turns out you need to configure “build validation” to run a pipeline that does a sonar analysis only and then use the “status check” to check the status - my mistake was to assume that the status check only was sufficient to run the pipeline