Why not put these .env variables inside the checks.yaml config file? What is the advantage of two config files with two separate syntaxes?
In this case it's a bit moot because the yaml file works like a database, but when you deploy this using, say, Docker or k8s, you can use a different method to configure environment variables and skip .env files.
If this is a goal, why is it a goal for only half the configuration?