[Feature] An option to include old names of renamed files in deleted_files array #578
Closed
2 tasks done
Labels
enhancement
New feature or request
Is this feature missing in the latest version?
Is your feature request related to a problem? Please describe.
I'm working on a GitHub action workflow where I need a list of all the deleted files, right now the deleted_files output includes only the files which are completely removed and excludes the ones which are renamed. In many cases such as mine1, old names of the renamed files are considered deleted and utilised as such.
Right now, as a workaround I'm using
include_all_old_new_renamed_files
flag I'm usingall_old_new_renamed_files
to get the old names of the renamed files and later both the lists are combined in the execution script, but that process is not that straight forward.Firstly, I don't know why JSON option doesn't work on
all_old_new_renamed_files
array and everything is passed as one single string, then all different rename cases needs to be separated using the symbol passed asold_new_files_separator
parameter, after that old & new named needs to be separated using symbol passed asold_new_separator
parameterDescribe the solution you'd like?
I would suggest the solution with the following design
include_old_renamed_in_deleted
true
, the deleted files and old names of the renamed files are given as a combined output variableDescribe alternatives you've considered?
Right now the script utilising the deleted files list, I'm using the same script to combine two arrays of deleted files & renamed files into a single list. But the process is cumbersome as highlighted above
Anything else?
No response
Code of Conduct
Footnotes
Building documentation with docs as code, need to update search service (Algolia), about the pages which are removed from the content ↩
The text was updated successfully, but these errors were encountered: