actions-marketplace-validations/Collect directories by contained files
Returns an array of directories that contain file(s) matching a glob pattern
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| files-glob | A glob representing the file(s) to search for | yes | — |
| search-directory | The directory to search (if not set, the root directory is used) | no | / |
| unique | Whether to return unique values when duplicates may be possible | no | true |
| return-basenames | Whether to return the directory base names in the return value | no | false |
Outputs
| name | description |
|---|---|
| directories | An array of parent directories that contain the specified file(s) |