Files
shockbot/action.yml

41 lines
1.1 KiB
YAML

name: "Shockbot Action"
description: "AI code review using Ollama"
author: "shockbot"
inputs:
prompt:
description: "Prompt to send to the agent (string or JSON payload)"
required: true
timeout:
description: "Maximum run duration (e.g., 10m, 1h30m). Default: 1h"
required: false
model:
description: "Ollama model to use. Default: qwen3.6:35b"
required: false
context_window:
description: "Ollama context window size in tokens. Default: 262144"
required: false
cwd:
description: "Working directory for the agent (defaults to GITHUB_WORKSPACE)"
required: false
push:
description: "Git push permission: disabled, restricted, or enabled. Default: restricted"
required: false
shell:
description: "Shell permission: disabled, restricted, or enabled. Default: restricted"
required: false
outputs:
result:
description: "Structured output from the agent when using output_schema"
runs:
using: "node24"
main: "entry.ts"
post: "entryPost.ts"
post-if: "always()"
branding:
icon: "code"
color: "blue"