NOT MAINTAINED.
Github Action that outputs files that have changed in this branch.
Requires use of actions/checkout v2+. That versions checks out a branch instead of a detached head.
Since the files are output as a single string, you must (I think) use xargs
to
pass them into a CLI tool.
For example::
- name: ESLint changed files
run: echo ${{ steps.changed-files-ui.outputs.files }} | xargs -t node node_modules/.bin/eslint
if: steps.changed-files-ui.outputs.files