ci: robustify doc only change check (#23237)
This commit is contained in:
parent
8262f24fd8
commit
8b0dcfaa74
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ async function checkIfDocOnlyChange () {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (nonDocChange) {
|
if (nonDocChange || filesChanged.data.length === 0) {
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
} else {
|
} else {
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
|
|
Loading…
Reference in a new issue