This action gets the changed file for a given action run event. It is only using github API, not the git command line.
NB: Only push
and pull_request
workflow event are supported.
See action.yml
- uses: ./
id: files
with:
token: ${{ secrets.GITHUB_TOKEN }}
Required GITHUB_TOKEN or a repo scoped Personal Access Token
All the changed files.