Skip to content

How to use multiple exclusions in FileMatchingPatterns? #372

Answered by muiriswoulfe
TemekRoman asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @TemekRoman, thanks for using PR Metrics. I've taken a quick, provisional look and I think there might be an issue in the logic. I can definitely look into fixing this over the longer term. But I have a quick workaround for you now, to get you unblocked:

Using the following YAML should work:

FileMatchingPatterns: |
  **/*
  !**/{package-lock.json,packages.lock.json}

Let me know how you get on with this.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@muiriswoulfe
Comment options

@TemekRoman
Comment options

@muiriswoulfe
Comment options

@TemekRoman
Comment options

@muiriswoulfe
Comment options

Answer selected by TemekRoman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants