chore: ignore .env.local and .env.*.local
Gitea Actions Runner Test / test-job (push) Successful in 0s
CI / check (push) Successful in 40s
CI / tests-integration (push) Successful in 2m35s
CI / tests-unit (push) Failing after 3m24s
CI / tests-ui (push) Successful in 4m17s
CI / preflight (push) Skipped
CI / deploy (push) Skipped
Gitea Actions Runner Test / test-job (push) Successful in 0s
CI / check (push) Successful in 40s
CI / tests-integration (push) Successful in 2m35s
CI / tests-unit (push) Failing after 3m24s
CI / tests-ui (push) Successful in 4m17s
CI / preflight (push) Skipped
CI / deploy (push) Skipped
load-env.ts reads .env.local before .env and gives it precedence, so a developer override file can hold real secrets. Only .env was ignored, so that file was one 'git add .' away from being committed.
This commit is contained in:
1 parent
80d7ae14ba
commit
1f9ad02410
1 file changed
+2
@@ -6,6 +6,8 @@ node_modules.prev/
|
||||
.next-staging/
|
||||
next-env.d.ts
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
*.tsbuildinfo
|
||||
src/generated/
|
||||
# Runtime avatar/badge imaging disk cache
|
||||
|
||||
Reference in new issue
Block a user