Get names of deleted directories in the root folder, but exclude this directory if something was deleted inside it #1540
Replies: 1 comment 3 replies
-
Hi, @AliaksandrRyzhou you can test out the glob patterns using this site. Let me know if you need further assistance. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Please help me. I've been playing around for a few days with tj-actions/changed-files and have one problem.
I have the following catalog structure:
The idea is to get folder names with were deleted and folder names that have all_modified_files inside of themselves.
It's needed to know if we have to delete the chart or upgrade.
The problem is if I delete a
folder1
I'll see this folder name as the folder for an upgrade.And if I delete a
subfolder1
orsubfile1/file1
inside of afolder1
I'll see this folder name as a folder for deletion.I have the following steps:
I've been playing around with inputs
files
andfiles_ignore
and tried a bunch of cases but haven't found yet the best approach. Does it work the same as gitignore? What pattern do I need to make work?How can I monitor a folder deletion but ignore the deletion inside of it?
It's needed so that I can create two matrices after it. It works if I use all_changed_files but in this case, someone can change files inside
folder1
andfolder2
by deletion files, and the GitHub action won't see that the update is needed.Beta Was this translation helpful? Give feedback.
All reactions