> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ironbee.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> IronBee (ironbee.ai) is an AI QA engineer: it verifies code changes against the running app and keeps the evidence. It is not related to the IronBee open-source web application firewall.
> The console is at https://console.ironbee.ai.
> Install the CLI with `npm install -g @ironbee-ai/cli`, sign in with `ironbee login`, and set up a project with `ironbee install`.
> In GitHub workflows, use the action as `ironbee-ai/ironbee-action@v1` and pass the `IRONBEE_API_KEY` secret as the `ironbee_api_key` input.
> In GitLab pipelines, include the component `gitlab.com/ironbee-ai/ironbee-gitlab/verify@v1`; it reads the `IRONBEE_API_KEY` CI/CD variable by default.
> In Bitbucket Pipelines, run the pipe `docker://ghcr.io/ironbee-ai/ironbee-bitbucket:v1` and pass `IRONBEE_API_KEY: $IRONBEE_API_KEY` and `BITBUCKET_OAUTH_TOKEN: $BITBUCKET_OAUTH_TOKEN` under its `variables:`.
> Console scenarios (https://docs.ironbee.ai/console/scenarios) and CLI saved scenarios (https://docs.ironbee.ai/cli/guides/scenarios) are separate features.
> For plans and prices, link to https://ironbee.ai/pricing; the website is the source of truth for them.

# Migrate from an earlier version

> What changed in v1.1 and v1.2 of the IronBee Action, and how to update a workflow written for an earlier version.

v1.1.0 of the IronBee Action adds a second place to run the verification, on IronBee, next to your runner. It also takes over the outcome of a run: it commits fixes, posts the report and passes or fails the job. A few inputs were renamed along the way. This page lists what to change in a workflow written for v1.0.

> [!WARNING]
>
> The `v1` tag points to the latest v1 release. A workflow that uses `ironbee-ai/ironbee-action@v1` already runs it, so update the inputs below.

***

## The version

```yaml theme={null}
- uses: ironbee-ai/ironbee-action@v1
```

`@v1` follows the latest release, so your workflow gets fixes without editing the file.

***

## Rename these inputs

GitHub ignores unknown inputs with only a warning, so the old names stop working without failing the run.

| v1.0 input | v1.1.0 input |
| - | - |
| `prompt` | `verification_prompt` |
| `model` | `claude_code_model` |
| `max_turns` | `claude_code_max_turns` |
| `claude_args` | `claude_code_args` |

***

## Name a target

In v1.0 the agent could work out how to reach your app from the repository. v1.1.0 needs a target, and stops before verifying anything when it has none. Set one of:

* `app_start_command` and `app_port` for an app that runs on the runner, usually with `app_install_command` and `app_build_command`
* `app_url` for an app that is already deployed at a public URL

See [Verifying your application](https://docs.ironbee.ai/github-action/guides/verifying-your-app.md).

***

## Choose where it runs

The new `verification_mode` input picks where the verification runs, and defaults to `auto`:

* A public repository runs **on IronBee**.
* A private repository with an Anthropic credential runs **on your runner**, as in v1.0.
* A private repository without one runs on IronBee, which needs the IronBee GitHub App on the repository.

To keep the v1.0 behavior everywhere, set `verification_mode: local`. See [Platform and local verification](https://docs.ironbee.ai/github-action/concepts/verification-modes.md).

An Anthropic credential is now optional. It's needed only on your runner, or to fix findings.

***

## What the action now does for you

* **It commits the fixes.** The agent only edits files. The action commits and pushes them: to the pull request branch on a pull request, otherwise to a new `ironbee/fix-<sha7>-<run_id>` branch with a pull request. A fix whose re-verification fails is not pushed.
* **It passes or fails the job.** The last step fails the job when the verification fails or ends without a verdict. If other jobs depend on this one, they now see that result.
* **It writes the job summary.** The report goes to the pull request comment and to the workflow run's summary.

***

## Changed defaults and outputs

* `ironbee_exclude_files` now defaults to `true`. IronBee's generated files (`.ironbee/`, `.claude/`, `.mcp.json`, `.gitignore`) stay out of the commits the action makes.
* `ironbee_collector_url` and `ironbee_console_url` are empty by default. The CLI picks the collector, and the action derives the console host from it.
* The `verdict` output can be `pass`, `fail`, `not_applicable` or `unknown`.
* New outputs: `mode`, `job_id` and `job_url`. `artifacts_url` is set only when the verification ran on your runner.
* Every `true`/`false` input also accepts `1`/`0`, `yes`/`no` and `on`/`off`. Any other value fails the run and names the input.

***

## What changed in v1.1.1

v1.1.1 needs no change to a v1.1.0 workflow:

* **No duplicate report.** When the repository is connected through the [IronBee GitHub App](https://docs.ironbee.ai/integrations/github.md), IronBee publishes a run on IronBee on the pull request itself. The action then posts no report comment, and keeps the report in the job summary. The new `platform_publishes` output says which happened.
* **Your app's telemetry.** `app_start_command` and `app_restart_command` run with `IRONBEE_COLLECTOR_URL` and `IRONBEE_API_KEY` in their environment, so an app whose OpenTelemetry exporter reads them sends its traces and logs to the verification run.

***

## What changed in v1.2.0

v1.2.0 changes what some v1.1 workflows do. Check these against yours:

* **Fixing on your runner follows `verification_apply_fix`.** With `verification_apply_fix: false`, or a comment without `--fix`, a run on your runner now reports what it finds and changes no file. To keep fixing there, leave `verification_apply_fix` at `true`, the default.
* **A commit holds only the fix.** Only the files the fix changed are committed. On your runner, the action commits only after a verification failed and the agent verified again. With `ironbee_exclude_files: false`, the setup files go in a fix commit, and a run that commits no fix commits no setup.
* **A scheduled run reads the repository's visibility.** With `verification_mode: auto`, a schedule on a private repository with an Anthropic credential now runs on your runner, as other events do. Set `verification_mode: platform` to keep it on IronBee.
* **The reachability request sends your headers.** On IronBee, the request before the run carries `app_headers` and `app_secret_headers`, so a bypass header gets a protected preview past it. It no longer follows a redirect: it logs where the redirect leads. See [Protected deployments](https://docs.ironbee.ai/github-action/guides/verifying-your-app.md#protected-deployments).
* **The restart after a fix rebuilds.** On IronBee, the default restart stops the app with everything it started, then runs `app_build_command` and `app_start_command` again.
* **A push on your runner verifies every commit in it**, from the push's `before` commit, as on IronBee.
* **Comment commands are stricter.** A comment that only starts with the command, such as `/ironbee-verify.`, runs nothing. A `--fix` that the workflow doesn't apply gets a one-line note in the report. See [Verify from a pull request comment](https://docs.ironbee.ai/github-action/guides/comment-trigger.md).
* **Local mode works in a subdirectory.** `working_directory` can point below the repository's root on your runner too.
* **The evidence keeps each agent's logs.** The artifact holds each session whole, with each agent's `verdict.json` and `actions.jsonl` under `sessions/<id>/agents/<agentId>/`.

***

## Before and after

```yaml v1.0 theme={null}
- uses: ironbee-ai/ironbee-action@v1.0.0
  with:
    ironbee_api_key: ${{ secrets.IRONBEE_API_KEY }}
    anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
    prompt: 'Focus on the checkout flow'
    max_turns: '30'
```

```yaml v1.1 theme={null}
- uses: ironbee-ai/ironbee-action@v1
  with:
    ironbee_api_key: ${{ secrets.IRONBEE_API_KEY }}
    anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
    verification_mode: local
    verification_prompt: 'Focus on the checkout flow'
    claude_code_max_turns: '30'
    app_install_command: npm ci
    app_build_command: npm run build
    app_start_command: npm run start
    app_port: 3000
```

***

## Next steps

> [card] [Configuration](https://docs.ironbee.ai/github-action/configuration/configuration.md)
>
> Every input and output in v1.

> [card] [How it works](https://docs.ironbee.ai/github-action/concepts/how-it-works.md)
>
> What happens in a run, from the plan to the report.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.