QAILA
DocsGuidesHow it worksSecurityCLISign in
On this page
  1. Before you start
  2. Make a runner token
  3. Add the secrets
  4. Add the workflow
  5. What the run tells your pipeline
  6. Keep usage in hand
  7. Next
Guides
  • Set up Qaila for your app
  • Run your first testers
  • Triage, fix and retest findings
  • Teach Qaila how your app should work
  • Ask Qaila before you change something
  • Test signed-in users and roles
  • Point testers at what matters
  • Send findings to your issue tracker
  • Bring your team in
  • Run Qaila every night in CI

Docs/Guides/Team

Run Qaila every night in CI

A run every night means each morning starts with findings from yesterday's changes. The runner works the same in a pipeline as on your machine. Only how it signs in to Qaila and to Claude is different.

15 minutesUses Claude Code

Before you start

  • The qaila/ folder committed, with .qaila/cloud.json (Set up Qaila for your app).
  • An Anthropic API key for the pipeline. Its Claude usage is billed to you by Anthropic, not by Qaila.
  • Somewhere the pipeline can reach the app: started in the job, or a staging address.

Make a runner token

Nobody signs in to a pipeline, so it uses a runner token instead. An owner or admin makes one in the project's Settings. Name it after where it's used, and give it an expiry date.

The Runner tokens card in Project settings: a field for the token's name, an expiry choice, a Make a token button, and a token called GitHub Actions.
A token works for this one project, and only as a runner. Runs it starts show its name on Qaila.

The token is shown once. Copy it straight into your pipeline's secrets.

Add the secrets

In GitHub, under the repository's Settings › Secrets and variables › Actions, add QAILA_TOKEN, ANTHROPIC_API_KEY, and each test-account variable your config names. Add them yourself rather than pasting them into a chat.

Add the workflow

Add a GitHub Actions workflow that runs Qaila every weeknight

Claude writes .github/workflows/qaila.yml for your app: how to start it in the job, and the secrets your config needs. It looks like this:

name: Qaila
on:
  workflow_dispatch:
  schedule:
    - cron: "0 2 * * 1-5"   # weekday nights

jobs:
  explore:
    runs-on: ubuntu-latest
    timeout-minutes: 120
    env:
      QAILA_TOKEN: ${{ secrets.QAILA_TOKEN }}
      ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
      # one line for each test-account variable your config names (env:NAME)
      QAILA_CUSTOMER_PASSWORD: ${{ secrets.QAILA_CUSTOMER_PASSWORD }}
    defaults:
      run:
        working-directory: qaila
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 24
      - run: npm install -g @qaila/cli @anthropic-ai/claude-code
      - run: qaila install-browser
      # Start your app here, or point the config at a staging address.
      - run: qaila preflight
      - run: qaila map
      - run: qaila run --out runs/ci-${{ github.run_id }} --budget 8 --label "CI ${{ github.sha }}"

Run it once by hand from the Actions tab and watch the run arrive on Qaila. If the browser won't start for want of system libraries, add npx playwright install-deps chromium before qaila install-browser. Other pipelines work the same way: install the two packages, set the same variables, run the same commands.

What the run tells your pipeline

Exit codeMeaning
0The run finished. Findings don't fail the job: they wait for your team to triage.
1The run couldn't be done: the environment check failed, there's no map, or the run itself failed.
2Qaila refused it: the plan's runs are used up, the workspace is read-only, or the runner needs updating.
3qaila retest only: a finding marked fixed is still there.

To hold a release until fixes are confirmed, add qaila retest as its own step: exit code 3 fails the job.

Keep usage in hand

--budget caps the whole run, and the project's budget per mission caps each mission (Set how far each mission goes). --max-missions keeps a run short, and the next run picks up what this one didn't cover. Each run counts towards your plan's runs a month, so a nightly run suits most teams better than one on every push.

Next

Day to dayTriage, fix and retest findingsDecide what matters, have Claude fix it, and let a fresh tester check each fix.
© 2026 QailaTerms · Privacy · hello@qaila.app