Skip to content

Commit c70b2ad

Browse files
authored
chore: Add PR creation workflow with draft status requirements (#195)
## Summary Adds PR creation workflow guidelines to cursor rules, requiring PRs to be created as drafts and kept in draft status until all review comments are addressed. ## Changes - Added PR Creation Workflow section to `.cursor/rules/pull-requests-best-practices.mdc` - Workflow includes: - Creating PRs as draft initially - Waiting 1 minute for Gemini PR reviewer (plus 30s if needed) - Addressing all review comments - Keeping PRs in draft until all reviews are addressed - Only marking PR as ready after all reviews are completed ## Impact / Benefits - Ensures all PRs go through proper review process before being marked ready - Prevents premature PR approval by keeping them in draft status - Standardizes the workflow for waiting on automated reviews ## Files Modified - `.cursor/rules/pull-requests-best-practices.mdc`
2 parents 3a183eb + 114d7ed commit c70b2ad

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.cursor/rules/pull-requests-best-practices.mdc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,14 @@ Fixes #XXX (or Closes #XXX)
5454

5555
[Any additional context, testing notes, etc.]
5656
```
57+
58+
## PR Creation Workflow
59+
60+
When creating a pull request:
61+
1. Create the PR as a draft with proper title and description
62+
2. Wait 1 minute for Gemini PR reviewer to process and add comments
63+
3. Check for review comments
64+
4. If comments are not yet present, wait another 30 seconds
65+
5. Address any review comments from Gemini
66+
6. Keep the PR in draft status until all reviews are addressed
67+
7. Only mark the PR as ready for review once all review comments have been addressed

0 commit comments

Comments
 (0)