Validate `License-Check` earlier in the pipeline
Problem to solve
We're waiting till pipeline is completed to validate License-Check rule. Although we have all the data to do this after license_scanning job is finished, we don't know this information until the pipeline is done.
Proposal
We can provide value to users earlier so they don't have to wait till the whole pipeline is finished (and for large projects, that could take some time).
We can update License-Check rule when license_scanning CI job is done.
Intended users
Personas are described at https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas/ -->
Further details
We'll need to extract updating of ApprovalMergeRequestRule.report_approver.license_management from SyncReportsToApprovalRulesService
Proposal
see further details
Permissions and Security
there is no change in permissions
Documentation
there is no need to update documentation
Availability & Testing
What does success look like, and how can we measure that?
Users get information about License-Check earlier while pipeline is running.
What is the type of buyer?
Ultimate
Links / references
/cc @xlgmokha