26 lines of YAML → $4,700 a year saved on a CI scan nobody saw the bill for
· 9 min read
26 lines of YAML → $4,700 a year saved.
That's what one GitHub Actions security scan was worth once it checked only the code each merge changed. Before the fix, it cost about $2 every time someone merged to the main branch. Nobody looks twice at $2, but at 48 merges a week it made up roughly three quarters of the repository's CI bill, mostly spent re-checking code that had been checked minutes earlier.
Now the same check costs $126 a year instead of $4,830. The fix was one pull request. The hard part was getting the cost in front of the people who write CI, a group that now includes coding agents, because none of them ever see the bill.

