分支保护规则从 GitHub 界面消失了

问题描述 投票:0回答:1

这就是我进入“分支”选项卡时想要看到的内容 there is a branch tab

这就是我所看到的 no branch tab

为什么我无法在我的存储库中设置分支保护规则?

我还尝试使用 terraform 添加分支规则,然后收到错误

Error: Branch protection is disabled on this repository.

我不明白为什么这个选项卡消失了,它以前就在那里,我不知道如何找回它

github branch git-branch
1个回答
0
投票

我猜你正在使用私人存储库。

您是否使用以下计划之一:GitHub Pro、GitHub Team、GitHub Enterprise Cloud 和 GitHub Enterprise Server?您的帐户有“编辑存储库规则”权限吗?

这是我能想到的仅有的两个选择。

© www.soinside.com 2019 - 2024. All rights reserved.