Merge branch 'github-cli-937-v1-project-ghes-deprecation' into 11409-pr-view-v2-projects

This commit is contained in:
Kynan Ware 2025-08-14 15:31:27 -06:00 committed by GitHub
commit 1dadf98148
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -211,8 +211,6 @@ const (
)
func (d *detector) ProjectsV1() gh.ProjectsV1Support {
// Currently, projects v1 support is entirely dependent on the host. As this is deprecated in GHES,
// we will do feature detection on whether the GHES version has support.
if !ghauth.IsEnterprise(d.host) {
return gh.ProjectsV1Unsupported
}