GitLab License scanning no longer uses `License-Scanning.gitlab-ci.yml`
The current .gitlab-ci.yml
is invalid due to inclusion of Security/License-Scanning.gitlab-ci.yml
, which was deprecated in GitLab 17.0 (May 2024).
# .gitlab-ci.yml, lines 7 to 10
include:
- template: SAST.gitlab-ci.yml
- template: Dependency-Scanning.gitlab-ci.yml
- template: Security/License-Scanning.gitlab-ci.yml
This caused the pipeline failure in !58 (merged).
Problem is, the new approach doesn't support Kotlin yet.
Links
- Deprecate License Scanning CI templates - GitLab 17.0 (May 2024) - Deprecations and removals by version | GitLab Docs
- New approach: License scanning of CycloneDX files | GitLab Docs
- Suggestion from a GitLab Team member to a similar post | GitLab Forum
Edited by Yukai Chou