Verify-gated CI repair for GitHub Actions. Red build → edit in your repo → your verify-cmd exits 0 → optional draft PR.
Not a comment farm. Customer-hosted binary. BYO LLM key. We refuse to edit
.github/workflowsto fake green.
- uses: kramlipi/code-agent-action@v0
with:
expert: bug-fix
verify-cmd: pytest -q
publish: "true"
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
CODE_AGENT_LICENSE_KEY: ${{ secrets.CODE_AGENT_LICENSE_KEY }} # optional Team+Pin a release: @v0.1.3 or a commit SHA.
name: Fix with kramlipi
on:
workflow_run:
workflows: [CI]
types: [completed]
jobs:
fix:
if: github.event.workflow_run.conclusion == 'failure'
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
fetch-depth: 0
- uses: kramlipi/code-agent-action@v0
with:
expert: bug-fix
verify-cmd: pytest -q
publish: "true"
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}- uses: kramlipi/code-agent-action@v0
with:
expert: code-review
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}| Input | Default | Purpose |
|---|---|---|
expert |
bug-fix |
bug-fix · code-review · test-intel |
verify-cmd |
pytest -q |
Hard gate for bug-fix |
publish |
false |
Open draft PR when true |
base-branch |
main |
PR base |
version |
(latest) | Pin kramlipi/code-agent-binaries tag |
upgrade-url |
docs pricing | Free-cap CTA |
pr |
event PR # | For code-review |
| Secret / env | Required | Purpose |
|---|---|---|
GEMINI_API_KEY or OPENAI_API_KEY |
Yes | BYO LLM |
CODE_AGENT_LICENSE_KEY |
After Free CI quota | Team+ for production CI |
CODE_AGENT_EMAIL |
No | Explicit Free signup identity |
CODE_AGENT_INSTALL_ID |
No | Default github-actions:<repository_id> |
CODE_AGENT_SKIP_ACTIVATE |
No | Skip signup |
First 1000 Free runs need no key (limit remotely updatable). After that, set CODE_AGENT_LICENSE_KEY. Extra Free for design partners is granted only via license API admin (set-quota / grant_free_ci) — there is no client env bypass.
One org key may be used on multiple repos — we record that server-side and notify ops silently (jobs keep running).
GitHub runners are ephemeral — ~/.code-agent/profile.json is wiped each job. The Action pins CODE_AGENT_INSTALL_ID to the repository id and auto-registers a CI identity (or your CODE_AGENT_EMAIL / Team key) so signup is non-interactive.
- Community (Free) — evaluation / OSS caps
- Team — $49/org/mo
- Business — $199/org/mo
Docs: https://kramlipi.github.io/ · Support: [email protected]
- Subprocess
verify-cmdexit 0 is truth (LLM cannot override) - Workflow YAML edits forbidden
- Binary from public releases: kramlipi/code-agent-binaries
Apache-2.0 for this Action wrapper. Product commercial terms: https://kramlipi.github.io/