[go: up one dir, main page]

Skip to content

Indicate if its a protected branch in the MR Webhook

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

Problem to solve

One of the things we’re attempting to do is lock out merges to certain branches without a proper authorized issue.

Right now, we get source branch, target branch, and default branch information in the webhook.

We can make that query via the REST API but as we’ve noticed, that’s always the long pole in the tent so anything we could do to get the information without needing to query the API would make it faster.

Relevant information:

Relevant docs links:

Proposal

What we don’t get (and would really like) is an indication if the target branch is a protected branch.

Edited by 🤖 GitLab Bot 🤖