Skip to content

GitHub Action that saves changed files as JSON for use by other actions.

License

Notifications You must be signed in to change notification settings

RepairShopr/gh-action-get-changed-files

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Outputs

All output values are a single JSON encoded array.

  • all: Added, deleted, renamed and modified files
  • added: Added files
  • deleted: Deleted files
  • renamed: Renamed files
  • modified: 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

About

GitHub Action that saves changed files as JSON for use by other actions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%