From b31680a62adb22a64d4cc7b31cf829702236467c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 22 Sep 2025 04:08:26 +0000 Subject: [PATCH 1/3] Initial plan From 1bdd61ea7759004a5b2fb4a559f10093e3e1e981 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 22 Sep 2025 04:11:37 +0000 Subject: [PATCH 2/3] Initial analysis: Identify filter logic issue with new body format Co-authored-by: BorDevTech <73800053+BorDevTech@users.noreply.github.com> --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 5fd2278..b10f55d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,7 +50,7 @@ "tailwindcss": "^4", "ts-node": "^10.9.2", "tsx": "^4.20.4", - "typescript": "^5.5.3", + "typescript": "^5.9.2", "typescript-eslint": "^8.6.0" } }, From 522ce7f7ec8421e4c775d60eb481dd3f1cc5836e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 22 Sep 2025 04:13:30 +0000 Subject: [PATCH 3/3] Fix filter logic to support both old and new body formats Co-authored-by: BorDevTech <73800053+BorDevTech@users.noreply.github.com> --- scripts/lint-automation/github-issue-creator.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/lint-automation/github-issue-creator.ts b/scripts/lint-automation/github-issue-creator.ts index 3a2a91d..e874d7c 100644 --- a/scripts/lint-automation/github-issue-creator.ts +++ b/scripts/lint-automation/github-issue-creator.ts @@ -132,7 +132,9 @@ class GitHubIssueCreator { if (data.total_count > 0) { // Find the most recent issue for this rule const ruleIssues = data.items.filter((issue: any) => - issue.title.includes(ruleId) || issue.body.includes(`**Rule:** \`${ruleId}\``) + issue.title.includes(ruleId) || + issue.body.includes(`**Rule:** \`${ruleId}\``) || + issue.body.includes(`## 🔧 ${ruleId}`) ); if (ruleIssues.length > 0) {