ci: skip self-assignment#2
Conversation
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThe workflow for auto-assigning issues/PRs to jmrplens is updated to skip assignment when jmrplens is the author, and the gh api call is reformatted for readability. Flow diagram for updated auto-assign CI workflow conditionflowchart TD
A[GitHub event: issue or pull_request] --> B[Check event_name]
B --> C[Author login == jmrplens]
C -- Yes --> D[Skip auto-assign job]
C -- No --> E[Run auto-assign job]
E --> F[Call gh_api to assign jmrplens]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Warning Review limit reached
Next review available in: 23 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- The updated
gh apicommand no longer includes the-f assignees[]=jmrplensflag, so the workflow will stop assigning the issue/PR tojmrplens; consider restoring that argument after reformatting the command. - To make the self-assignment check more robust, consider using
github.actorinstead of the event payload user login, which better reflects the user who triggered the workflow.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The updated `gh api` command no longer includes the `-f assignees[]=jmrplens` flag, so the workflow will stop assigning the issue/PR to `jmrplens`; consider restoring that argument after reformatting the command.
- To make the self-assignment check more robust, consider using `github.actor` instead of the event payload user login, which better reflects the user who triggered the workflow.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
El workflow ahora no asigna si el autor es @jmrplens.
Summary by Sourcery
CI: