Skip to content

Commit c3a4de9

Browse files
final commit - probably
1 parent 2fdf5cd commit c3a4de9

File tree

4 files changed

+690
-329
lines changed

4 files changed

+690
-329
lines changed

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,9 @@ func run(state overseer.State) {
464464
// OSS Default simplified gitlab enumeration
465465
feature.UseSimplifiedGitlabEnumeration.Store(true)
466466

467+
// OSS Default using github graphql api for issues, pr's and comments
468+
feature.UseGithubGraphqlAPI.Store(true)
469+
467470
conf := &config.Config{}
468471
if *configFilename != "" {
469472
var err error

pkg/feature/feature.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ var (
99
EnableAPKHandler atomic.Bool
1010
UserAgentSuffix AtomicString
1111
UseSimplifiedGitlabEnumeration atomic.Bool
12-
UseGitMirror atomic.Bool
12+
UseGitMirror atomic.Bool
13+
UseGithubGraphqlAPI atomic.Bool // use github graphql api to fetch issues, pr's and comments
1314
)
1415

1516
type AtomicString struct {

0 commit comments

Comments
 (0)