PureDevOps Community

How to disable pipeline for a branch in gitlab?

I have a gitlab pipeline setup for a repo. For development purpose I have to create a new dev branch and the pipeline is getting executed for every commit both for master and dev which is ideally correct. But for our testing team it has become difficult to constantly test the feature that is merged only to master ? Any help on this ?

so the solution i found for the mentioned scenario are,