falti/Dotenv Action

Load variables from .env file

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 29, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: falti/dotenv-action@fff81fa3263fb96221c521b5e526e57c0c56d760 # v1.2.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
paththe path to the .env file (including file name)yes.env
log-variableswhether to log the variables to output or notnofalse
mask-variableswhether to mask the variables as secrets or notnofalse
export-variableswhether to export the variables to the environment or notnofalse
export-variables-prefixprefix to add to the exported variablesno""
keys-caseTransform keys case to lower, upper or keep as it is with bypassnolower
ensure-existsFail the action when .env file is not found at path.notrue
namedescription
genericThis command will have generic output variables based on .env