It seems that when fork is created in private GitHub (Github Enterprise) it's not possible to deploy whole infrastructure.
Even taking into account that terraform can be passed, ArgoCD can't deploy other resources.
According to configuration all GitHub connection parameters should be taken from argocd-github-creds secret in argocd namespace.
However we see that only part of parameters are taken like githubAppInstallationID, but some are ignored like url. As result argocd-repo pod trying to send requests with proper installation id but to the wrong public github server instead of private enterprise.
So we see following error in argocd-repo pod logs (ID has been hidden):
time="2025-10-20T13:33:18Z" level=error msg="finished unary call with code Unknown" error="could not refresh
installation id $ID's token: received non 2xx response status \"404 Not Found\" when fetching
[https://api.github.com/app/installations/$ID/access_tokens"]
(https://api.github.com/app/installations/$ID/access_tokens%22) grpc.code=Unknown grpc.method=GenerateManifest
grpc.service=repository.RepoServerService grpc.start_time="2025-10-20T13:33:17Z" grpc.time_ms=174.095
span.kind=server system=grpc
It seems that when fork is created in private GitHub (Github Enterprise) it's not possible to deploy whole infrastructure.
Even taking into account that terraform can be passed, ArgoCD can't deploy other resources.
According to configuration all GitHub connection parameters should be taken from argocd-github-creds secret in argocd namespace.
However we see that only part of parameters are taken like githubAppInstallationID, but some are ignored like url. As result argocd-repo pod trying to send requests with proper installation id but to the wrong public github server instead of private enterprise.
So we see following error in argocd-repo pod logs (ID has been hidden):