Compare commits

...

1 Commits

Author SHA1 Message Date
Meghan Denny
43c934f074 ci: improve docs-only check 2025-11-13 13:20:39 -08:00

View File

@@ -1217,7 +1217,14 @@ async function main() {
} catch (e) {
console.error(e);
}
if (allFiles.every(filename => filename.startsWith("docs/"))) {
if (
allFiles.every(filename => {
if (filename.startsWith("docs/")) return true;
if (filename.endsWith(".md")) return true;
if (filename.endsWith(".mdx")) return true;
return false;
})
) {
console.log(`- PR is only docs, skipping tests!`);
return;
}