Conversation
…e environment and credential files
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Changelog previewThis is what the changelog entry will look like once this PR is merged. No conventional commits found in this PR. |
There was a problem hiding this comment.
2 issues found across 3 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name=".github/workflows/security.yml">
<violation number="1" location=".github/workflows/security.yml:193">
P1: This check only catches files named exactly `.env`, so tracked secret-bearing variants like `.env.local` or `.env.production` will slip through.</violation>
</file>
<file name=".gitignore">
<violation number="1" location=".gitignore:28">
P2: `.env*` also ignores `.env.example`, which this repo's setup docs rely on as the committed environment template.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
…stive secrets list
…e environment and credential files
security(ci): enforce strict secret scanning and .env file validation
|
jlc254
approved these changes
Apr 16, 2026
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.



… the environment and credential files
Summary by cubic
Added a security workflow that runs on all pushes, blocks committed
.envfiles (and secret-like templates), and runs heavy scans only ondev/main. Removed a checked-in.envand expanded.gitignoreto cover more secrets and local data.New Features
audit/codeqlonly ondev/main; always runcheck-envto fail on tracked.envand validate.env.*templates for real keys..env,.env.*(keep!.env.example),*.local,*.pem,*.key,*.crt,*.sqlite,*.dump,*.secret,secrets.json,auth.json,supabase/.temp/,supabase/.branches/; semantic PRs now allowsecuritytype.Migration
.envis tracked, remove it: git rm --cached ; ensure.env.exampleonly has placeholders.Written for commit d84fff2. Summary will update on new commits.