From c3ad22be58630324f94843954b2ae33b711e9739 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Thu, 26 Nov 2026 15:21:47 +0000 Subject: [PATCH] chore: Limit re-checks of closed issues to 2 --- .github/scripts/issue-triage/triage.js | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/issue-triage/triage.js b/.github/scripts/issue-triage/triage.js index fb819645d..11046c141 100644 --- a/.github/scripts/issue-triage/triage.js +++ b/.github/scripts/issue-triage/triage.js @@ -31,7 +31,7 @@ const BOT_LOGIN = 'github-actions[bot]'; const MAINTAINER_ASSOCIATIONS = ['OWNER', 'MEMBER', 'COLLABORATOR']; // How often a closed issue is checked again after changes of its author. Each check is an AI request. -const MAX_RECHECKS = 3; +const MAX_RECHECKS = 2; // A hidden marker starts the comment posted when an issue is closed. It holds the whole state, // which is the number of re-checks used so far. diff --git a/README.md b/README.md index cc3120dde..7bf32370a 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ AI model to help with new issues: - It rewrites titles that do not match the issue text, as `bug:`, `feat:` or `question:`. - It closes issues without enough information to act on, and asks the author for the missing details. When the author then edits the issue or replies, it is checked again, and reopened if there is enough - information. This happens at most 3 times (`MAX_RECHECKS` in [triage.js](.github/scripts/issue-triage/triage.js)). + information. This happens at most 2 times (`MAX_RECHECKS` in [triage.js](.github/scripts/issue-triage/triage.js)). Issues with logs, screenshots or other attachments are never closed. ### Setup