[go: up one dir, main page]

Skip to content

Error message not helpful when branch creation fails due to push rule

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

Problem to solve

Currently, when a push rule is established on a project and someone creates a branch that fails that rule, the error message says "Failed to create merge request. Please Try Again" This message is unclear on why it failed.

Proposal

Update the error message when a push rule prevents branch creation to something like:

  • "Failed to create branch. Does not follow push rule guidance."
  • "Failed to create merge request. Does not follow push rule guidance."

Further details

image

Links / references

Edited by 🤖 GitLab Bot 🤖