Add an option to ignore failure when dependency scanning has nothing to do

Problem to solve

We are using a base CI template for all of our project, including dependency scanning.

The goal is to reduce the time setting up the CI on each project.

If a project does not have dependency to scan, the CI is always under warning: nexylan/ci!2 (closed)

It would be great if we can disable failure if the job has nothing to do. Or make it the default behavior like it's done for SAST and Code Quality jobs.

Intended users