@@ -14,6 +14,7 @@ export enum RepositoryPropertyName {
1414 DISABLE_OVERLAY = "github-codeql-disable-overlay" ,
1515 EXTRA_QUERIES = "github-codeql-extra-queries" ,
1616 FILE_COVERAGE_ON_PRS = "github-codeql-file-coverage-on-prs" ,
17+ TOOLS = "github-codeql-tools" ,
1718}
1819
1920/** Parsed types of the known repository properties. */
@@ -22,6 +23,7 @@ export type AllRepositoryProperties = {
2223 [ RepositoryPropertyName . DISABLE_OVERLAY ] : boolean ;
2324 [ RepositoryPropertyName . EXTRA_QUERIES ] : string ;
2425 [ RepositoryPropertyName . FILE_COVERAGE_ON_PRS ] : boolean ;
26+ [ RepositoryPropertyName . TOOLS ] : string ;
2527} ;
2628
2729/** Parsed repository properties. */
@@ -33,6 +35,7 @@ export type RepositoryPropertyApiType = {
3335 [ RepositoryPropertyName . DISABLE_OVERLAY ] : string ;
3436 [ RepositoryPropertyName . EXTRA_QUERIES ] : string ;
3537 [ RepositoryPropertyName . FILE_COVERAGE_ON_PRS ] : string ;
38+ [ RepositoryPropertyName . TOOLS ] : string ;
3639} ;
3740
3841/** The type of functions which take the `value` from the API and try to convert it to the type we want. */
@@ -81,6 +84,7 @@ const repositoryPropertyParsers: {
8184 [ RepositoryPropertyName . DISABLE_OVERLAY ] : booleanProperty ,
8285 [ RepositoryPropertyName . EXTRA_QUERIES ] : stringProperty ,
8386 [ RepositoryPropertyName . FILE_COVERAGE_ON_PRS ] : booleanProperty ,
87+ [ RepositoryPropertyName . TOOLS ] : stringProperty ,
8488} ;
8589
8690/**
0 commit comments