Files
xiaoxia-saas/.gitignore
T
Security Audit Bot 1015bf2b13
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
fix(security): 移除敏感环境文件的版本追踪并清理硬编码Token
- 从版本控制中移除 .env.production 和 .env.staging(git rm --cached)
- 更新 .gitignore:移除 .env.staging 的例外规则,所有 .env 环境文件不再提交
- scripts/ci_failure_check.sh:硬编码 Gitea API Token 改为环境变量 GITEA_API_TOKEN
- scripts/auto_merge_prs.sh:硬编码 Gitea API Token 改为环境变量 GITEA_API_TOKEN

这是对 PR#53 的重新提交,补充了之前遗漏的脚本中硬编码凭证清理。
2026-06-28 09:20:55 +08:00

52 lines
541 B
Plaintext

# Node / frontend
node_modules/
.next/
out/
dist/
coverage/
# Python / backend
.venv/
venv/
.venv-ci-root/
__pycache__/
.pytest_cache/
.mypy_cache/
.pytype/
ruff_cache/
*.pyc
# Env / secrets
.env
.env.local
.env.development
.env.production
.env.staging
!.env.example
# OS / editor
.DS_Store
Thumbs.db
.vscode/
.idea/
# Logs / temp
*.log
tmp/
temp/
# Build / runtime artifacts
build/
.runtime/
# SQLite databases
*.db
*.sqlite
*.sqlite3
# Tracker temp files
tracker_tasks.json
# Schema metadata snapshot
schema-metadata-snapshot.json