Skip to content
Commit d27353be authored by Mark Chao's avatar Mark Chao
Browse files

Validate MR branch names

Prevents refspec as branch name, which would bypass branch protection
when used in conjunction with rebase.

HEAD seems to be a special case with lots of occurrence,
so it is considered valid for now.

Another special case is `refs/head/*`, which can be imported.
parent 36c7ae27
Loading
Loading
Loading