knu/List Changed Files
Get a list of changed files and filter them by a list of path patterns similar to .gitignore
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 4, 2024
- License
- BSD
Pinned Snippet
uses: knu/changed-files@73b5cebc8e129b7bfa252c33598783388059c638 # v1.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| paths | Pattern list in the .gitignore syntax to match against changed files | no | — |
| token | — | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| changed_files | A multi-line string containing the list of changed files. |
| changed_files_json | A JSON string containing the list of changed files. |
| matched_files | A multi-line string containing the list of changed files matching `paths` patterns. Empty ("") if `paths` is not given. |
| matched_files_json | A JSON string containing the list of changed files matching `paths` patterns. Empty ([]) if `paths` is not given. |