r/codereview • • Oct 01 '26

Built smart-labeler – Smart Issue and PR labeling

I built Smart Labeler, a GitHub Action that uses TypeSafe's Jev model to automatically label incoming PRs and issues using your existing repo labels.

Key Features:

  • Group-Aware Logic: Grouped labels like type:bug and type:feature are evaluated together so mutually exclusive categories never conflict (max 1 per group).
  • Context-Aware: Evaluates issue/PR titles, descriptions, and modified file paths.
  • Safe by Design: Never creates or deletes labels—it only applies existing ones if confidence passes your set probability threshold (default: 0.7).
  • Fork PR Friendly: Uses pull_request_target to safely process fork PRs without checking out untrusted code.

Check it out on GitHub: https://github.com/hkurma/smart-labeler

Would love to hear what you think!

0 Upvotes

3 comments sorted by

0

u/kingguru Oct 01 '26

When you write "I built" do you mean you actually wrote the code or is it AI slop?

0

u/harishsunny0504 Oct 01 '26

Not either of them

1

u/maxip89 Oct 05 '26

If course he does