Skip to Content
Run locally (Beta)

Run locally (Beta)

Checked against Runnir v0.1.0-alpha.5 on 2026-12-03.

Run Locally… runs a workflow on your Mac with act  and your own container engine, so you can check a change before you push it and spend no GitHub Actions minutes. It is marked Beta everywhere in the app: act runs a workflow close to GitHub but not the same way. If a job fails only locally, check how it ran on GitHub before you change the workflow for it.

What you need

  • A Docker-compatible container engine that is running: OrbStack, Docker Desktop or Colima. It needs Docker Engine API 1.41 (Docker 20.10) or newer, and its current Docker context must not point at another computer.
  • Nothing else: Runnir bundles the version of act it was verified with (v0.2.97).

Runnir never installs a tool, starts an engine or switches your Docker context. Settings › Tools shows the bundled and installed act, the Docker CLI and the engine. Recheck looks again; Open next to a stopped engine opens it; Install with Homebrew… opens Terminal with the command for you to run (it runs only when you press Return there), and Install… opens the vendor’s instructions.

Use installed act in Settings › Tools is experimental and off by default. With it on, runs use an installed act of version 0.2.78 or newer; versions newer than the bundled one are labelled as not verified.

Run a scenario

  1. Click Run Locally… in the Workspace toolbar.
  2. Choose a Scenario: what a Pull request, a Push, a Merge into, a Tag (or Manual, Schedule) of this branch would start on GitHub. Branch and path filters are read as GitHub reads them, and the review says how many files changed against which base. Workflows that stay out are listed under NOT IN THIS SCENARIO with the reason.
  3. Under WORKFLOWS AND JOBS tick what to run. A job brings the jobs it needs. Ticked workflows run one after another, each with act and the scenario’s event.
  4. Read the rest of the review: ENGINE AND TOOLS, COMPATIBILITY (jobs that cannot run and why), the images to download, the secrets the workflow will not get, and WHAT THIS RUN CAN ACCESS.
  5. Tick I trust this workflow and repository and click Run Locally. Nothing starts before that.

If the workflow file has unsaved changes in the editor, Runnir warns you: act runs the file as it is saved on disk.

What a run can see

A container is not a security sandbox. Only run workflows you trust.

WorkspaceA copy of the repository made like actions/checkout: it includes your uncommitted changes and leaves out files in .gitignore. It is not mounted live.
NetworkOn, through a bridge network: act downloads images and actions, and workflow steps may send data.
Secrets and variablesOnly the values you set for the run. No GitHub token injected.
Limits4 CPUs, 8 GB of memory and a 30-minute timeout per workflow by default, kept per workspace. Change… in the review adjusts them, and the run is prepared again.
Never given to a runThe Docker socket, your home folder, Docker credentials, the GitHub token and your shell environment. A .env, .secrets, .vars, .input or .actrc file in the repository is not read.

Containers are removed when the run ends.

Secrets and variables

The Secrets and Variables section lists the names your workflows read (secrets.NAME, vars.NAME). Values you save there stay on this Mac, in the Keychain, and are used only for local runs; your GitHub secrets stay on GitHub. In the review you can type a value for one run, or save it, and Run with chooses whose values apply: an environment’s first, then the Repository’s. Import .env fills in values from a .env file of the repository (templates such as .example are left out; nothing is saved until you press Save). Showing a saved secret asks for Touch ID or your Mac’s password.

macOS jobs

A job on a macos-* runner runs on your Mac itself, in the macOS sandbox, after a warning and a confirmation of its own, and only if you tick it. It cannot read your home folder outside the repository or use your Keychain, but it uses this Mac’s Xcode and tools. For one run you can choose Run them without the sandbox, for this run only (xcodebuild test needs it) after a second warning.

Jobs that need GitHub

Jobs that only work in a run on GitHub (Dependency Review, attestations, Pages deploys, SARIF uploads) are shown as Only on GitHub and never run locally.

While it runs

The Local run tab shows each job’s state and live output, bounded to the last 5,000 lines (Follow output keeps the view at the end). Stop stops act and removes the run’s containers. When it ends, Run Again… reviews and starts it again, and Runnir can notify you (see notifications). A successful or failed run adds its billed minutes to SAVED on the Overview.

Quitting Runnir, closing the workspace’s last window or opening another workspace in that window while a run is going asks first. If you quit anyway, the run is shown as interrupted at the next launch and is never restarted.

Known differences from GitHub

  • A matrix whose runs-on is an expression of the matrix (runs-on: ${{ matrix.os }}) is marked not supported locally.
  • The first time parallel jobs set up the same new tool version, some may fail while installing it into the shared cache; the next run passes.
  • In a repository with extensions.worktreeConfig (left behind by git worktree and by coding agents) act cannot read the commit, and github.sha is empty in pull request runs.
  • A job whose container: or services: asks for more than a container should have (--privileged, extra capabilities, host namespaces or host path volumes) fails locally with act’s message.
  • Services and jobs that set their own container: image do not get Runnir’s CPU and memory limits.
  • Runs go one at a time, and so do the workflows of a run. Runnir limits parallel jobs to your Mac’s resources, so a small Mac runs jobs one by one.

The full list, and why, is in ADR 0006 .

Local runs have been verified end to end on OrbStack with small images, not yet with GitHub’s full runner images. Expect to pull large images the first time, and check results on GitHub.

Last updated on