mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-18 16:31:26 -07:00
Added module for creating protected branches (#2781)
* Added module for creating protected branches * Applied some changes due to comments and added a test that currently fails * Changing no_access to nobody due to comment on PR * Changing the description to clarify it a bit more * Added working tests for module 'gitlab_protected_branch' * Fixing lint issues * Added doc that minimum of v2.3.0 is needed to work correctly * Fixed the requirements notation * Check the version of the module * Hopefully fixed the tests by skipping it when lower version of 2.3.0 is installed * Fix lint issues * Applying changes due to comments in PR * Remove commented code * Removing the trailing dot ... Co-authored-by: jenkins-x-bot <jenkins-x@googlegroups.com> Co-authored-by: Werner Dijkerman <iam@werner-dijkerman.nl>
This commit is contained in:
parent
27ba98a68e
commit
7734430f23
4 changed files with 319 additions and 2 deletions
1
plugins/modules/gitlab_protected_branch.py
Symbolic link
1
plugins/modules/gitlab_protected_branch.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
source_control/gitlab/gitlab_protected_branch.py
|
Loading…
Add table
Add a link
Reference in a new issue