Skip to content

ci: enable Claude + Grok PR reviewers#16

Merged
falkoro merged 1 commit into
masterfrom
ci/enable-pr-reviewers
Jun 7, 2026
Merged

ci: enable Claude + Grok PR reviewers#16
falkoro merged 1 commit into
masterfrom
ci/enable-pr-reviewers

Conversation

@falkoro
Copy link
Copy Markdown
Owner

@falkoro falkoro commented Jun 7, 2026

Adds gated Claude and Grok (Hermes) PR review workflows.

Copilot AI review requested due to automatic review settings June 7, 2026 09:07
@falkoro falkoro merged commit 91a58c0 into master Jun 7, 2026
@falkoro falkoro deleted the ci/enable-pr-reviewers branch June 7, 2026 09:08
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2026

🔎 Grok review (Hermes · grok-4.3)

The added CI workflows and review script introduce no changes to extension/webview code paths. No SECURITY, CORRECTNESS or UX issues found in the diff.

Verdict: Clean; no review issues.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds gated automated PR review workflows for Claude and Grok (via the Hermes proxy) to post review feedback back onto pull requests in this repository.

Changes:

  • Added a Grok reviewer script that fetches PR diffs, calls a Hermes proxy, and upserts a single PR comment.
  • Added a Grok Review GitHub Actions workflow to run the script on PR events.
  • Added a Claude Review GitHub Actions workflow using anthropics/claude-code-action.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
scripts/grok-review.py Implements diff fetch + Hermes call + PR comment upsert for Grok reviews.
.github/workflows/grok-review.yml Adds a self-hosted PR-triggered workflow to run Grok reviews via Hermes.
.github/workflows/claude-review.yml Adds a self-hosted PR-triggered workflow to run Claude reviews via claude-code-action.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +3 to +6
on:
pull_request:
types: [opened, synchronize, reopened]

Comment on lines +7 to +10
permissions:
contents: read
pull-requests: write

Comment on lines +17 to +19
name: Grok review (Hermes)
if: vars.GROK_REVIEW_ENABLED == 'true'
runs-on: [self-hosted, linux, x64, spot-tech-ci]
Comment on lines +3 to +6
on:
pull_request:
types: [opened, synchronize, reopened]

Comment on lines +14 to +16
name: Claude review
if: vars.CLAUDE_REVIEW_ENABLED == 'true' && vars.CLAUDE_REVIEW_CONFIGURED == 'true'
runs-on: [self-hosted, linux, x64, spot-tech-ci]
Comment thread scripts/grok-review.py


def upsert_comment(repo, pr, token, text):
body_md = f"{MARKER}\n## 🔎 Grok review (Hermes · grok-4.3)\n\n{text}"
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.

2 participants