Should creating a new branch create a new ci build?
Summary
If I create a new branch off of master via the api, should it create a new build even if it has no new commit?
Steps to reproduce
- Create a new branch off of master from an existing repository
Expected behavior
It should only run the CI if there are additional commits from the branch off of which it was branched.
Possible Fixes
I tried to dig into the code, but not that well versed with ruby. It looks like https://github.com/gitlabhq/gitlabhq/blob/master/app/services/git_push_service.rb#L32-L40 could be responsible for this.
Thanks!!!
Edited by Jason Yavorska