tighten public repository hygiene#34
Draft
AIndoria wants to merge 2 commits into
Draft
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves public-repo hygiene by hardening ignore rules for local/runtime artifacts and sanitizing the checked-in environment template so it no longer contains private-looking values.
Changes:
- Sanitizes
src/.env.exampleby replacing key/token values and private LAN IPs with safe localhost placeholders. - Extends
.gitignoreto ignore additional.env.*files and local PR diff artifacts.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/.env.example |
Replaces private-looking secrets and internal network endpoints with safe placeholders (localhost, change-me tokens). |
.gitignore |
Adds broader ignore coverage for environment variants and local diff artifacts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+2
to
+3
| OPENAI_BASE_URL=https://openrouter.ai/api/v1 | ||
| OPENAI_API_KEY=sk-or-v1-dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
| OPENAI_API_KEY=sk-or-v1-example-replace-me |
Avoid secret-scanner false positives in the public environment template.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.gitingorefilename to.gitignore.Impact
Local credentials and generated runtime files are less likely to be committed accidentally.
Validation
git diff --checkAI disclosure
This PR is derived from custom code and repository work originally authored by Abe in the private, local Abiverse repository. Codex was used to replicate, sanitize, organize, and validate the changes for the public Volition repository.