Skip to content

Field notes

GitHub Actions fix guides

The worst CI problems are not the ones that fail. They are the ones that carry on: a secret that resolves to an empty string instead of erroring, a rate limit reported as a cache miss, a job that goes green having skipped the deploy. Each note takes one of those, explains why it is silent, and gives you a script that finds it through the API.

GitHub REST APIPython and Node.jsRead-onlyTests included
Browse all 4 scripts on GitHub Download them all as a zip Field guide PDF (4 fixes, 40 KB) Follow @allanninal Every fix on this page has a tested Python and Node.js script in the repo. Free, and MIT as stated in its README.
Why these are hard to spot

Every problem here degrades gracefully by design, which is correct behaviour and exactly what hides it. A missing cache should not break a build; an untrusted pull request should not receive your credentials. The cost is that the log line for the safe outcome and the log line for the broken one are the same, so you have to ask the API instead.

GitHub Actions

Something not covered here?

These are the ones I keep hitting. If yours is broken in a way none of them describes, tell me on LinkedIn — it is usually how the next note gets written.