Fork-based MRs can't trigger trusted tests
MRs coming from forks execute their pipelines in the context of the namespace the merge is coming from -- not the context it is going into. That is typically going to be someone's personal namespace.
In theory, this would be considered a non-trusted source and try to launch a trusted version of the pipeline to execute the tests. We need to figure out process for two points:
- The trigger-trusted-tests step is tagged as 'osdu-small'. That runner only executes in the OSDU namespace, so the job ends up stuck. We need a way to fall back to the general runners in this case.
- The target repository wouldn't have the commits in it, so the process of marking the commit as trusted would be trickier. Need to explore possible ways of doing this, and document at least one method for trusted committers.