Unable to disable restrictions by using a "null" value.
Opened this issue · 1 comments
scoopex commented
The Github API (https://docs.github.com/de/rest/branches/branch-protection?apiVersion=2022-11-28#update-branch-protection) describes that you have to set the value to "null" to completely disable restrictions in the org
Due to the fact that the Ansible parameter validation specified and checks in github_org_repository.py
that this value needs to be a dict, the traditional way to set this value to "null" in the yaml file
is not valid anymore with recent ansible implementations.
scoopex commented
The changes included in https://github.com/opentelekomcloud/ansible-collection-gitcontrol/pull/44/files solve this problem.