Merge remote-tracking branch 'origin/main' into mbg/use-registry-proxy-for-repo-auth

This commit is contained in:
Michael B. Gale
2026-07-16 12:48:24 +01:00
32 changed files with 247 additions and 224 deletions

View File

@@ -192,7 +192,15 @@ export function getTestActionsEnv(): ActionsEnv {
}
/** For testing purposes, we make all available state features accessible in `TestEnv`. */
type AllState = ["Logger", "Env", "Actions", "FeatureFlags"];
type AllState = [
"Base",
"Logger",
"Env",
"ReadOnlyEnv",
"Actions",
"Api",
"FeatureFlags",
];
/** Initialise a fresh `ActionState<AllState>` value. */
export function initAllState(
@@ -204,6 +212,7 @@ export function initAllState(
logger: new RecordingLogger(),
env: getTestEnv(),
actions: getTestActionsEnv(),
apiClient: github.getOctokit("123"),
features: createFeatures([]),
...overrides,
};