Claude: Make this for PRs as well #3

Merged
selimaj-dev merged 1 commits from claude/issue-2 into master 2026-09-28 15:10:27 +00:00
Collaborator

Closes #2

Summary: extended classifyEvent in src/events.js to also handle three new Gitea webhook event types — pull_request (opened/edited, triggers off the PR description like issues does for issue bodies), pull_request_review_comment (inline diff comments), and pull_request_review (overall review body on submit) — all marked isPullRequest: true and flowing through the existing PR-aware job logic in job.js unchanged. Added corresponding tests in test/events.test.js, and updated README.md to document the new webhook triggers to enable in Gitea and removed the now-stale "Known limitations" note about PR review comments not being wired up.

Closes #2 Summary: extended `classifyEvent` in `src/events.js` to also handle three new Gitea webhook event types — `pull_request` (opened/edited, triggers off the PR description like `issues` does for issue bodies), `pull_request_review_comment` (inline diff comments), and `pull_request_review` (overall review body on submit) — all marked `isPullRequest: true` and flowing through the existing PR-aware job logic in `job.js` unchanged. Added corresponding tests in `test/events.test.js`, and updated `README.md` to document the new webhook triggers to enable in Gitea and removed the now-stale "Known limitations" note about PR review comments not being wired up.
claude added 1 commit 2026-09-28 15:09:16 +00:00
selimaj-dev merged commit ace7bd2c86 into master 2026-09-28 15:10:27 +00:00
selimaj-dev deleted branch claude/issue-2 2026-09-28 15:10:29 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: selimaj-dev/claude-hook#3