-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge request approvals settings of group #701
Comments
A bit more information: it turns out that the gitlab API does support these operations: [EDIT]
REQUEST BODY
|
Hi 👋 . Based on your latest comment, I think you want to manage "merge request approval" setting in a group. Please confirm. If that's the case, I believe this is not supported by gitlabform at the moment. You'll find the gitlabform docs on this setting specifying that the available config is for a project level setting.
To me, the above is a bit confusing. Even if you configure the setting in a group manually (without gitlabform), it will be inherited by all projects under that group. I'm not aware of any option to control the setting to not be applied on newly created projects after this setting is configured. Anyways, PR is welcome for adding support for group level configuration of merge request approval setting. Will you be able to contribute this feature? |
Could you please point to the API doc? I was looking at following doc page and it didn't show the API endpoint from your example, although it showed up from their search. Also, some of the data in your example doesn't seem to exist on this page. Wondering if I'm looking at the wrong page or they have an issue with their documentation. |
Will do later-on, a bit time constraint now. Will follow-up asap. Thanks, @amimas ! |
Hey! First of all, I like your project. We're playing a bit with our gitlab configurations and how to apply it within the organization. The documentation is quite clear for us, but there is one thing I don't really understand. Basically the question is: how do I change the settings in the screenshot below (so on group level).
We want to set the request-approval-rules on a group basis. This setting should be inherited to all the groups/projects that will be created inside this group. is this possible?
With the code snippet below i can "walk through" all repositories and change the settings after creation. However, I want to avoid that new projects/repos have the setting
prevent approval by author
to valuefalse
.The text was updated successfully, but these errors were encountered: