actions-marketplace-validations/Mongo import files
Import json files into an existing MongoDB database
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| path | A file, directory or wildcard pattern that describes what to upload | yes | . |
| uri | MongoDB connection string | yes | "" |
| database | Database name | yes | "" |
| collection | Collection name | yes | "" |
| keep-collection | Do not clear the collection before importing new files. | no | false |
| if-no-files-found | The desired behavior if no files are found using the provided path. Available Options: warn: Output a warning but do not fail the action error: Fail the action with an error message ignore: Do not output any warnings or errors, the action does not fail | — | warn |
Outputs
no outputs