debian-mirror-gitlab/app/finders/security/license_compliance_jobs_finder.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
511 B
Ruby
Raw Normal View History

2021-01-29 00:20:46 +05:30
# frozen_string_literal: true
# Security::LicenseScanningJobsFinder
#
# Used to find jobs (builds) that are related to the License Management.
#
# Arguments:
# params:
# pipeline: required, only jobs for the specified pipeline will be found
# job_types: required, array of job types that should be returned, defaults to all job types
module Security
class LicenseComplianceJobsFinder < JobsFinder
def self.allowed_job_types
2021-04-17 20:07:23 +05:30
[:license_scanning]
2021-01-29 00:20:46 +05:30
end
end
end