The script previously called `gh api --paginate` and split the raw
response on newlines before json.loads()'ing each line. This is unsafe
because each page is a JSON array on a single conceptual line, and any
issue `body` field containing literal newlines makes splitlines() cut
the JSON apart, producing fragments that fail with
`Unterminated string starting at: line 1 column ...`.
Pass `--jq '.[]'` so gh emits each issue as a single compact JSON
object per line (with embedded newlines escaped). The loop then parses
one object per line safely.
Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
Add a Python script that detects duplicate issues using title similarity
(difflib.SequenceMatcher) and closes them via the gh CLI. Two-tier system:
- 0.6 threshold: informational comment via existing wow-actions step
- 0.85 threshold: auto-close with comment, label, and not_planned reason
Includes a workflow_dispatch workflow for one-time batch scans and
integrates auto-close into the existing check_duplicate_issues workflow
for newly opened issues.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Add auto issue labelling for llm_translation
* Add logging
* make the formatting better
* make the formatting better
* make the formatting better
* make the formatting better