Skip to content

Conversation

@ovitrif
Copy link
Collaborator

@ovitrif ovitrif commented Nov 18, 2025

This PR adds a GitHub Actions workflow that enables Claude Code integration in our repository. It also adds the file with the agent rules to git VCS.

What is Claude Code?

Claude Code is an AI coding agent that can help with:

  • Bug fixes and improvements
  • Documentation updates
  • Implementing new features
  • Code reviews and suggestions
  • Writing tests
  • And more!

How it works

Once this PR is merged, we'll be able to interact with Claude by mentioning @claude in a pull request or issue comment.
Once the workflow is triggered, Claude will analyze the comment and surrounding context, and execute on the request in a GitHub action.

Important Notes

  • This workflow won't take effect until this PR is merged
  • @claude mentions won't work until after the merge is complete
  • The workflow runs automatically whenever Claude is mentioned in PR or issue comments
  • Claude gets access to the entire PR or issue context including files, diffs, and previous comments

Security

  • Our Anthropic API key is securely stored as a GitHub Actions secret
  • Only users with write access to the repository can trigger the workflow
  • All Claude runs are stored in the GitHub Actions run history
  • Claude's default tools are limited to reading/writing files and interacting with our repo by creating comments, branches, and commits.
  • We can add more allowed tools by adding them to the workflow file like:
allowed_tools: Bash(npm install),Bash(npm run build),Bash(npm run lint),Bash(npm run test)

There's more information in the Claude Code action repo.

After merging this PR, let's try mentioning @claude in a comment on any PR to get started!

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copilot finished reviewing on behalf of ovitrif November 18, 2025 09:46
Copy link
Contributor

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

This PR adds two GitHub Actions workflows to enable Claude Code integration: one for manual @claude mentions in comments, and another for automated code reviews on pull requests.

  • Adds .github/workflows/claude.yml for interactive Claude Code usage via @claude mentions
  • Adds .github/workflows/claude-code-review.yml for automated PR reviews
  • Configures authentication, permissions, and allowed Bash tools for Claude's operations

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/claude.yml Workflow that triggers Claude Code when @claude is mentioned in issues, PR comments, or reviews
.github/workflows/claude-code-review.yml Workflow that automatically runs Claude Code review on new/updated pull requests

@ovitrif ovitrif enabled auto-merge November 18, 2025 09:49
Copy link
Collaborator Author

@ovitrif ovitrif left a comment

Choose a reason for hiding this comment

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

self review: ✅

@ovitrif ovitrif changed the title chore: add claude code workflow chore: add claude code workflow & rules Nov 18, 2025
jvsena42
jvsena42 previously approved these changes Nov 18, 2025
@jvsena42
Copy link
Member

There are some unverified signatures

@ovitrif ovitrif force-pushed the add-claude-github-actions-1763458753833 branch from 21783ef to b6cd260 Compare November 18, 2025 11:52
@ovitrif
Copy link
Collaborator Author

ovitrif commented Nov 18, 2025

There are some unverified signatures

Thanks for the notice! Should be fixed now, after rebase

@ovitrif ovitrif requested a review from jvsena42 November 19, 2025 17:57
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.

3 participants