能否通过GitHub API设置“Do not allow bypassing the above settings”为true?
GitHub Enterprise Server 3.8分支保护API设置疑问解答
- 无法通过API将“Do not allow bypassing the above settings”设置为true:GitHub Enterprise Server 3.8的分支保护API未包含对应属性,这也是服务器返回“无此属性”提示的直接原因。
- 补充说明:禁止绕过分支保护设置的API功能,仅在更高版本的GitHub Enterprise Server或GitHub.com的分支保护接口中提供支持,若需要通过API实现该功能,建议升级到符合要求的版本。
内容的提问来源于stack exchange,提问作者Ivan
相关产品推荐
相关产品推荐

