Move code scanning config enablement into feature flags
This commit is contained in:
parent
bf162c4114
commit
9922e17dbb
27 changed files with 118 additions and 116 deletions
|
|
@ -20,7 +20,7 @@ import { getCodeQL } from "./codeql";
|
|||
import { Config, getConfig } from "./config-utils";
|
||||
import { uploadDatabases } from "./database-upload";
|
||||
import { EnvVar } from "./environment";
|
||||
import { Features } from "./feature-flags";
|
||||
import { Feature, Features } from "./feature-flags";
|
||||
import { Language } from "./languages";
|
||||
import { getActionsLogger, Logger } from "./logging";
|
||||
import { parseRepositoryNwo } from "./repository";
|
||||
|
|
@ -224,9 +224,9 @@ async function run() {
|
|||
logger
|
||||
);
|
||||
|
||||
const memory = await util.getMemoryFlag(
|
||||
const memory = util.getMemoryFlag(
|
||||
actionsUtil.getOptionalInput("ram") || process.env["CODEQL_RAM"],
|
||||
features
|
||||
await features.getValue(Feature.ScalingReservedRamEnabled)
|
||||
);
|
||||
|
||||
await runAutobuildIfLegacyGoWorkflow(config, logger);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue