Codacy supports analysis on multiple branches on your git projects
By default, Codacy will automatically trigger analysis on the master branch only.
You can redefine your Main branch by going to project Settings -> Branches tab.
Upon pull requests, Codacy will automatically trigger analysis on the branch the pull request belongs to and analyze the pull request.
Enable other branches
It is also possible to enable analysis on other branches. All you have to do is go to the project Settings, open the Branches tab, and enable the branches you'd like.