Skip to content

Add Claude Code GitHub Workflow #9559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 11, 2025
Merged

Conversation

penalosa
Copy link
Contributor

@penalosa penalosa commented Jun 11, 2025

This PR adds the Claude Code GitHub app: https://docs.anthropic.com/en/docs/claude-code/github-actions. It was generated by running /install-github-app. See below for the auto-generated PR description:


🤖 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 documentation.

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

Copy link

changeset-bot bot commented Jun 11, 2025

⚠️ No Changeset found

Latest commit: 8541273

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

pkg-pr-new bot commented Jun 11, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@9559

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@9559

miniflare

npm i https://pkg.pr.new/miniflare@9559

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@9559

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@9559

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@9559

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@9559

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@9559

wrangler

npm i https://pkg.pr.new/wrangler@9559

commit: 8541273

@penalosa penalosa marked this pull request as ready for review June 11, 2025 15:47
@penalosa penalosa requested a review from a team as a code owner June 11, 2025 15:47
@penalosa penalosa added the skip-pr-description-validation Skip validation of the required PR description format label Jun 11, 2025
@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Jun 11, 2025
@penalosa penalosa added this pull request to the merge queue Jun 11, 2025
Merged via the queue into main with commit b23fee6 Jun 11, 2025
35 of 36 checks passed
@penalosa penalosa deleted the add-claude-github-actions-1749656392110 branch June 11, 2025 16:50
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-pr-description-validation Skip validation of the required PR description format
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants