Testing GitHub workflows locally – a study in Theory of Constraints
June 12, 2025
In my last post, I complained about my (and others’) flow being disrupted by institutionalized blockages — in that case, pull requests (PRs).
Often, when that happens, there are things you can do to improve the situation.
For example, let’s say (because it was the case) that I had to wait for an approved PR before I could test something — a GitHub Workflow, for instance. The workflow needed to be approved and merged into main
before I could run it in GitHub Actions.
Now imagine that I waited for approval, only to discover — over the weekend, when I was off — that my fix was wrong. I’d need to make a tiny change and then wait for approval all over again. Annoying, right?
Being someone who cares about flow, I wanted something better. What could I do so that, once my code was ready to...