I'd be more careful than 'fine' on the GitHub side. GitHub lets people add emails and the provider can hand you an address from the account. If you can't be sure it's verified, auto-linking by email is exactly the takeover path the flag warns about.
What I do:
allowDangerousEmailAccountLinking: trueon Google only.- For other cases, show a page: 'You already have an account with GitHub. Log in with GitHub, then connect Google in settings.' Linking while logged in is safe because you know who's asking.
Slightly more work, no guesswork about which provider verified what.