Skip to content

Path filtering should produce a commit ID based on the last commit to touch the filtered paths #643

@Tobias-08

Description

@Tobias-08

Hi,
we are using pathFilter to increment versions only for affected components in a monorepo structure. This is working fine regarding the height but the behavior of commit ID for non-public releases is different to what (at least) I expected.

Given a monorepo with /componentA and /componentB subdirectories and according pathFilter configurations. Assuming a commit in /componentA-subfolder:

  • Current behavior
    • height+1 and new commit ID for componentA (expected)
    • height+0 for componentB (expected), but also new commit ID (not expected)
  • Expected behavior
    • commit ID only changes if the commit falls in the range of the pathFilter

Does this make sense or am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions