Pipeline level branch filtering does not work as expected


#1

In Pipeline Settings -> Steps (beta)

When I specify branches like the following:

branches: "master
steps:
  - name: ":skull_and_crossbones:"
    command: "make clean"
  - name: ":rubocop:"
    command: "make test"

Other branches than “master” also get triggered.

So, right now I have to put branches in each step which looks repetitive when you have many steps.

steps:
  - name: ":skull_and_crossbones:"
    command: "make clean"
    branches: "master"
  - name: ":rubocop:"
    command: "make analyze"
    branches: "master"

But it is understandable because it is the Steps menu :grin:

Though what I am wondering is…
Is there any other way in YAML web ui to filer branch at pipeline level that I am missing?

Any help would be appreciated!

Thanks!