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] dir_names = true not returning directories with changed files #598
Labels
bug
Something isn't working
Comments
Thanks for reporting this issue, don't forget to star this project to help us reach a wider audience. |
@discordianfish Have you tried using? - name: Get changed files
uses: tj-actions/changed-files@v29.0.0
id: changed-files
with:
files: dir/**
dir_names: "true"
|
I have the same problem since upgrading to v29. - name: Get changed helm chart files
id: changed-files-helm
uses: tj-actions/changed-files@v29.0.0
with:
base_sha: ${{ steps.last_successful_commit.outputs.commit_hash }}
dir_names: 'true'
files: |
helm-charts/** It returns the correct files in v28, but none in v29 |
Merged
@arthurk @discordianfish This bug has been fixed in the latest patch release. |
thanks for the quick fix, everything works again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
Using:
It correctly detects the following changed files:
But setting
dir_names = true
returns no changed files. Also trieddir_names = "true"
without it making a difference.To Reproduce
Should be reproducable using these steps:
and then modifying files in dir//file
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
I expect steps.changed-files.outputs.all_changed_files to be set to:
Relevant log output
No response
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: