title: How to merge all same-named branches into another in multiple projects in Gitlab using CI?
body: <p>I have multiple repositories stored in Gitlab. Each repository has one <code>develop</code> branch. At the time of implementing one feature/bugfix, I might push changes to multiple repositories. For that, I will create one <code>feature_foo</code> branch in all repositories where I have to commit changes.</p>
  <h2>Example</h2>
  <p>I have multiple repositories on my Gitlab:</p>
  <pre><code>A, B, C, D, E and F
  </code></pre>
  <p>All of them include <code>develop</code> branch.
  Repositories <code>B</code>, <code>D</code> and <code>E</code> have an additional <code>feature_foo</code> branch. Note that this branch has no static name, so for every other feature/bugfix the name of the branch may change.</p>
  <h2>What do I want to achieve?</h2>
  <p>Is it possible to automate the merging of all the branches with the name <code>feature_foo</code> in multiple repositories (<code>B</code> and <code>D</code>) into <code>develop</code> branch after merging that feature branch manually in project <code>E</code>? Even better, is it possible to write/choose the <code>feature_foo</code> branch (as some parameter) and just merge all of them into <code>develop</code> in all projects?</p>
  <p>I searched for Gitlab multi-project pipeline solutions in order to solve the problem but couldn't find any proper example for it. This is just one step of one automatization script that I want to implement so in order to automate other things I have to first automate the merging of some branches.</p>