Skip to content

Commit 644e2b9

Browse files
committed
Restore condition for enablement
1 parent 02b2c55 commit 644e2b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/init-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/config-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ export async function initConfig(
919919
// If we are in CCR or the corresponding FF is enabled, try to determine
920920
// which files in the repository are marked as generated and add them to
921921
// the `paths-ignore` configuration.
922-
if ((await features.getValue(Feature.IgnoreGeneratedFiles)) || isCCR()) {
922+
if ((await features.getValue(Feature.IgnoreGeneratedFiles)) && isCCR()) {
923923
try {
924924
const generatedFiles = await getGeneratedFiles(inputs.sourceRoot);
925925
config.computedConfig["paths-ignore"] ??= [];

0 commit comments

Comments
 (0)