Branch checks skipped for some branches if adding multiple branches in a single push

Description

YaccServiceImp.checkRefs logic:

Notice that the errors get overwritten rather than appended.

I was able to successfully push a branch that doesn’t conform to branch name regex:

  • Set branch name regex to branch/.*

  • git push origin branch/1 bad-branch branch/2 => succeeded, allowing the creation of bad-branch

Environment

None

Assignee

Alexey Remnev

Reporter

George V @Mohami

Sprint

None

Labels

None

Github URL

None

Priority

Medium
Configure