lots0logs / gh-action-get-changed-files

GitHub Action that saves changed files as JSON for use by other actions.
MIT License
88 stars 38 forks source link

Compare changes with respect to a specific branch #11

Open commandlinegirl opened 4 years ago

commandlinegirl commented 4 years ago

Hello,

Is it possible to list files changes comparing to a specific branch (e.g. main, develop, master)?

lots0logs commented 4 years ago

That's not possible currently. I guess it could be useful on push events. It wouldn't make sense for PR events since the PR should be opened against the branch you want to compare it to anyway. It'ts not something I have time to do myself, but I would accept a PR adding the functionality.

commandlinegirl commented 4 years ago

Thank you for the info!