horlakz/Write .env file from secrets

Creates a .env file using provided secret inputs. Supports both automatic dumping of all secrets and explicit env vars.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
secrets_jsonJSON string of all secrets (use toJSON(secrets) to pass all secrets automatically)no
env_varsExplicit multiline KEY=VALUE pairs to write (can be used with secrets_json)no
exclude_varsComma- or newline-separated secret names to exclude from secrets_json auto-dump modeno
include_github_tokenSet to true to include the automatically provided GITHUB_TOKEN in secrets_json auto-dump modenofalse
file_pathPath where .env file should be created (default: .env)no.env

no outputs