Skip to content

Implement "Block pipelines on protected branches"

Lin Jen-Shin requested to merge 30634-protected-pipeline into master

What does this MR do?

Forbid creating/cancelling/retrying pipeline/jobs if:

  • It's a tag and it's protected and the user cannot create the tag
  • It's a branch and it's protected and the user cannot merge or push to the branch

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #30634 (closed), #34616 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports