Skip to content

Add Claude Code GitHub Workflow - #2

Merged
Guru107 merged 2 commits into
developfrom
add-claude-github-actions-1769100984808
Jan 22, 2026
Merged

Add Claude Code GitHub Workflow#2
Guru107 merged 2 commits into
developfrom
add-claude-github-actions-1769100984808

Conversation

@Guru107

@Guru107 Guru107 commented Jan 22, 2026

Copy link
Copy Markdown
Owner

🤖 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!


Note

Introduces automated Claude integrations via GitHub Actions.

  • Adds claude.yml to invoke Claude Code when @claude is mentioned in issues/PR comments or reviews; grants minimal read permissions plus actions: read for CI visibility
  • Adds claude-code-review.yml to run Claude Code Review on PR events using anthropics/claude-code-action@v1 with code-review plugin and a PR-scoped prompt
  • Both workflows use CLAUDE_CODE_OAUTH_TOKEN secret and checkout with shallow fetch

Written by Cursor Bugbot for commit 80dd3ab. This will update automatically on new commits. Configure here.

@Guru107 Guru107 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment thread .github/workflows/claude.yml
Comment thread .github/workflows/claude-code-review.yml
@Guru107
Guru107 merged commit 35c5807 into develop Jan 22, 2026
6 checks passed
@Guru107
Guru107 deleted the add-claude-github-actions-1769100984808 branch January 25, 2026 07:24
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