Action does not match folders starting with dot (.)
See original GitHub issueActual:
- if I have a change in a folder
src/.deployand matcher forsrc/**/*it would not be matched.
Expected:
- folders starting with dot should be matched as well.
It seems the issue is related to how Minimatch works. See https://github.com/isaacs/minimatch/issues/30 . Consider passing {dot: true} by default.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:14
- Comments:9
Top Results From Across the Web
grep ignores files starting with dot [duplicate]
From man grep : -d ACTION \n If an input file is a directory, use ACTION to process it. By default, ACTION is...
Read more >Match dot files recursively using regex - Stack Overflow
I started with: ^[.] But this does not match the case of long/path/here/.dotfile . Also it ...
Read more >4. Pattern Matching with Regular Expressions - Java ... - O'Reilly
Returns the character position in the string of the starting and ending characters that matched. groupCount(): Returns the number of parenthesized capture ...
Read more >glob - Greg's Wiki
It should be noted that when dotglob is enabled, * will match files like .bashrc but not the . or .. directories. This...
Read more >DOT Rule 49 CFR Part 40 Section 40.83
Subpart F - Drug Testing Laboratories § 40.83 How do laboratories process ... The specimen ID numbers on the specimen bottle and the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Today we were configuring labels in blockprotocol/blockprotocol and I was like ‘oh no not this dot problem again’ 😅
So here is the fix: https://github.com/actions/labeler/pull/316. It is non-breaking, just allows us to set the
dotinput:I hope it will become available for everyone soon! 🤞
How about adding a new action param to make the fix non-breaking?
Happy to work on the PR if anyone reading this comment has capacity to review it and cut a release. Alternatively, we can just add
{ dot: true }to minimatch and release version 4.Our current
.github/labeler.ymlin hashintel/hash is pretty long because of this issue:😔