knu/List Changed Files

Get a list of changed files and filter them by a list of path patterns similar to .gitignore

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 4, 2024
License
BSD

Pinned Snippet

workflow.ymlSHA-pinned
uses: knu/changed-files@73b5cebc8e129b7bfa252c33598783388059c638 # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pathsPattern list in the .gitignore syntax to match against changed filesno
tokenno${{ github.token }}
namedescription
changed_filesA multi-line string containing the list of changed files.
changed_files_jsonA JSON string containing the list of changed files.
matched_filesA multi-line string containing the list of changed files matching `paths` patterns. Empty ("") if `paths` is not given.
matched_files_jsonA JSON string containing the list of changed files matching `paths` patterns. Empty ([]) if `paths` is not given.