Shallow clone lies

A GitHub CI script at work checks who last edited a config file. If the author isn&rsquo;t the expected one, the build fails. Good guardrail, until it started lying. The script reported the wrong author: someone who never touched the file. The check failed, even though the right person had made the last edit. The setup The CI workflow uses actions/checkout with the default settings, then checks…