cv/pi-action

Invoke the pi coding agent on GitHub issues and PRs via comment triggers

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGitHub token for API access (issues, PRs, reactions, comments)yes
api_keyLLM provider API key (runtime-only; alternatively set provider-specific env vars like ANTHROPIC_API_KEY)no
trigger_phrasePhrase to trigger pi (e.g., @pi)@pi
allowed_botsComma-separated list of allowed bot usernames""
allowed_usersComma-separated GitHub usernames allowed to trigger pi. If set, users must be in this list.""
allowed_associationsComma-separated GitHub author associations allowed to trigger pi when allowed_users is emptyOWNER,MEMBER
timeoutExecution timeout in seconds1800
providerLLM provider (anthropic, openai, google, etc.)anthropic
modelModel IDclaude-sonnet-4-20250514
provider_base_urlBase URL for a single custom provider/model (e.g., https://inference-api.nvidia.com)no
provider_apiAPI type for the custom provider/modelnoopenai-completions
provider_api_keyProvider apiKey config value for custom providers; can be a literal key or env var nameno
provider_auth_headerAdd Authorization: Bearer <key> for custom provider requestsnofalse
model_nameDisplay name for the custom modelno
model_reasoningWhether the custom model supports reasoning/thinkingnofalse
model_inputComma-separated custom model input modalities (text or text,image)notext
model_context_windowContext window tokens for the custom modelno128000
model_max_tokensMax output tokens for the custom modelno16384
compat_supports_developer_roleWhether the OpenAI-compatible custom provider supports developer role messagesno
compat_supports_reasoning_effortWhether the OpenAI-compatible custom provider supports reasoning_effortno
prompt_templateCustom prompt template with placeholder variablesno
share_sessionUpload session.html and session.jsonl as a GitHub Actions artifact and link it in the response commentnotrue
session_artifact_nameGitHub Actions artifact name for shared session files; defaults to pi-session-<run_id>-<run_attempt>no""
output_modeHow to deliver results: comment (post to issue/PR) or output (set action outputs only)nocomment
promptDirect prompt for the agent (requires output_mode: output when no issue/PR context is available)no""
pr_numberPull request number to load explicitly (useful for workflow_dispatch)no""
namedescription
responseThe agent response text when output_mode is output
successWhether the agent succeeded (true/false) when output_mode is output
share_urlURL to the workflow run containing the session artifact, if session sharing is enabled