Files
awoooi/.gitignore
Your Name 439c432c7c
All checks were successful
Code Review / ai-code-review (push) Successful in 54s
security: 清除 .claude/settings.json 洩漏的 Gitea API token
問題:
.claude/settings.json 被 git 追蹤,內含 15 處 Gitea API token
(2fa33d4e...,由 Claude Code bash history 自動記錄產生)

修復:
1. 將 token 全數替換為 REDACTED_GITEA_TOKEN(15 處)
2. 將 .claude/settings.json 加入 .gitignore,防止再次追蹤

需要同步行動:
- 請在 Gitea 撤銷 token 2fa33d4e6d8ef1806c18875ed6fec216c8a10e78
- 歷史 commit 中仍含 token(無法 rewrite 公開 history)

2026-05-04 ogt + Claude Sonnet 4.6

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 14:08:08 +08:00

96 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# =============================================================================
# AWOOOI - .gitignore
# =============================================================================
# 依賴套件
node_modules/
.pnp
.pnp.js
yarn.lock
package-lock.json
# 測試與建置產物
coverage/
.next/
out/
build/
dist/
.turbo/
# Playwright 測試產物 (動態生成,不需版本控制)
**/playwright-report/
**/test-results/
**/.auth/
# 保留 Phase 19 參考截圖
!apps/web/test-results/phase19/
# Python
__pycache__/
*.py[cod]
*$py.class
.Python
*.so
.venv/
venv/
ENV/
# 環境變數與機密 (絕對不能進 Git)
.env
.env.*
.env.local
.env.*.local
!.env.example
!apps/**/.env.example
*.pem
*.key
secrets/
# 日誌
npm-debug.log*
yarn-debug.log*
.pnpm-debug.log*
*.log
# 編輯器設定
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
.idea/
*.swp
*.swo
# 系統檔案
.DS_Store
Thumbs.db
# Workspace 檔案 (本地使用,不需提交)
*.code-workspace
# Kubernetes 機密
*-secret.yaml
*-secrets.yaml
# SQLiteHARD_RULES 禁止,必須用 PostgreSQL
*.db
*.sqlite
*.sqlite3
# 暫存檔案
tmp/
temp/
*.tmp
# AI Tools & Agents (本地使用,不需提交到 Git)
# 防止 Claude Code worktrees 干擾 CI/CD checkout
.claude/worktrees/
.claude/scheduled_tasks.lock
.cursor/
.agents/memory/
playwright-mcp/
tsconfig.tsbuildinfo
.superpowers/
.aider*
!.aiderignore
.claude/settings.local.json
.claude/settings.json