Fix logic

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
Andre Wanlin
2026-02-16 18:45:25 -06:00
parent 77f7469fab
commit 3961a51cbe
+1 -1
View File
@@ -86,7 +86,7 @@ async function main(args) {
statusChanged = true;
}
// If status is inactive, change to archived
else if (pluginDataYaml.status === 'inactive') {
else if (age > 365 && pluginDataYaml.status === 'inactive') {
newStatus = 'archived';
statusChanged = true;
}