Security Guidelines
Security guidelines for Taskade docs contributors: never commit .env files, API keys, or tokens, use placeholder values, and clean git history if secrets leak.
What NEVER to Commit
Environment Variables & Secrets
# ❌ NEVER commit these files:
.env
.env.local
.env.production
.env.development
*.key
*.pem
*credentials*
*secrets*
config/local.json
config/production.jsonAPI Keys & Tokens
# ❌ Examples of what NOT to commit:
TASKADE_API_TOKEN=your_api_token_here
GITHUB_TOKEN=your_github_token_here
DATABASE_URL=postgres://user:password@host:5432/db
OPENAI_API_KEY=your_openai_key_hereImport Scripts & Temporary Data
Safe Practices
1. Use Template Files
2. Check Before Committing
3. Use Git Hooks (Recommended)
If You Accidentally Commit Secrets
Immediate Actions
Clean Git History
Pre-Commit Checklist
Repository Structure
Public Content (✅ Safe to commit)
Private/Hidden Content (❌ Never commit)
Emergency Contacts
Additional Resources
Last updated
Was this helpful?