GitHub Code quality Releases

Env vars used in code but missing from .env.example

Part of the Env & config hygiene check · fix arrives as a pull request

What it is

The code reads environment variables that do not appear in .env.example, so the documented list has drifted from the real one.

Why it matters

A partially accurate example file is worse than none — people trust it, set up what it lists, and hit failures from the variables it omits.

How to fix it

Add the missing variables to .env.example. Keeping a startup schema that declares every variable makes the example file generatable, so the two cannot drift apart again.

Run them all on your app

Connect your repo and your live services with read-only scopes. The first scan is free, and nothing changes without your approval.