When filtering changed files to components (
|
if strings.HasPrefix(change, component) { |
) the paths are matched on a sub-string. This sometimes mismatches components if they share a common sub-string (e.g.
my-component and
my-component-v2).
The correct way is to split the path to individual segments and look for a sub-list.
This is also the cause of issue fixed by #18.