Skip to content

Commit cce0029

Browse files
authored
chore(triage-issue): Fix Linear idempotency check to match actual report header (#19489)
The duplicate-comment guard in `post_linear_comment.py` was checking for comments starting with `## Automated Triage Report`, but the triage report template (`triage-report.md`) generates headers in the format `## Issue Triage: #<number>`. Closes #19493 (added automatically)
1 parent 218ad4f commit cce0029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.claude/skills/triage-issue/scripts/post_linear_comment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def graphql(token, query, variables=None):
8484
)
8585
comments = data.get("data", {}).get("issue", {}).get("comments", {}).get("nodes", [])
8686
for c in comments:
87-
if c.get("body", "").startswith("## Automated Triage Report"):
87+
if c.get("body", "").startswith("## Issue Triage:"):
8888
print(f"Triage comment already exists on {identifier}, skipping")
8989
sys.exit(0)
9090

0 commit comments

Comments
 (0)