Skip to content

Comments

Add Claude Code GitHub Workflow#307

Merged
slhck merged 4 commits intomasterfrom
add-claude-github-actions-1770564102245
Feb 8, 2026
Merged

Add Claude Code GitHub Workflow#307
slhck merged 4 commits intomasterfrom
add-claude-github-actions-1770564102245

Conversation

@slhck
Copy link
Owner

@slhck slhck commented Feb 8, 2026

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

slhck and others added 4 commits February 8, 2026 16:21
The auto-generated PR stripped out all project-specific setup (uv,
Python, ffmpeg) and allowed tools, which would prevent Claude from
running tests, linting, or type checking in CI.

Changes:
- Restore uv, Python 3.13, and ffmpeg installation steps
- Restore claude_args with allowed tools (pytest, ruff, mypy, etc.)
- Keep new syntax: plugin-based code review, updated docs URLs,
  pull_request trigger, read permissions (OAuth token handles writes)
- Fix commented path patterns to use *.py instead of *.ts/*.tsx

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The @claude mention workflow needs write access to contents,
pull-requests, and issues to create commits, comment, and respond.
The code review workflow needs pull-requests: write to post reviews.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@slhck slhck merged commit 4f2dc95 into master Feb 8, 2026
2 of 4 checks passed
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