Codacy supports analysis on multiple branches on your git repositories
By default, Codacy will automatically trigger analysis on the master branch only.
You can redefine your Main branch by going to repository 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 repository Settings, open the Branches tab, and enable the branches you'd like.