MCPcopy Create free account
hub / github.com/github/gh-aw / checkRepositoryHasIssues

Function checkRepositoryHasIssues

pkg/workflow/repository_features_validation.go:296–302  ·  view source on GitHub ↗

checkRepositoryHasIssues checks if a repository has issues enabled (with caching)

(repo string, verbose bool)

Source from the content-addressed store, hash-verified

294
295// checkRepositoryHasIssues checks if a repository has issues enabled (with caching)
296func checkRepositoryHasIssues(repo string, verbose bool) (bool, error) {
297 features, err := getRepositoryFeatures(repo, verbose)
298 if err != nil {
299 return false, err
300 }
301 return features.HasIssues, nil
302}
303
304// checkRepositoryHasIssuesUncached checks if a repository has issues enabled (no caching)
305func checkRepositoryHasIssuesUncached(repo string) (bool, error) {

Calls 1

getRepositoryFeaturesFunction · 0.85