You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to detect changed files in a directory like files: dir1/**. The changed files are not matched. any_changed is false and the changed files are only listed under other_changed_files. I think this means they were detected as changed but didn't match the glob as expected.
I've reproduced the issue with v32.0.0, v32, v33, and v34.
It works as intended on v31.0.3.
To Reproduce
Action:
steps:
- uses: actions/checkout@v3with:
fetch-depth: 0
- name: Get new and changed files in the schema directoryid: schema-filesuses: tj-actions/changed-files@v34with:
files: | dir1/**
- run: echo '${{ toJSON(steps.schema-files.outputs) }}'
- name: Schema file added, copied, modified, or renamedif: steps.schema-files.outputs.any_changed == 'true'run: | gh pr review "$PR_URL" --comment --body "Please do not edit files in dir1."env:
PR_URL: ${{github.event.pull_request.html_url}}GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
I'm attempting to detect changed files in a directory like
files: dir1/**
. The changed files are not matched.any_changed
isfalse
and the changed files are only listed underother_changed_files
. I think this means they were detected as changed but didn't match the glob as expected.I've reproduced the issue with v32.0.0, v32, v33, and v34.
It works as intended on v31.0.3.
To Reproduce
Action:
Change a file at path
dir1/foo/file.txt
and push.What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
Expected any change in the directory to match.
Relevant log output
Anything else?
Sounds kind of similar to #450, but seems distinct.
Code of Conduct
The text was updated successfully, but these errors were encountered: