trilom / file-changes-action

This action can be added, and you will get outputs of all of the files that have changed in your repository for you to use.
MIT License
167 stars 48 forks source link

add files_renamed documentation #136

Open 808sAndBR opened 2 years ago

808sAndBR commented 2 years ago

Type of Change

Resolves

Describe Changes

This will add clarity about the availability of files_renamed which I believe is causing the confusion people have voiced in #108 where it is not actually a bug, but just that it is not clear that this data is available. As far as I can tell (I don't actually know js/ts) the renamed files are getting added/processed here: https://github.com/trilom/file-changes-action/blob/a6ca26c14274c33b15e6499323aac178af06ad4b/src/FilesHelper.ts#L24-L30 and when I test trying to access the files_renamed object in my code that leverages this action it works as expected.

remisalmon commented 2 years ago

Thanks for opening this PR, outputs.files_renamed works as expected for me. Would be great to see this merged.

808sAndBR commented 2 years ago

Hi @trilom just noticed this still open and wanted to check if there is anything useful I can do on my end. Thanks!