Skip to content
/ utils Public

Use prek-action instead of manual download#832

Merged
5ouma merged 1 commit intomainfrom
refactor-pre-commit-prek-action
Mar 25, 2026
Merged

Use prek-action instead of manual download#832
5ouma merged 1 commit intomainfrom
refactor-pre-commit-prek-action

Conversation

@5ouma
Copy link
Owner

@5ouma 5ouma commented Mar 25, 2026

Use the original one for more reliability.

Copilot AI review requested due to automatic review settings March 25, 2026 13:34
@coderabbitai
Copy link

coderabbitai bot commented Mar 25, 2026

Warning

Rate limit exceeded

@5ouma has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 1 minutes and 37 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a83ecccb-4c6b-466f-9fb6-90579565d0d6

📥 Commits

Reviewing files that changed from the base of the PR and between 77f9235 and 7e31e9d.

📒 Files selected for processing (2)
  • .github/renovate.json
  • pre-commit/action.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor-pre-commit-prek-action

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added 🐙 GitHub Actions Common GitHub Actions updates 🚸 pre-commit Check the code with pre-commit hooks labels Mar 25, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the pre-commit composite action to use the official j178/prek-action instead of manually downloading/bootstrapping prek, aiming for a more reliable setup.

Changes:

  • Replace the manual curl | sh prek installation with j178/prek-action.
  • Reorder steps to set up Go before running prek via the action.
  • Update Renovate’s custom regex manager to track the new prek-version field.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
pre-commit/action.yml Switches to j178/prek-action and passes prek args/version via action inputs.
.github/renovate.json Updates Renovate regex manager to find the prek version from action.yml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@5ouma 5ouma force-pushed the refactor-pre-commit-prek-action branch from ba1654b to b78deda Compare March 25, 2026 13:38
coderabbitai[bot]
coderabbitai bot previously approved these changes Mar 25, 2026
Use the original one for more reliability.
@5ouma
Copy link
Owner Author

5ouma commented Mar 25, 2026

@coderabbitai approve

@coderabbitai
Copy link

coderabbitai bot commented Mar 25, 2026

✅ Actions performed

Comments resolved and changes approved.

@5ouma 5ouma merged commit f7b032e into main Mar 25, 2026
4 of 5 checks passed
@5ouma 5ouma deleted the refactor-pre-commit-prek-action branch March 25, 2026 13:40
@5ouma 5ouma bot mentioned this pull request Mar 25, 2026
@5ouma 5ouma removed the 🐙 GitHub Actions Common GitHub Actions updates label Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚸 pre-commit Check the code with pre-commit hooks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants