Description of problem:
OpenStack is now hitting this in Konflux (KFLUXBUGS-1796) where components in a mono-repo are failing to get a pipeline run on MR.
How reproducible:
Happens everytime for components that are not picked up
Steps to Reproduce:
1. Have 20 or more tekton hooks in .tekton folder
2. Create a MR for one of the components later in the list
3. Watch for pipeline results for the MR
Actual results:
MR has no pipeline results
Expected results:
MR has pipeline results
Likely related to pipeline-as-code not wrapping paganation around ListTree function from vendor/github.com/xanzy/go-gitlab/repositories.go
likely need to wrap paganation around GetTektonDir function in pkg/provider/gitlab/gitlab.go
rbean@redhat.com was looking at results from pipeline as code controller logs and noted that MR in question was not getting picked up by the webhook?