PR_26179_OWNER_012-gitignore-env-simplification#246
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7f808be1b2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| .env | ||
| .env.* | ||
| # Environment files | ||
| .env* |
There was a problem hiding this comment.
Keep .envrc files from being ignored
With this broader pattern, any dotfile beginning with .env is ignored; I checked git check-ignore --no-index .envrc and it reports .gitignore:52:.env*, so a developer adding a direnv .envrc or another non-dotenv config with that prefix would not see or commit it unless forced. The previous rules only covered .env and .env.*, so either keep the dot-delimited pattern or explicitly unignore .envrc if it should remain trackable.
Useful? React with 👍 / 👎.
PR_26179_OWNER_012-gitignore-env-simplification
Updated: 2026-06-28T03:47:16Z
Team: Owner
Branch: PR_26179_OWNER_012-gitignore-env-simplification
Scope: .gitignore only plus required reports and outcome ZIP. No runtime code or production pages changed.
Summary
.env*rule..env.example,.env.sample, and.env.template.Changed Files
Validation Matrix
Scope note:
.env.sampleand.env.templateare not currently tracked files in this repository, so the validation confirms the requested exception behavior without adding files outside the .gitignore-only scope.Validation
git diff --check: PASS.Blockers
None.