[go: up one dir, main page]

Skip to content

Create protected branches and protected tags that match with regex

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Add a column to protected_branches and protected_tags to indicate that it will use regex to match against ref names
  • Change protected ref logic to consider name as a regex based on the new column
  • Update controller and rest endpoints to accept a parameter for to create

Ensure that RE2 operators can be escaped. e.g. For example a branch like 1.{2}2 could be a problem (see git-check-ref-format)

Edited by 🤖 GitLab Bot 🤖