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

*All* files must match pattern (instead of *any*) #141

Open
jfoley15 opened this issue May 11, 2023 · 2 comments
Open

*All* files must match pattern (instead of *any*) #141

jfoley15 opened this issue May 11, 2023 · 2 comments

Comments

@jfoley15
Copy link

jfoley15 commented May 11, 2023

Lets say my repo looks like this:

my_repo
│
├ sub_repo1
│   ├ README.md
│   └ other files...
│
└ sub_repo2
    └ other files...

I want to enforce a rule where all sub-repos will contain a top-level README.md file, otherwise failure. If I use the glob pattern like so:

with:
    files: "*/AUTHORS.txt"
    fails: true

it won't work because the file sub_repo1/README.md satisfies the rule. How can I make it so that the file must exist in ALL subrepos?

@codebydant
Copy link

Same problem for me

@codebydant
Copy link

I have tested the forked versions and there is one that has solved this issue

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

2 participants