Skip to content

Expand template names when tracking inclusion

Matija Čupić requested to merge mc/bug/expand-short-template-names into master

What does this MR do and why?

Expands the short template names (e.g. Dependency-Scanning.gitlab-ci.yml) to full template names (e.g. Security/Dependency-Scanning.gitlab-ci.yml) before tracking their inclusion.

I used this opportunity to clean up the implementation which was left as a follow-up (#341071 (closed)) by removing the constant that manually converted template paths into event names and automating the tests around this.

Related #341629 (closed)

Related #341071 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Rémy Coutable

Merge request reports