Skip to content

Commit de57c4a

Browse files
committed
Move registry_types to StatusReportBase
1 parent 18420e3 commit de57c4a

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎src/start-proxy.ts‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ export class StartProxyError extends Error {
8383
}
8484
}
8585

86-
interface StartProxyStatus extends StatusReportBase {
87-
// A comma-separated list of registry types which are configured for CodeQL.
88-
// This only includes registry types we support, not all that are configured.
89-
registry_types: string;
90-
}
91-
9286
/**
9387
* Sends a status report for the `start-proxy` action indicating a successful outcome.
9488
*
@@ -112,7 +106,7 @@ export async function sendSuccessStatusReport(
112106
logger,
113107
);
114108
if (statusReportBase !== undefined) {
115-
const statusReport: StartProxyStatus = {
109+
const statusReport: StatusReportBase = {
116110
...statusReportBase,
117111
registry_types: registry_types.join(","),
118112
};

‎src/status-report.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,12 @@ export interface StatusReportBase {
159159
ml_powered_javascript_queries?: string;
160160
/** Ref that the workflow was triggered on. */
161161
ref: string;
162+
/**
163+
* A comma-separated list of private registry types which are configured for CodeQL.
164+
* This only includes registry types we support (as determined by the `start-proxy` action),
165+
* not all that are configured.
166+
*/
167+
registry_types?: string;
162168
/** Action runner hardware architecture (context runner.arch). */
163169
runner_arch?: string;
164170
/** Available disk space on the runner, in bytes. */

0 commit comments

Comments
 (0)