Skip to content

[ci] Allow Claude GitHub Action to run pnpm check and tests#12302

Merged
petebacondarwin merged 1 commit intomainfrom
claude-perms
Feb 5, 2026
Merged

[ci] Allow Claude GitHub Action to run pnpm check and tests#12302
petebacondarwin merged 1 commit intomainfrom
claude-perms

Conversation

@penalosa
Copy link
Copy Markdown
Contributor

@penalosa penalosa commented Jan 30, 2026

Updates the Claude GitHub Action workflow to:

  • Set up pnpm and Node.js with caching
  • Install dependencies
  • Allow Claude to run pnpm check and pnpm test:ci --filter <package>
  • Add custom instructions to ensure tests are always run with --filter to avoid running the entire monorepo's test suite

  • Tests

    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because: CI workflow configuration change
  • Public documentation

    • Cloudflare docs PR(s):
    • Documentation not necessary because: Internal CI tooling change

Open with Devin

@penalosa penalosa requested a review from a team as a code owner January 30, 2026 13:20
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jan 30, 2026

⚠️ No Changeset found

Latest commit: ba72b06

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.

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
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional flags.

Open in Devin Review

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jan 30, 2026

create-cloudflare

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

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

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

@cloudflare/workers-editor-shared

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

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@12302

wrangler

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

commit: ba72b06

anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
allowed_tools: "Bash(pnpm check),Bash(pnpm test:ci*)"
custom_instructions: |
When running tests, ALWAYS use the --filter flag to run tests for a specific package only.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What if the change is in a leaf package?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

What do you mean?

@github-project-automation github-project-automation Bot moved this from Untriaged to Approved in workers-sdk Feb 4, 2026
@petebacondarwin petebacondarwin merged commit 482cb5d into main Feb 5, 2026
44 of 45 checks passed
@petebacondarwin petebacondarwin deleted the claude-perms branch February 5, 2026 13:52
@github-project-automation github-project-automation Bot moved this from Approved to Done in workers-sdk Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants