fix(action): install Claude Code only for Claude runtime#334
Merged
dcramer merged 2 commits intoMay 19, 2026
Conversation
Member
|
Thanks! Totally missed this with the recent Pi changes. Will get a couple minor cleanups in and land this |
Add the required exported-function JSDoc for the new runtime setup helper. Co-Authored-By: GPT-5 Codex <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion PR to issue #333
See writeup and evidence in the issue. I am more than happy to amend in particular to generalise, just let me know if you don't like implementation
Pi writeup below:
Summary
runtime = "claude"; Pi runtime runs skip Claude Code setup.Detail
action.ymlruntime = "pi"runtime = "claude", validate auth and install/find Claude Code on demand using the current install script/version/retry behaviourpnpm vitest run src/action/workflow/base.test.ts src/action/workflow/pr-workflow.test.ts src/action/workflow/schedule.test.ts src/action/triggers/executor.test.tspnpm typecheckpnpm lintpnpm build