Skip to content

Commit 464335c

Browse files
anandgupta42claude
andcommitted
fix: require all three PR checklist boxes
A body that deleted the cost checkbox still passed with two checked boxes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 2aac8cc commit 464335c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/pr-standards.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ jobs:
268268
const checklistContent = checklistMatch ? checklistMatch[1] : '';
269269
const unchecked = (checklistContent.match(/- \[ \]/g) || []).length;
270270
const checked = (checklistContent.match(/- \[x\]/gi) || []).length;
271-
// altimate_change start — require every checklist box now that the template has three
272-
if (unchecked > 0 || checked < 2) {
271+
// altimate_change start — require all three checklist boxes; a deleted line must not pass
272+
if (unchecked > 0 || checked < 3) {
273273
issues.push('Not all checklist items are checked. Please confirm you have tested locally, have not included unrelated changes and have checked for cost side effects.');
274274
// altimate_change end
275275
}

0 commit comments

Comments
 (0)