I know that the main branch is set asa a long-lived branch by default. However, I have a team that doesn’t use the main branch. Can I add another one to be monitored by SonarCloud. If not, can I change to a specific branch name? Let’s say the production branch
You can set as many long-lived branches as you want. Just edit the long-lived branches pattern in your project to cover the branch names you want to set.
Default is: (branch|release)-.*
Change the regular expression to match “production” or any other branch name.