You're using GitHub Enterprise Cloud with data residency in Europe, but you've configured the service connection as GitHub Enterprise Server.
Azure DevOps treats GitHub Enterprise Cloud and Server as separate endpoint types. If you selected the "GitHub Enterprise Server" option and provided the GitHub Cloud URL, Azure DevOps might not associate the webhook payload correctly. Try re-creating the service connection using the GitHub or GitHub Enterprise Cloud option (not Server), even if the repo is in a separate region.
Go to Azure DevOps -> Project Settings -> Service Connections -> + New service connection -> Select GitHub (not GitHub Enterprise Server)
- Authenticate using a GitHub OAuth or PAT with
repo
,workflow
,admin:repo_hook
scopes - Select your GitHub Enterprise Cloud repository (EU-hosted)
- Authorize the connection properly
Now Go to your pipeline in Azure DevOps -> Edit the pipeline -> Make sure the pipeline is bound to the repository via the new GitHub service connection and Confirm YAML is in the target repo.
Hope this helps!
Please Let me know if you have any queries.