We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 375f3ba commit f087cffCopy full SHA for f087cff
index.js
@@ -83,7 +83,7 @@ const getStalePulls = async (app, context, owner) => {
83
stale_pull_cleanup: cleanupPolicy,
84
} = getConfig(owner);
85
if (!cleanupPolicy.enabled) {
86
- return;
+ return [];
87
}
88
const duration = (cleanupPolicy.duration || '7 days').split(' ');
89
const filterDate = sub(new Date(), { [duration[1]]: parseInt(duration[0], 10) });
0 commit comments