From d56a902a075b2c6ac86d03d047a543fe18dbc6ec Mon Sep 17 00:00:00 2001 From: "Babak K. Shandiz" Date: Tue, 2 Sep 2025 12:09:38 +0100 Subject: [PATCH] docs(featuredetection): add godoc for min GHES version for advanced issue search Signed-off-by: Babak K. Shandiz --- internal/featuredetection/feature_detection.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/internal/featuredetection/feature_detection.go b/internal/featuredetection/feature_detection.go index 00f9fbb91..3b495e988 100644 --- a/internal/featuredetection/feature_detection.go +++ b/internal/featuredetection/feature_detection.go @@ -269,6 +269,12 @@ func (d *detector) ProjectsV1() gh.ProjectsV1Support { } const ( + // enterpriseAdvancedIssueSearchSupport is the minimum version of GHES that + // supports advanced issue search and gh should use it. + // + // Note that advanced issue search is also available on GHES 3.17, but it's + // at the preview stage and is not as mature as it is on github.com or later + // GHES version. enterpriseAdvancedIssueSearchSupport = "3.18.0" )