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.
Related
How many jobs can a matrix fan out to?GitHub caps a single matrix at 256 jobs per workflow run.How do I reproduce a CI failure locally?Match the runner image, then SSH into a live runner if the failure only appears in CI.Can I SSH into a runner?Yes. runnerhut supports opening a debug session on a running job with an authorised SSH key.Can I mix GitHub-hosted and managed runners?Yes. runs-on is per job, so different jobs in one workflow can use different providers.