为什么我无法在我的存储库中设置分支保护规则?
我还尝试使用 terraform 添加分支规则,然后收到错误
Error: Branch protection is disabled on this repository.
我不明白为什么这个选项卡消失了,它以前就在那里,我不知道如何找回它
我猜你正在使用私人存储库。
您是否使用以下计划之一:GitHub Pro、GitHub Team、GitHub Enterprise Cloud 和 GitHub Enterprise Server?您的帐户有“编辑存储库规则”权限吗?
这是我能想到的仅有的两个选择。