Skip to content

Simplify issue greeter by removing wrong repo handling - #971

Merged
frenck merged 1 commit into
mainfrom
ludeeus-claude-code-agent/magical-goodall-8xdqku
Oct 17, 2026
Merged

frenck merged 1 commit into
mainfrom
ludeeus-claude-code-agent/magical-goodall-8xdqku

Conversation

@ludeeus

@ludeeus ludeeus commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Refactored the issues opened greeter plugin to simplify its logic by removing the special handling for issues opened in the wrong repository. The plugin now only processes issues opened in the integration repository and skips all others at the early validation stage.

Key Changes

  • Moved the repository check from a conditional block into the early return guard clause
  • Removed the entire wrong-repository response flow that previously:
    • Posted a detailed comment explaining the issue was in the wrong repo
    • Closed the issue
    • Locked the issue
  • Simplified the control flow by consolidating all rejection conditions into a single early return statement

Stop commenting on, closing and locking issues opened outside
hacs/integration. The greeter comment is still only posted in
hacs/integration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015yeHiBN5dnjaE1kTpJ3o2d

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused change matches the stated intent and introduces no identified blocking issues.

0 open findings

What changed in this PR

Simplifies the issue greeter to process only issues opened in the integration repository.

Changes:

  • Moves repository filtering into the early-return guard.
  • Removes commenting, closing, and locking for issues in other repositories.
File Description
src/​plugins/​issues.opened.greeter.ts Skips other repositories while preserving integration issue greetings.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ludeeus
ludeeus marked this pull request as ready for review October 16, 2026 13:41
@frenck
frenck merged commit 13ea252 into main Oct 17, 2026
5 checks passed
@frenck
frenck deleted the ludeeus-claude-code-agent/magical-goodall-8xdqku branch October 17, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants