aarcangeli/Load .env file

Read .env file and export variables to $GITHUB_ENV

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 20, 2026
Maintenance Recency
Stalelast commit Dec 2, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: aarcangeli/load-dotenv@2afd907c7bb1c0324d22a6192693213867e77443 # v1.1.0

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

namedescriptionrequireddefault
pathThe directory to find the '.env' file. Relative paths are resolved inside the workspace directory no.
filenamesOverride the name of the file to load. Multiple files are allowed. no.env
quietIf true, don't print variables to lognofalse
if-file-not-foundThe desired behavior if the .env is not 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 noerror
expandIf true, expand variables in the .env file. For example, if the .env file contains `FOO=bar` and `BAR=$FOO`, the value of `BAR` will be `bar`. nofalse

no outputs