-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add git hook to auto update dependencies #3365
base: canary
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Warning Rate limit exceeded@winchesHe has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 17 minutes and 45 seconds before requesting another review. 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. WalkthroughThe recent changes introduce Husky hooks for the post-merge and post-rebase Git events, along with a script to update dependencies. These changes automate the setup of Husky and ensure dependencies are updated whenever relevant Git operations occur, maintaining the integrity and consistency of the project's dependency tree. Changes
Sequence Diagram(s)sequenceDiagram
participant Developer
participant Git
participant Husky
participant Script as update-dep Script
Developer ->> Git: Merge/ rebase changes
Git ->> Husky: Trigger post-merge/ post-rebase hook
Husky ->> Script: Execute update-dep script
Script ->> Git: Check for changes in pnpm-lock.yaml
Script ->> Developer: Run `pnpm install --color` if changes detected
Tip Early access features
Note:
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (3)
- .husky/post-merge (1 hunks)
- .husky/post-rebase (1 hunks)
- .husky/scripts/update-dep (1 hunks)
Files skipped from review due to trivial changes (3)
- .husky/post-merge
- .husky/post-rebase
- .husky/scripts/update-dep
Closes #
📝 Description
Auto update dependencies when trigger git hooks
merge, rebase
Merge hook
CleanShot.2024-06-30.at.00.43.51.mp4
Pull(merge), rebase hooks
CleanShot.2024-06-30.at.00.48.04.mp4
⛳️ Current behavior (updates)
🚀 New behavior
💣 Is this a breaking change (Yes/No):
📝 Additional Information
Summary by CodeRabbit