A bunch of these fixes could be automated indeed, but I think you'd still always want a human review. Of course you could argue that's the reviewer's or project maintainer's job, but I think it's nicer not to spam them with potentially harmful pull requests.