Skip to main content
The pullfrog/pullfrog@v0 action behind every Pullfrog automation also works as a step in your own workflows. Run an agent inside a release, deploy or scheduled job, and hand its output to the steps that follow.
PR review, issue enrichment, addressing reviews and fixing CI are built-in features you turn on in the console. Write a custom workflow only for behavior the console does not cover.
A custom workflow fits when you want to:
  • Run an agent as one step in an existing pipeline, such as a release, deploy, nightly job or scheduled audit.
  • Feed the agent’s result into later steps: a deploy, a Slack message, a git tag or a release body.
  • Trigger on conditions the automations do not expose, such as specific labels, paths, schedules or manual dispatch inputs.
  • Keep the orchestration in version control next to your other workflows.

Inputs

Set exactly one of prompt or prompt_file. Every other input is optional.

Capturing agent output

The action has one output, result, for later steps to read. The agent sets it by calling the set_output tool with whatever you asked for: a string, a JSON object or a file path.

Example: release changelog

This release workflow has an agent draft the changelog from the commits since the last tag. The schema makes result a typed object, so the release step reads its fields with fromJSON(). The version bump, build and publish stay in your workflow.

Required permissions

The action mints its own short-lived GitHub App installation tokens through OIDC for everything it does on GitHub: pushing branches, posting comments, creating reviews and updating issues. It does not use your workflow’s GITHUB_TOKEN for any of it. The action needs only two permissions from your workflow: Extra scopes, such as contents: write for a step that pushes tags, go to the workflow’s GITHUB_TOKEN for the other steps in the job; the Pullfrog action does not use them. Set permissions: on the job rather than the workflow, so other jobs do not inherit them.

Run tracking

Pullfrog records every run of these workflows from the same OIDC token, so on Pro its token usage, cost and model appear on the console’s analytics page as Uncategorized runs. Failure emails and run diagnosis cover only the runs Pullfrog dispatches itself. A workflow that runs the action more than once, such as a matrix or one review per model, is still one run. Each Pullfrog step’s usage and model count separately, and the run shows the totals. The run’s status follows the Pullfrog steps’ own results, so a gate job that fails elsewhere in the workflow does not mark the run failed.