Skip to content

Only trigger one pipeline when adding a file in a new branch using GitLab UI

Currently, when we add a file using GitLab UI and push that to a new branch it runs triggers twice:

  1. Triggers are run before making a change,
  2. Triggers are run after commiting the change.

Example here: Screen_Shot_2016-10-17_at_17.29.36

We should see only one pipeline, the one with the file.