automatically detect .env file in directory
Act version
0.2.55
Feature description
It will be good it it automatically detects the env file in current directory and loads it
Is this normal behaviour of Github Actions?
If not, I think it's better to use some special named .env for act to avoid unexpected behaviour when writing workflows.
Well, using a special name is also a good idea, I don't think GitHub actions do this as pushing .env files is of course a bad decision. But for local development it could be a good feature i guess
Loading the file .env is default behavior and is working for me.
Is this issue that it somehow doesn't work for you?
Obviously if you want to use secrets instead of env the name is .secrets by default.
@ChristopherHX Yes, the .secret file is automatically detected. Good