mirror of
https://github.com/ankitects/anki.git
synced 2026-06-10 07:22:47 -04:00
Fixes #4936 ## Problem The `check-linked-issue` workflow runs on every `opened` and `edited` PR event. When a PR had no linked issue, each edit triggered a new bot comment, resulting in duplicates (e.g. #4934). ## Solution Before posting the comment, list the existing PR comments and skip posting if the bot has already left one with the same message. The `missing-issue` label re-application is harmless since GitHub deduplicates labels automatically.