Skip to content

gitlab-repo-config: update protected branches/tags individually

In the RHEL kernel repos, there are a lot of protected branches. On mismatch, deleting them all and trying to recreate them afterwards blows up in interesting ways. Do the same as for the approval rules and handle missing/superfluous/wrongly configured protections individually.

[skip coverage check]

Part of infrastructure#327

Edited by Michael Hofmann

Merge request reports