Conversation
It misses some features which implemented manually.
There was a problem hiding this comment.
Pull request overview
This PR removes the dependency on j178/prek-action and replaces it with explicit installation/execution steps inside the composite pre-commit action, adding caching and cache cleanup to cover missing features.
Changes:
- Install
prekvia a release installer script instead of usingj178/prek-action. - Add GitHub Actions cache for
~/.cache/prekand runprek cache gcafter execution. - Update Renovate regex management to track the new
PREK_VERSION: vX.Y.Zformat.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| pre-commit/action.yml | Replaces prek-action with manual install/run, adds caching and cache GC. |
| .github/renovate.json | Updates regex to detect PREK_VERSION in the action YAML. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
WalkthroughThe PR updates Renovate configuration to match version strings with Changes
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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.
Warning
CodeRabbit couldn't request changes on this pull request because it doesn't have sufficient GitHub permissions.
Please grant CodeRabbit Pull requests: Read and write permission and re-run the review.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@pre-commit/action.yml`:
- Around line 22-27: Replace the unsafe "curl | sh" in the "⚡ Install prek"
step: first curl the release artifact to a local file using the PREK_VERSION env
var, fetch the published SHA-256 checksum for that release, verify the
downloaded file's checksum (sha256sum -c or equivalent), and only then run the
installer script (sh ./prek-installer.sh); update the step that currently runs
curl -L
"https://github.com/j178/prek/releases/download/$PREK_VERSION/prek-installer.sh"
| sh to perform download, checksum verification, and execution in three explicit
commands.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: e48be694-124f-4ceb-89f7-c8ba5cf4cea1
📒 Files selected for processing (2)
.github/renovate.jsonpre-commit/action.yml
|
@coderabbitai approve |
✅ Actions performedComments resolved and changes approved. |
It misses some features which implemented manually.