One Pipeline to Rule Them All: Ensuring CodeQL Scanning Results and Dependency Scanning Results Go to the Intended Repository - Azure DevOps Blog
Briefly

In the realm of code and dependency scanning, the configuration of your pipeline is crucial to avoid publishing errors. Improper setup can lead to scan results being directed to the wrong repository, causing confusion and chaos. This article highlights the importance of having a well-structured pipeline, recommending the use of inferred publishing as the preferred method to ensure that results from CodeQL and Dependency Scanning are sent to the appropriate repository. By utilizing specific pipeline variables, developers can streamline the scanning process and maintain clarity.
In a world of complex repositories, your pipeline is akin to the One Ring, key for orchestrating scans but needing careful handling to avoid chaos.
The recommended solution for accurate result publishing is inferred publishing, which automates detection of the repository based on the working directory, maintaining order.
Read at Azure DevOps Blog
[
|
]