dmno-dev/Varlock Environment Loader
Load and validate environment variables using varlock schema validation
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | Directory containing .env.schema files | no | . |
| show-summary | Show a summary of loaded environment variables | no | true |
| fail-on-error | Fail the action if validation errors are found | no | true |
| output-format | Output format: "env" exports variables as environment variables/secrets, "json" outputs a single JSON blob | no | env |
Outputs
| name | description |
|---|---|
| summary | Summary of loaded environment variables |
| error-count | Number of validation errors found |
| json-env | JSON blob containing all environment variables (only available when output-format is "json"). This will contain all environment variables, including sensitive ones. Be careful. |