berget-ai/AI Code Review (Berget)
AI-powered GitHub automation using pi coding agent with Berget AI support
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 30, 2026
- License
- None
Pinned Snippet
uses: berget-ai/ai-review-action@d574b67727e4b4dae58f024810aea83630c90031 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| api_key | API key for the model provider. Defaults to BERGET_API_KEY env var. | no | "" |
| pi_auth | Base64-encoded pi auth.json. Fallback if api_key is not set. OAuth tokens may expire. | no | "" |
| pi_model | Model to use (provider/model format) | no | berget/zai-org/GLM-5.2 |
| provider_base_url | Base URL for the LLM provider. Used with api_key to auto-generate models.json. | no | https://api.berget.ai/v1 |
| provider_name | Provider name to register in models.json (must match the prefix in pi_model). | no | berget |
| use_dora | Enable dora code intelligence (install, index, and use dora commands in review) | no | true |
| dora_version | Dora CLI version (latest or specific tag) | no | latest |
| scip_install | Command to install the SCIP indexer. Set to empty string to skip. | no | bun install -g @sourcegraph/scip-typescript |
| dora_pre_index | Commands to run after dora init but before dora index (e.g. install project deps) | no | "" |
| dora_index_command | Override the dora index command | no | dora index |
| project_lockfile | Path to your project lockfile (e.g. pnpm-lock.yaml, bun.lock). When set, node_modules is cached keyed on this file so dora_pre_index installs are skipped on cache hit. | no | "" |
| system_prompt | Path to a custom system prompt file (relative to repo root). Supports {base_branch} interpolation. | no | "" |
| review_template | Path to a custom review output template file (relative to repo root). | no | "" |
| extra_prompt | Additional instructions to append to review prompt | no | "" |
| obsidian_vault_repo | GitHub repo containing the Obsidian vault (e.g., owner/repo) | no | "" |
| obsidian_vault_name | Name of the vault for obi --vault flag (defaults to repo name) | no | "" |
| obsidian_token | GitHub token for cloning private vault repo (defaults to GITHUB_TOKEN for public repos) | no | "" |
| obsidian_prompt | Additional instructions for using obsidian/obi CLI | no | "" |
| exa_api_key | Exa AI API key for web search functionality | no | "" |
| auto_discover_skills | Discover and load skills from .agents/skills/ and .pi/skills/ in the repo. Default false — only manually loaded skills (dora, obi) are used. | no | false |
Outputs
no outputs