Skip to content

Commit 864487f

Browse files
Fix check no important files (exercism#204)
1 parent 991c8c7 commit 864487f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/check-no-important-files-changed.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
);
4747
if (match?.groups === undefined) {
4848
console.log(`${filename}: skipped (can't invalidate test results)`);
49-
return false;
49+
continue;
5050
}
5151
5252
const { type, slug, path } = match.groups;
@@ -80,11 +80,10 @@ jobs:
8080
8181
if (invalidatesTests) {
8282
console.log(`${filename}: invalidates test results`);
83+
return true;
8384
} else {
8485
console.log(`${filename}: does not invalidate test results`);
8586
}
86-
87-
return invalidatesTests;
8887
}
8988
9089
return false;

0 commit comments

Comments
 (0)