gh-action-get-changed-files
gh-action-get-changed-files copied to clipboard
GitHub Action that saves changed files as JSON for use by other actions.
GitHub Action: Get Changed Files
Saves lists of changed files in the outputs object and on the filesystem for use by other actions.
Workflow Config Example
- uses: lots0logs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
Inputs
token: TheGITHUB_TOKENsecret.
Outputs
All output values are a single JSON encoded array.
all: Added, deleted, renamed and modified filesadded: Added filesdeleted: Deleted filesrenamed: Renamed filesmodified: Modified files
JSON Files Created By This Action
${HOME}/files.json${HOME}/files_modified.json${HOME}/files_added.json${HOME}/files_deleted.json${HOME}/files_renamed.json