• Mark Florian's avatar
    Check all pipeline jobs for security artifacts · 12d4d89f
    Mark Florian authored
    This corrects an oversight where the basic security MR widget was only
    checking for security artifacts from the first page of jobs returned by
    the API. This meant that, for a pipeline with a lot of jobs, the MR
    widget might incorrectly not be shown.
    
    This change makes sure that additional pages are requested until either
    the last page has been reached, or one or more security artifacts have
    been found.
    
    Addresses https://gitlab.com/gitlab-org/gitlab/-/issues/276440.
    12d4d89f
api.js 23.5 KB