Skip to content

Unable to disable restrictions by using a "null" value. #46

@scoopex

Description

@scoopex

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions