This directory contains GitHub-specific configuration files for the study-platform repository.
BRANCH_PROTECTION_QUICKSTART.md
- 5-minute guide to enable branch protection
- Essential steps to get started
- Common workflow examples
- START HERE if this is your first time setting up branch protection
- Automatically assigns reviewers for specific files
- Ensures critical files get proper review
- Configured for Django project structure
- Edit this file to add/change code owners
- Standardized format for all pull requests
- Comprehensive checklist for contributors
- Security and testing considerations
- Automatically appears when creating PRs
- Automated testing on pull requests
- Code quality checks (flake8)
- Security scanning (bandit, safety)
- Django-specific system checks
- Runs automatically on all PRs to main
For more detailed information, see:
- Complete Guide: ../docs/BRANCH_PROTECTION.md
- Visual Workflow: ../docs/BRANCH_PROTECTION_WORKFLOW.md
- Setup Summary: ../docs/BRANCH_PROTECTION_SETUP_SUMMARY.md
- Contributing: ../CONTRIBUTING.md
Pull Request Created
↓
(PULL_REQUEST_TEMPLATE.md provides checklist)
↓
(CODEOWNERS assigns reviewers)
↓
(workflows/ci.yml runs automated checks)
↓
Branch Protection rules enforce:
- Required approvals
- Passing checks
- Resolved conversations
↓
Merge to main ✅
Edit CODEOWNERS:
# Make @username review all Python files
*.py @username
Edit workflows/ci.yml:
- Add new jobs
- Change Python version
- Add more security tools
- Adjust test commands
Edit PULL_REQUEST_TEMPLATE.md:
- Add project-specific sections
- Modify checklist items
- Add custom fields
All files in this directory follow security best practices:
- ✅ Minimal GitHub Actions permissions
- ✅ Security scanning enabled
- ✅ Code review required for changes
- ✅ Automated vulnerability checks
Questions? See the Quick Start Guide or open an issue!