Review CI stages and jobs

Improve the generated CI config. Some important items:

  • Check if license_management still works
  • Check if dependency_scanning still works
  • Make lint job able to skip failed package job by using the needs entry
  • Same for test in relation to docs and pages in relation to any other than docs