Skip to content

Workflows

How do I cancel superseded runs?

Quick answer

Set a concurrency group keyed on the ref with cancel-in-progress: true.

The detail that matters

This is the single highest-value cost optimisation in GitHub Actions, and it is three lines.

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.