What we used here was having the configuration for the application in the same repository with the application itself. That required us to do some changes in the directory structure.
Quoting below text in reference of 4-gitops application, where we are separating manifest folder from the app so as to prevent pipeline loop but its not true any longer coz github now supports ignoring nested paths if you read below text in my opinion.
Source

Thanks.