You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add branch protection and issues setup to template workflow (#10)
* feat: add self-disable step to template setup workflow
- Add final step to change alwaysApply from true to false after template initialization
- Prevents detailed template setup instructions from consuming context window space
- Ensures template setup rules are visible during one-time setup but hidden afterwards
- Maintains accessibility via reference in workflow.mdc if needed later
* feat(template): Add branch protection and issues setup to template workflow
- Add GitHub CLI commands to enable issues in new repos
- Include complete branch protection rules that match template repo
- Provide both CLI and manual setup instructions
- Document all protection settings for consistency across projects
- **Admin Enforcement**: Disabled (admins can bypass)
68
+
69
+
### Alternative: Manual Setup
70
+
1. Go to repository Settings → Branches
71
+
2. Add rule for `main` branch
72
+
3. Enable "Require a pull request before merging"
73
+
4. Set "Required number of approvals before merging" to 1
74
+
5. Enable "Require status checks to pass before merging"
75
+
6. Check "Require branches to be up to date before merging"
76
+
31
77
## After Template Initialization
32
78
Template initialization is complete after customizing the project files. TaskMaster, PRD creation, and git setup are separate workflows that require explicit user requests.
0 commit comments