-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
[BUG] Glob directory matching doesn't match #2273
Comments
Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience. |
Hi @alex8bitw, I believe this issue is due to a misunderstanding of the - name: Get changed files
id: changed-files
uses: tj-actions/changed-files@e9772d140489982e0e3704fea5ee93d536f1e275 # v45.0.1
with:
files: |
**/*hono*
dir_names: 'true'
dir_names_exclude_current_dir: 'true'
dir_names_max_depth: '3'
json: 'true' For some context on the intended use, see: #1447 |
I don't believe #1447 is related to this. I'm not looking for files changed, I'm only looking for directories that have changed. Neither works as intended. Not this:
Nor this:
|
I tested again, what actually happens is that files: returns absolutely nothing. |
@jackton1 please re-open the issue. files: doesn't work either. |
Hi @alex8bitw, can you provide the related logs and also include the filenames that were changed in the |
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
We get this output: [".github/workflows","nonprod/usdev/hono-usdev"]
Testing with https://codepen.io/mrmlnc/pen/OXQjMe
We see that it should work:
To Reproduce
Use **/ glob with the config above.
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-22.04
Expected behavior?
["nonprod/usdev/hono-usdev"]
Relevant log output
Has all relevant logs been included?
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: