Skip to content

Commit

Permalink
Fix check no important files
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Jan 10, 2025
1 parent 991c8c7 commit 8986834
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/check-no-important-files-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
);
if (match?.groups === undefined) {
console.log(`${filename}: skipped (can't invalidate test results)`);
return false;
continue;
}
const { type, slug, path } = match.groups;
Expand Down Expand Up @@ -80,11 +80,10 @@ jobs:
if (invalidatesTests) {
console.log(`${filename}: invalidates test results`);
return true;
} else {
console.log(`${filename}: does not invalidate test results`);
}
return invalidatesTests;
}
return false;
Expand Down

0 comments on commit 8986834

Please sign in to comment.