Can't build docker. Asking for github.com fingerprint accept

We have started getting this today.

The authenticity of host ‘github.com (140.82.112.3)’ can’t be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
[+] Building 0.0s (0/0) docker:defaultcting (yes/no/[fingerprint])?

We worked around it.

ssh-keyscan github.com >> ~/.ssh/known_hosts

Just wanted to flag this as we didn’t change a thing and it suddenly blocked our flow.

I just answered a similar question in another topic. Use a User SSH Key and it’ll checkout as said user which in turn sets the known_hosts.