Skip to content

Add Claude Code GitHub Workflow#3

Merged
coder11125 merged 2 commits into
mainfrom
add-claude-github-actions-1777694456469
May 2, 2026
Merged

Add Claude Code GitHub Workflow#3
coder11125 merged 2 commits into
mainfrom
add-claude-github-actions-1777694456469

Conversation

@coder11125

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!

@vercel

vercel Bot commented May 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
quasar-ai Ready Ready Preview, Comment May 2, 2026 4:02am

@coder11125 coder11125 merged commit d3e5bd7 into main May 2, 2026
3 checks passed
@coder11125 coder11125 deleted the add-claude-github-actions-1777694456469 branch May 2, 2026 04:03
chatgpt-codex-connector[bot]

This comment was marked as resolved.

@coder11125

Copy link
Copy Markdown
Owner Author

@claude What is this pr about

@claude

claude Bot commented May 2, 2026

Copy link
Copy Markdown

Claude finished @coder11125's task in 35s —— View job


What this PR is about

This PR (now merged) adds Claude Code AI integration to the QuasarAI repository via two GitHub Actions workflows.


What was added

1. .github/workflows/claude.yml — Interactive Claude Assistant

This workflow lets you interact with Claude directly in GitHub by mentioning @claude in any:

  • Issue comment
  • PR comment or review

When triggered, Claude reads the full context (PR diff, issue body, prior comments) and acts on your request — it can answer questions, write code, review changes, and more. That's exactly what's powering this response right now!

2. .github/workflows/claude-code-review.yml — Automatic PR Code Review

This workflow runs automatically whenever a PR is opened, updated, or marked ready for review. It uses a code-review plugin to analyze the PR changes and post review feedback — similar to how the Codex bot reviewed this PR.


How it works

You comment "@claude <your request>"
        ↓
GitHub Actions triggers the claude.yml workflow
        ↓
Claude Code reads the PR/issue context
        ↓
Claude responds by updating its comment in the PR

Security model

  • The Anthropic API token is stored as a GitHub secret (CLAUDE_CODE_OAUTH_TOKEN)
  • By default, Claude only gets read access to the repo contents, PRs, and issues
  • Write access (commits, branches) can be granted explicitly via allowed_tools in the workflow config

  • Gathering context
  • Reading workflow files
  • Formulating response

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