Repository navigation
chore: setup eslint-style repository labels and pr labeler - #46
Conversation
There was a problem hiding this comment.
Kuldeep2822k has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.
|
Warning Review limit reached
Next review available in: 15 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: Free Run ID: 📒 Files selected for processing (4)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
PR Summary by QodoConfigure repo labels and automatic PR labeling via GitHub Actions
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
Code Review by Qodo
1.
|
There was a problem hiding this comment.
Kuldeep2822k has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.
Setup ESLint-Style Repository Labels and Auto-Labeling
This PR introduces an automated, Infrastructure-as-Code (IaC) approach to managing repository labels and automatically tagging Pull Requests based on the files they modify.
🌟 Features
.github/labels.yml(e.g.,core,documentation,build,dependencies,release: major).sync-labels.yml) automatically synchronizes these labels to the repository whenever the file is updated.actions/labeler@v5to inspect files modified in a Pull Request..github/labeler.ymlto apply labels automatically. For example, changes insrc/**/*get thecorelabel, while changes inpackage.jsongetbuildanddependencies.🏗 Architecture
graph TD subgraph Label Sync Process A[.github/labels.yml] -->|Push to main| B(Sync Labels Workflow) B -->|Creates/Updates| C[(GitHub Repo Labels)] end subgraph PR Labeling Process D[New/Updated PR] --> E{PR Labeler Workflow} E -->|Reads rules from| F[.github/labeler.yml] F -->|Matches paths| C E -->|Assigns Labels to| D end🔒 Security
pr-labeler.ymlutilizespull_request_targetallowing it to safely assign labels on community forks.sync-labels.ymlexplicitly declaresissues: writeto manage labels regardless of default repo token restrictions.