From 04e875c5c8b0c2491749258bfe198319a6f5230f Mon Sep 17 00:00:00 2001 From: Christian Gunderman Date: Mon, 4 May 2026 23:00:14 +0000 Subject: [PATCH] fix(ci): respect exempt labels when closing stale items (#26475) --- .github/scripts/gemini-lifecycle-manager.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/gemini-lifecycle-manager.cjs b/.github/scripts/gemini-lifecycle-manager.cjs index 08cc5b5dc8..6a32beeb53 100644 --- a/.github/scripts/gemini-lifecycle-manager.cjs +++ b/.github/scripts/gemini-lifecycle-manager.cjs @@ -154,7 +154,7 @@ module.exports = async ({ github, context, core }) => { // 3. Handle Stale Close (14 days with stale label) await processItems( - `repo:${owner}/${repo} is:open label:"${STALE_LABEL}" updated:<${closeThreshold.toISOString()}`, + `repo:${owner}/${repo} is:open label:"${STALE_LABEL}" ${exemptQuery} updated:<${closeThreshold.toISOString()}`, async (item) => { core.info(`Closing stale item #${item.number}.`); if (!dryRun) {