feat: adapt pullfrog for gitea + ollama
This commit is contained in:
+8
-18
@@ -1,6 +1,6 @@
|
||||
name: "Pullfrog Action"
|
||||
description: "Execute coding agents with a prompt"
|
||||
author: "Pullfrog"
|
||||
name: "Shockbot Action"
|
||||
description: "AI code review using Ollama"
|
||||
author: "shockbot"
|
||||
|
||||
inputs:
|
||||
prompt:
|
||||
@@ -10,38 +10,28 @@ inputs:
|
||||
description: "Maximum run duration (e.g., 10m, 1h30m). Default: 1h"
|
||||
required: false
|
||||
model:
|
||||
description: "Model to use (e.g., anthropic/claude-opus). Overrides repo settings."
|
||||
description: "Ollama model to use. Default: qwen3.6:35b"
|
||||
required: false
|
||||
cwd:
|
||||
description: "Working directory for the agent (defaults to GITHUB_WORKSPACE)"
|
||||
required: false
|
||||
push:
|
||||
description: "Git push permission: disabled (read-only), restricted (push feature branches only — blocks pushes to the default branch, branch deletion, and tag pushes), or enabled (full push access). Default: enabled"
|
||||
description: "Git push permission: disabled, restricted, or enabled. Default: restricted"
|
||||
required: false
|
||||
shell:
|
||||
description: "Shell permission: disabled, restricted (filters secrets from env vars), or enabled. Public repos default to restricted for security; private repos default to enabled."
|
||||
description: "Shell permission: disabled, restricted, or enabled. Default: restricted"
|
||||
required: false
|
||||
output_schema:
|
||||
description: "JSON Schema (draft-07) for structured output validation. When provided, the action output becomes required and must conform to this schema."
|
||||
required: false
|
||||
token:
|
||||
description: "GitHub-provided token with job-scoped permissions. Do not set this unless you know what you are doing."
|
||||
required: false
|
||||
default: ${{ github.token }}
|
||||
|
||||
outputs:
|
||||
result:
|
||||
description: "It's set when the prompt explicitly requests it and is required when output_schema is provided; use it to capture actionable output for the next workflow step."
|
||||
description: "Structured output from the agent when using output_schema"
|
||||
|
||||
runs:
|
||||
using: "node24"
|
||||
main: "entry.ts"
|
||||
# Always-run post step persists best-effort state that must survive
|
||||
# cancellation, timeouts, and unhandled errors in the main step. Today's
|
||||
# only consumer: Codex auth.json refresh write-back. See wiki/codex-auth.md.
|
||||
post: "entryPost.ts"
|
||||
post-if: "always()"
|
||||
|
||||
branding:
|
||||
icon: "code"
|
||||
color: "green"
|
||||
color: "blue"
|
||||
|
||||
Reference in New Issue
Block a user