clakech
(Cyril Lakech)
1
Hello,
We are using Pull requests decorations on github and checks are always OK even if I create critical issue in the new code.
Seems like the new code is even not detected by sonar. The code tab is empty in the pull request tab.
I can’t find any clue in the logs.
Any idea ?
2 Likes
dmeneses
(Duarte Meneses)
3
Hi,
Circleci used to have a bug checking out the project with git, messing up the local reference to master: Code is empty on Pull Request reviews
I’m not sure if it’s still the case, but could you try to do the following in your build script, before launching the analysis?
git branch --force master origin/master
4 Likes
clakech
(Cyril Lakech)
4
woot thanks it works fine with 
git branch --force master origin/master
pete-woods
(Pete Woods)
5
1 Like
dmeneses
(Duarte Meneses)
6
Thanks for the update, Pete!