Branch Analysis - Develop instead of Main

Dear Community,

Is it possible to change the branch that is scanned from MAIN to DEVELOP, so all the analysis is done on that branch, i.e. before pushing to main all testing and fixes are performed on the develop branch.

Within the PR list there is a develop entry, but does naming the “main main branch" to develop create a “develop main branch", and does the PR entry move or is it deleted, and then analysis of the branch takes place to recreate develop after the next merged PR?

This is what I’m referring to:

The documentation and previous posts gave me a sense of contradiction.

Any help or tips would be much appreciated and apologies for the newbie question.

Sure it’s possible – the how will really rely on what CI you’re using. What are you using?

Hi Colin, thank you for replying; we’ve just updated the yaml file in GitHub, changed it from main to develop, so I think that will resolve this, unless this is the incorrect approach?

That’s the perfect approach.

And, just to make it easy on yourself, I recommend you rename the branch to develop if you haven’t already.