trilom/File Changes Action

Creates outputs variables of files modified, added, or removed by a PR or Push.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
githubRepoThe github repository you want to compare changes from, defaults to the github.repository.no
githubTokenThe github action token will be used by default, if you want to use something different than you can pass it in here.yes${{ github.token }}
pushBeforePass in a specific sha to compare to as a before, required if using pushAfter. (push BASE payload after github.payload.before)no
pushAfterPass in a specific sha to compare to as an after, required if using pushBefore. (push HEAD payload after github.payload.after)no
prNumberPass in a specific PR number to get file changes from.no
outputChoose between json (default), or custom delimiter by passing a string, for example ',' for csv variable outputyesjson
fileOutputChoose between json (default), or custom delimiter by passing a string, for example ',' for csv file output. If you set as json the file output will be suffixed with .json, if you select ',' then the output will be .csv, else .txt will be the output.yesjson
namedescription
filesThe names all new, updated, and removed files
files_addedThe names of the newly created files
files_modifiedThe names of the updated files
files_removedThe names of the removed files