-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathaction.yml
More file actions
50 lines (40 loc) · 1.5 KB
/
action.yml
File metadata and controls
50 lines (40 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: 'pi GitHub Action'
description: 'Run the pi coding agent (pi.dev) in GitHub Actions workflows'
branding:
icon: 'terminal'
color: 'purple'
inputs:
github_token:
description: 'GitHub token for API access'
required: true
provider:
description: 'LLM provider (e.g. anthropic, openai, google, zai, etc.)'
required: true
model:
description: 'Model to use (e.g., claude-sonnet-4-5, claude-opus-4-7, gpt-4o, gemini-2.5-pro)'
required: true
token:
description: 'API token for the LLM provider'
required: true
thinking_level:
description: 'Thinking level (e.g. off, low, medium, high)'
required: false
default: 'off'
prompt:
description: 'Optional prompt to send to the agent. When provided, the trigger phrase is not required and the prompt is used as-is (useful for non-interactive workflows). Falls back to extracting the prompt from the triggering comment if not set.'
required: false
trigger:
description: 'Trigger phrase for the pi agent (e.g. /pi)'
required: false
default: '/pi'
extensions:
description: 'Custom Pi extensions to load (one per line). Supports npm packages (npm:package-name), git repos (git:github.com/user/repo), or local file paths.'
required: false
default: ''
load_builtin_extensions:
description: 'Whether to load built-in GitHub extensions (create_pull_request, update_pull_request, get_issue_or_pr_thread)'
required: false
default: 'true'
runs:
using: 'node24'
main: 'dist/index.js'