jakubcieslik99/Export GitHub secrets & vars to environment variables & specified file

Use this action to export GitHub defined secrets and vars to the runner environment variables and a specified file

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
secretsJSON representation of the GitHub secrets: $ { { toJSON(secrets) } }, use provided placeholder or a boolean `false` value to skip.yes
varsJSON representation of the GitHub vars: $ { { toJSON(vars) } }, use provided placeholder or a boolean `false` value to skip.yes
hydrate-envBoolean indicating whether to fill GitHub runner environment variables with the GitHub secrets & vars, default: true.no
generate-fileFile name to export GitHub secrets & vars to, e.g.: .env, if not provided, will export to .env. If set to false, will not generate the file.no
includeOptional comma-separated list of secrets & vars to fill/export, e.g.: MYSQL_USER, MYSQL_PASSWORD.no
excludeOptional comma-separated list of secrets & vars to skip filling/exporting, e.g.: POSTGRES_USER, POSTGRES_PASSWORD.no
overwrite-script-envsBoolean indicating whether to overwrite existing environment variables defined directly in your GitHub Actions script in case of any match, default: true.no
append-script-envsOptional comma-separated list of GitHub runner environment variables defined directly in your GitHub Actions script to export to the file, e.g.: ENV, DIR.no
secrets-prefixOptional prefix for the secrets, e.g.: SECRET_, default: no prefix.no
vars-prefixOptional prefix for the vars, e.g.: VAR_, default: no prefix.no

no outputs