That's fine if you have a single repo, but CI normally needs to access lots of different repos. GitHub's documentation describes why you need machine users for anything but the most trivial deployment.
https://developer.github.com/guides/managing-deploy-keys/
It's also what GitHub does internally.