ci: use centralized Claude AI code review - #19
Merged
Conversation
Delegate PR review and the @claude mention bot to the centrally-maintained reusable workflows in Venly/venly-github-workflows (project_type: generic). Review logic now lives in one place and is updated centrally.
There was a problem hiding this comment.
Pull request overview
This PR adds two GitHub Actions workflows that delegate PR reviews and @claude-mention handling to centrally maintained reusable workflows in Venly/venly-github-workflows@v1, removing per-repo duplication.
Changes:
- Add a
Claude Code Reviewworkflow that calls the centralized AI review reusable workflow on PR events. - Add a
Claude Codeworkflow that calls the centralized@claudemention-bot reusable workflow on comment/review/issue events.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/claude.yml | Adds a mention-triggered workflow that delegates to the centralized @claude bot. |
| .github/workflows/claude-code-review.yml | Adds a PR-triggered workflow that delegates to the centralized automated code review engine. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+26
to
+35
| claude: | ||
| # Only invoke the engine on an actual @claude mention — avoids spawning a | ||
| # skipped workflow run on every comment/issue event. | ||
| if: | | ||
| (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) || | ||
| (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) || | ||
| (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) || | ||
| (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude'))) | ||
| uses: Venly/venly-github-workflows/.github/workflows/claude.yml@v1 | ||
| secrets: inherit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wires this repo to the centrally-maintained Claude AI code review engine in
Venly/venly-github-workflows(reusable workflows pinned to@v1).claude-code-review.yml→ automated PR review (project_type:generic, block_on_critical:true)claude.yml→ @claude mention botReview logic is no longer duplicated per repo; improvements ship from one place.