mirror of
https://github.com/github/codeql-action.git
synced 2026-04-29 18:30:14 +00:00
Restore condition for enablement
This commit is contained in:
Generated
+1
-1
@@ -90262,7 +90262,7 @@ async function initConfig(features, inputs) {
|
||||
);
|
||||
}
|
||||
const config = await initActionState(inputs, userConfig);
|
||||
if (await features.getValue("ignore_generated_files" /* IgnoreGeneratedFiles */) || isCCR()) {
|
||||
if (await features.getValue("ignore_generated_files" /* IgnoreGeneratedFiles */) && isCCR()) {
|
||||
try {
|
||||
const generatedFiles = await getGeneratedFiles(inputs.sourceRoot);
|
||||
config.computedConfig["paths-ignore"] ??= [];
|
||||
|
||||
Reference in New Issue
Block a user