Prevent-Public-Repos Probot App 不将 repo 更改为 private
到目前为止,我已经调整了参数并测试了各种值组合。从我的 Github Enterprise 帐户(我们使用云)上可以看到,有一个新的内部存储库状态——不再是公共/私有。我想知道这是否会破坏 API 调用以将此存储库更改回私有。
# 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() 似乎没有正确执行。