Template
mirror of
https://github.com/MorpheApp/morphe-patches-template.git
synced 2026-12-01 01:29:34 +00:00
chore: Limit re-checks of closed issues to 2
This commit is contained in:
1 parent
118e04c2fd
commit
c3ad22be58
2 files changed
+2
-2
No files matched your search
@@ -31,7 +31,7 @@ const BOT_LOGIN = 'github-actions[bot]';
|
|||||||
const MAINTAINER_ASSOCIATIONS = ['OWNER', 'MEMBER', 'COLLABORATOR'];
|
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.
|
// 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,
|
// 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.
|
// which is the number of re-checks used so far.
|
||||||
|
|||||||
@@ -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 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.
|
- 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
|
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.
|
Issues with logs, screenshots or other attachments are never closed.
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
|||||||
Reference in new issue
Block a user