Skip to content

ci: add Claude Code PR review and Copilot review instructions#35

Merged
danielewood merged 1 commit intomainfrom
ci/automated-pr-review
Feb 16, 2026
Merged

ci: add Claude Code PR review and Copilot review instructions#35
danielewood merged 1 commit intomainfrom
ci/automated-pr-review

Conversation

@danielewood
Copy link
Collaborator

Description

Add automated code review via Claude Code and review guidance for Copilot.

Claude Code workflows

  • claude-code-review.yml — Automatic review on every non-draft, non-fork PR using the code-review plugin
  • claude.yml@claude mention handler for PRs and issues

Access control

  • Auto-review skips fork PRs (head.repo.full_name == github.repository)
  • @claude mentions restricted to OWNER, MEMBER, or COLLABORATOR — random contributors cannot trigger it

Copilot instructions

  • .github/copilot-instructions.md distills the strict rules from CLAUDE.md into review-focused guidance, referencing rule IDs (ERR-1, CS-2, etc.)

Test Plan

  • Claude Code Review triggers on this PR
  • @claude mention works for repo owner
  • Fork PRs do not trigger auto-review

Add two Claude Code workflows:
- claude-code-review.yml: automatic code review on every non-draft PR
- claude.yml: @claude mention handler for PRs and issues

Add .github/copilot-instructions.md with project coding standards
distilled from CLAUDE.md for Copilot code review guidance.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@danielewood danielewood merged commit 9054b87 into main Feb 16, 2026
11 checks passed
@danielewood danielewood deleted the ci/automated-pr-review branch February 16, 2026 05:41
@danielewood danielewood mentioned this pull request Feb 17, 2026
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.

1 participant