Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Exclude some paths in workspaces #25836

@malomarrec

Description

@malomarrec

User problem

When creating batch changes in a monorepo, with workspaces defined with rootatLocationOf, I want to exclude some workspaces by name

For example, in soourcegraph-examples, the spec below returns these 3 workspaces, but I want to exclude the "example" directory
image

workspaces:
- rootAtLocationOf: package.json

Solutions considered

  • Add a rootAtQuery (instead of rootAtLocationOf).
    image

Impacted customers

https://github.com/sourcegraph/accounts/issues/6859

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions