-
Notifications
You must be signed in to change notification settings - Fork 0
chore: add auto-project workflow #10
Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryAdded GitHub Actions workflow to automatically add issues and PRs to the RequestNetwork project board when opened. The workflow uses a reusable workflow from the organization's
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant GitHub
participant AutoProjectWorkflow
participant ReusableWorkflow
participant ProjectBoard
alt Issue Opened
User->>GitHub: Opens new issue
GitHub->>AutoProjectWorkflow: Trigger (issues.opened)
AutoProjectWorkflow->>ReusableWorkflow: Call add-to-project.yml@main
ReusableWorkflow->>ReusableWorkflow: Check if PR has linked issue
ReusableWorkflow->>ProjectBoard: Add issue to project (PROJECT_TOKEN)
ProjectBoard-->>GitHub: Issue added successfully
else Pull Request Opened
User->>GitHub: Opens new PR
GitHub->>AutoProjectWorkflow: Trigger (pull_request.opened)
AutoProjectWorkflow->>ReusableWorkflow: Call add-to-project.yml@main
ReusableWorkflow->>ReusableWorkflow: Check if PR has linked issue
alt No linked issue
ReusableWorkflow->>ProjectBoard: Add PR to project (PROJECT_TOKEN)
ProjectBoard-->>GitHub: PR added successfully
else Has linked issue
ReusableWorkflow-->>GitHub: Skip (issue already tracked)
end
end
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 file reviewed, 1 comment
|
|
||
| jobs: | ||
| add-to-project: | ||
| uses: RequestNetwork/.github/.github/workflows/add-to-project.yml@main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Using @main means this workflow will automatically use the latest version of the reusable workflow, which could introduce breaking changes or unexpected behavior without notice.
| uses: RequestNetwork/.github/.github/workflows/add-to-project.yml@main | |
| uses: RequestNetwork/.github/.github/workflows/add-to-project.yml@v1.0.0 |
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/auto-project.yml
Line: 11:11
Comment:
**style:** Using `@main` means this workflow will automatically use the latest version of the reusable workflow, which could introduce breaking changes or unexpected behavior without notice.
```suggestion
uses: RequestNetwork/.github/.github/workflows/add-to-project.yml@v1.0.0
```
How can I resolve this? If you propose a fix, please make it concise.
Adds workflow to automatically add issues and PRs to the project board.
Uses the reusable workflow from RequestNetwork/.github.