aarcangeli/Load .env file
Read .env file and export variables to $GITHUB_ENV
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 20, 2026
- Maintenance Recency
- Stalelast commit Dec 2, 2024
- License
- MIT
Pinned Snippet
uses: aarcangeli/load-dotenv@2afd907c7bb1c0324d22a6192693213867e77443 # v1.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| path | The directory to find the '.env' file. Relative paths are resolved inside the workspace directory | no | . |
| filenames | Override the name of the file to load. Multiple files are allowed. | no | .env |
| quiet | If true, don't print variables to log | no | false |
| if-file-not-found | The 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 | no | error |
| expand | If 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`. | no | false |
Outputs
no outputs