Block the pull request that breaks checkout.

A HeyBug check on every pull request, with the verdict and one plain reason.

01 GitHub

One step in your workflow.

Gate on the result

The action installs the CLI, runs your project and waits for the verdict. With blocking on, a failed run fails the job, so branch protection can stop the merge.

.github/workflows/heybug.yml
name: HeyBug
on:
  pull_request:
    types: [opened, synchronize, reopened]
jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
      - uses: heybug/action@[FULL-COMMIT-SHA]
        with:
          token: ${{ secrets.HEYBUG_TOKEN }}
          project: ${{ vars.HEYBUG_PROJECT }}
          target-url: ${{ vars.STAGING_URL }}
          blocking: true

02 Any CI

Exit codes work anywhere.

0 or 1

In GitLab CI or any other runner, call the CLI. It exits 0 when every test passes and 1 otherwise. A GitHub App also posts a PR check, and Slack, Jira and Linear can be alerted.

terminal
$ heybug ci run --project [PROJECT-ID]
$ echo $?
0

03 Details

Calm when tests are flaky.

  • Flaky checks

    Five runs label a test stable, flaky or broken. A quarantined test cannot fail the run, the verdict or the PR check.

  • Browser slots

    Free runs 2 browsers at once. Starter runs 5, Pro 15 and Team 40.

  • Billed once

    Flaky retries are capped at 3 attempts and billed once, on the longest attempt.

04 FAQ

Questions

Which CI systems?

GitHub has an Action and a GitHub App. Other CI runs the CLI. GitLab and Bitbucket integrations are not built yet.

Do forks get my secrets?

No. Pull requests from forks get no secrets, so the example skips them. Store the token as a repository secret.

Paste your app’s URL.

Free to start: $2 of usage a month, no card.

Join the beta