Skip to content

Conversation

sanity
Copy link
Contributor

@sanity sanity commented Sep 28, 2025

Summary

  • Adds claude.yml for @claude mentions in issues/PRs
  • Adds claude-code-review.yml for automated PR reviews
  • Adds claude-ci-analysis job to ci.yml for CI failure analysis

Implementation Details

claude.yml

  • Triggers on issue comments, PR comments, and reviews containing @claude
  • Allows interactive Q&A and debugging assistance
  • Has permissions to read CI results

claude-code-review.yml

  • Runs on PR open/synchronize
  • Provides feedback on code quality, bugs, performance, security, and test coverage
  • Uses repository CLAUDE.md for context

claude-ci-analysis (in ci.yml)

  • Depends on test_all, build_targets, clippy_check, and fmt_check jobs
  • Only runs if any job fails AND PR has 'claude-debug' label
  • Analyzes failure logs and suggests fixes
  • Posts findings as PR comment

Usage

Interactive assistance:

  • Mention @claude in any issue or PR comment

Automated reviews:

  • Automatic on PR creation (can be disabled with author filters)

CI debugging:

  • Add 'claude-debug' label to PR to enable failure analysis

🤖 Generated with Claude Code

Adds three Claude workflows:
- claude.yml: Responds to @claude mentions in issues/PRs
- claude-code-review.yml: Automated PR code reviews
- claude-ci-analysis job in ci.yml: Analyzes CI failures when 'claude-debug' label is present

Features:
- Opt-in debugging with 'claude-debug' label
- Automatic code review on PR creation
- Interactive @claude support for questions and debugging
- Reads CI logs and provides root cause analysis

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@sanity sanity enabled auto-merge (squash) September 28, 2025 00:23
sanity and others added 2 commits September 28, 2025 16:42
Changed all Claude workflows to use ANTHROPIC_API_KEY environment
variable instead of claude_code_oauth_token parameter.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Composite actions need environment variables at job level,
not step level, to properly access them during validation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
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