Loading
ci/eval/compare/maintainers: refactor path matching
The only reason for the additional `lib.hasSuffix` check was, that the `lib.removePrefix` was broken - it was never adjusted when porting this from ofborg, so the relative path was wrong and no prefix ever removed, since no packages are in `ci/`. This additionally strips the leading `/`, so that `relevantFilenames` will then have paths starting with `pkgs/...`, similar to how git reports those paths in the `changedpathsjson` file. This allows simple equality comparison.