Skip to content

Agent Zero AI framework

Add sort order to inactive item search query

frdelf31693d5c330
diff --git a/.github/workflows/close-inactive.yml b/.github/workflows/close-inactive.yml
index 547979236..abdad86d0 100644
--- a/.github/workflows/close-inactive.yml
+++ b/.github/workflows/close-inactive.yml
@@ -103,6 +103,6 @@ jobs:
}
}
- const base = `repo:${owner}/${repo} is:open updated:<${cutoffDate}`;
+ const base = `repo:${owner}/${repo} is:open updated:<${cutoffDate} sort:updated-asc`;
await processQuery("issues", `${base} is:issue`);
await processQuery("pull requests", `${base} is:pr`);