jameslnewell/run-if-diff
Run a command if files are different
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| cwd | The directory containing the .git directory | no | . |
| since | The git ref to compare the current working directory to | no | — |
| file-path | The file paths (or glob) to filter the files by | no | — |
| file-status | The file statuses to filter the files by | no | — |
Outputs
| name | description |
|---|---|
| ref | The git ref |
| count | The number of files that have changed and match the filter |
| paths | The paths of files that have changed and match the filter |