Skip to content

Add Claude Code GitHub Workflow#4

Merged
leogdion merged 2 commits into
mainfrom
add-claude-github-actions-1781897733196
Jun 19, 2026
Merged

Add Claude Code GitHub Workflow#4
leogdion merged 2 commits into
mainfrom
add-claude-github-actions-1781897733196

Conversation

@leogdion

@leogdion leogdion commented Jun 19, 2026

Copy link
Copy Markdown
Member

🤖 Installing Claude Code GitHub App

This PR adds a GitHub Actions workflow that enables Claude Code integration in our repository.

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!

Summary by CodeRabbit

  • Chores
    • Updated GitHub Actions workflows for code review automation with a new plugin-based configuration approach and revised workflow settings to improve CI/CD integration.

@leogdion leogdion merged commit fe1ab84 into main Jun 19, 2026
8 of 10 checks passed
@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f86576ad-0bef-4cbc-ac2f-d2a98e0df219

📥 Commits

Reviewing files that changed from the base of the PR and between a9a8bc8 and 7c5b3d6.

📒 Files selected for processing (2)
  • .github/workflows/claude-code-review.yml
  • .github/workflows/claude.yml

📝 Walkthrough

Walkthrough

claude-code-review.yml replaces the inline multi-line review prompt, allowed_bots, and claude_args model/tools configuration with plugin_marketplaces, plugins, and a single command-style prompt invoking /code-review:code-review. claude.yml fixes a commented --allowed-tools example pattern from Bash(gh pr:*) to Bash(gh pr *).

Changes

Claude Workflow Configuration Updates

Layer / File(s) Summary
claude-code-review.yml plugin migration
.github/workflows/claude-code-review.yml
Replaces allowed_bots, multi-line review prompt, and claude_args (model + tool flags) with plugin_marketplaces, plugins, and a single /code-review:code-review command prompt. Minor whitespace adjustments around the permissions block.
claude.yml allowed-tools comment fix
.github/workflows/claude.yml
Updates the commented claude_args example: --allowed-tools pattern changed from Bash(gh pr:*) to Bash(gh pr *).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

A plugin now guides the review in place,
No more tangled prompts to chase.
The glob lost its colon, neat and trim,
The rabbit hops along each whim.
🐇 Clean configs make the workflow sing!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-claude-github-actions-1781897733196

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@leogdion leogdion deleted the add-claude-github-actions-1781897733196 branch June 19, 2026 19:35
@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.02%. Comparing base (a9a8bc8) to head (7c5b3d6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage   76.02%   76.02%           
=======================================
  Files          12       12           
  Lines         146      146           
=======================================
  Hits          111      111           
  Misses         35       35           
Flag Coverage Δ
spm 76.02% <ø> (ø)
swift-6.2-jammy 76.02% <ø> (ø)
swift-6.2-noble 76.02% <ø> (ø)
swift-6.3-jammy 76.02% <ø> (ø)
swift-6.3-noble 76.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

leogdion added a commit that referenced this pull request Jun 19, 2026
* "Update Claude PR Assistant workflow"

* "Update Claude Code Review workflow"
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