Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Can you use pattern matching in targets.exclude? #1487

Open
thecristidima opened this issue Dec 10, 2024 · 1 comment
Open

[QUESTION] Can you use pattern matching in targets.exclude? #1487

thecristidima opened this issue Dec 10, 2024 · 1 comment

Comments

@thecristidima
Copy link

We would like to exclude all test projects in our repo and tried the following:

version: 3

paths:
  only:
    - ./Code

  exclude:
    - ./Code/**/*Tests

but we get the following error:

Aeson exception:
Error in $.paths.exclude[6]: InvalidRelDir "./**/*Tests"

Taking a look at https://github.com/fossas/fossa-cli/blob/master/docs/references/files/fossa-yml.md#fossayml it seems that we can use pattern matching for paths, but it's not used under paths.only/exclude, so I'm not quite sure if it works or not.

Copy link

Thank you @thecristidima for creating this issue. If this is in regards to a defect, product question or feature request: you should use our support portal at https://support.fossa.com to file a request, as you would receive more immediate support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant