Prevent-Public-Repos Probot App未将回购更改为私有
到目前为止,我已经调整了参数并测试了值的各种组合。从我在Github Enterprise帐户(我们正在使用云)上可以看到的是,新的存储库状态为Internal,不再是Public / Private。我想知道这是否会中断API调用,以将此回购更改回Private。
# Turn on Monitor Mode. In this mode the repo visibility is not modified and only an Issue is created
monitorOnly: false
# Enables detection of repos that change visibility from private to public (not just newly created ones)
enablePrivateToPublic: false
我们遇到了一些问题,提醒我们测试仓库的状态从“私人”变为“公共”。最后一个方法changeVisibility()似乎无法正确执行。
答案 0 :(得分:0)
我终于弄清楚了这一点,并在项目上造成了一个问题。 https://github.com/issc29/probot-prevent-public-repos/issues/14
针对不想点击以上票证的人的修改后答案。
# Enables detection of repos that change visibility from private to public (not just newly created ones)
# true -- will prevent a Private repo from transitioning to Public scope, unless this repository is listed in the excludeRepos list below
# false -- will allow a Private repo to transition to Public scope and only create an issue about this transition